소스 검색
Added arm64 architecture support in python-build for macOS (#1775)
* Update python-build with arm64 architecture
pull/1806/head
Anton Petrov
5 년 전
committed by
GitHub
No known key found for this signature in database
GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일과
6개의 추가작업 그리고
1개의 파일을 삭제
-
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" ;; |
|
|
|
|