Skip to content

Commit

Permalink
Merge pull request #522 from xichen1/fix_m1_makefile
Browse files Browse the repository at this point in the history
Fix m1 Support Issue in #521
  • Loading branch information
xichen1 authored Mar 25, 2023
2 parents 6fc4d91 + 5017917 commit 676839f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ YELLOW := $(shell tput -Txterm setaf 3)
RESET := $(shell tput -Txterm sgr0)
ARCH := $(shell uname -m)

# set the arm64 ARCH to amd64 for compatibility reason
ifeq ($(ARCH), arm64)
ARCH := amd64
endif

#Set the source of PIP in docker agent image
PIP=pip.conf.bak

Expand All @@ -46,6 +51,7 @@ DOCKER_BASE_x86_64=python:3.6
DOCKER_BASE_ppc64le=ppc64le/python:3.6
DOCKER_BASE_s390x=s390x/python:3.6
DOCKER_BASE_arm64=python:3.6
DOCKER_BASE_amd64=python:3.6
DOCKER_BASE=$(DOCKER_BASE_$(ARCH))
BASE_VERSION ?= $(ARCH)-$(VERSION)

Expand Down

0 comments on commit 676839f

Please sign in to comment.