From 9e03d1b62ef015748917687ff8e3f154067f6061 Mon Sep 17 00:00:00 2001 From: Anton Petrov Date: Sat, 9 Jan 2021 19:54:49 +0300 Subject: [PATCH] Added arm64 architecture support in python-build for macOS (#1775) * Update python-build with arm64 architecture --- plugins/python-build/bin/python-build | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/python-build/bin/python-build b/plugins/python-build/bin/python-build index b1c12898..043cc4f1 100755 --- a/plugins/python-build/bin/python-build +++ b/plugins/python-build/bin/python-build @@ -995,7 +995,12 @@ build_package_activepython() { anaconda_architecture() { case "$(uname -s)" in - "Darwin" ) echo "MacOSX-x86_64" ;; + "Darwin" ) + case "$(uname -m)" in + "arm64" ) echo "MacOSX-arm64" ;; + * ) echo "MacOSX-x86_64" ;; + esac + ;; "Linux" ) case "$(uname -m)" in "armv7l" ) echo "Linux-armv7l" ;;