Commit 4378c0be authored by Andrew Murray's avatar Andrew Murray
Browse files

Check IS_OSX instead of PLAT in install_pypy

parent f6b46e77
...@@ -440,19 +440,18 @@ function install_pypy { ...@@ -440,19 +440,18 @@ function install_pypy {
# sets $PYTHON_EXE variable to python executable # sets $PYTHON_EXE variable to python executable
local version=$1 local version=$1
case "$PLAT" in if [ -n "$IS_OSX" ]; then
"x86_64") suffix="linux64";; suffix="osx64"
"i686") suffix="linux32";; else
"darwin") suffix="osx64";; case "$PLAT" in
"ppc64le") suffix="ppc64le";; "x86_64") suffix="linux64";;
"s390x") suffix="s390x";; "i686") suffix="linux32";;
"aarch64") suffix="aarch64";; "ppc64le") suffix="ppc64le";;
*) if [ -n "$IS_OSX" ]; then "s390x") suffix="s390x";;
suffix="osx64"; "aarch64") suffix="aarch64";;
else *) echo unknown platform "$PLAT"; exit 1;;
echo unknown platform "$PLAT"; exit 1 esac
fi;; fi
esac
# Need to convert pypy-7.2 to pypy2.7-v7.2.0 and pypy3.6-7.3 to pypy3.6-v7.3.0 # Need to convert pypy-7.2 to pypy2.7-v7.2.0 and pypy3.6-7.3 to pypy3.6-v7.3.0
local prefix=$(get_pypy_build_prefix $version) local prefix=$(get_pypy_build_prefix $version)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment