Commit 784e45f2 authored by Andrew Murray's avatar Andrew Murray
Browse files

Python 3.10 only has the universal2 installer

parent 84358c8b
......@@ -165,7 +165,7 @@ function pyinst_fname_for_version {
# creates intel only wheels by default. When PLAT=universal2
# we set the env variable _PYTHON_HOST_PLATFORM to change this
# default.
if [ "$(uname -m)" == "arm64" ]; then
if [ "$(uname -m)" == "arm64" ] || [ $(lex_ver $py_version) -ge $(lex_ver 3.10.0) ]; then
if [ "$py_version" == "3.9.1" ]; then
echo "python-${py_version}-macos11.0.${inst_ext}"
else
......
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