瀏覽代碼

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
父節點
當前提交
9e03d1b62e
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 6 行新增1 行删除
  1. +6
    -1
      plugins/python-build/bin/python-build

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

Loading…
取消
儲存