Skip to content

allow arm64 and universal2 in get_distutils_platform #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 30, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gfortran_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function get_distutils_platform {
# downstream projects
local plat=$1
case $plat in
i686|x86_64|intel|aarch64|s390x|ppc64le) ;;
i686|x86_64|arm64|universal2|intel|aarch64|s390x|ppc64le) ;;
*) echo Did not recognize plat $plat; return 1 ;;
esac
local uname=${2:-$(uname)}
Expand All @@ -40,7 +40,7 @@ function get_distutils_platform_ex {
local plat=$1
local mb_ml_ver=${MB_ML_VER:-1}
case $plat in
i686|x86_64|intel|aarch64|s390x|ppc64le) ;;
i686|x86_64|arm64|universal2|intel|aarch64|s390x|ppc64le) ;;
*) echo Did not recognize plat $plat; return 1 ;;
esac
local uname=${2:-$(uname)}
Expand Down