1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-10 12:33:48 -05:00

Added arm64 architecture support in python-build for macOS (#1775)

* Update python-build with arm64 architecture
This commit is contained in:
Anton Petrov
2021-01-09 19:54:49 +03:00
committed by GitHub
parent 82ef0424d6
commit 9e03d1b62e

View File

@@ -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" ;;