8000 Merge pull request #5 from isuruf/arm64 · MacPython/gfortran-install@a2a1a0d · GitHub
[go: up one dir, main page]

Skip to content

Commit a2a1a0d

Browse files
authored
Merge pull request #5 from isuruf/arm64
allow arm64 and universal2 in get_distutils_platform
2 parents 2644c04 + f5f4172 commit a2a1a0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gfortran_utils.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function get_distutils_platform {
1414
# downstream projects
1515
local plat=$1
1616
case $plat in
17-
i686|x86_64|intel|aarch64|s390x|ppc64le) ;;
17+
i686|x86_64|arm64|universal2|intel|aarch64|s390x|ppc64le) ;;
1818
*) echo Did not recognize plat $plat; return 1 ;;
1919
esac
2020
local uname=${2:-$(uname)}
@@ -40,7 +40,7 @@ function get_distutils_platform_ex {
4040
local plat=$1
4141
local mb_ml_ver=${MB_ML_VER:-1}
4242
case $plat in
43-
i686|x86_64|intel|aarch64|s390x|ppc64le) ;;
43+
i686|x86_64|arm64|universal2|intel|aarch64|s390x|ppc64le) ;;
4444
*) echo Did not recognize plat $plat; return 1 ;;
4545
esac
4646
local uname=${2:-$(uname)}

0 commit comments

Comments
 (0)
0