Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
ce0d6eaa
Unverified
Commit
ce0d6eaa
authored
Jul 01, 2021
by
Isuru Fernando
Committed by
GitHub
Jul 01, 2021
Browse files
Clarify that intel only installer can create universal2 wheels
parent
9064bacc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
osx_utils.sh
osx_utils.sh
+4
-0
No files found.
osx_utils.sh
View file @
ce0d6eaa
...
@@ -159,6 +159,10 @@ function pyinst_fname_for_version {
...
@@ -159,6 +159,10 @@ function pyinst_fname_for_version {
# Use the universal2 installer if we are on arm64
# Use the universal2 installer if we are on arm64
# universal2 installer for python 3.8 needs macos 11.0 to run on
# universal2 installer for python 3.8 needs macos 11.0 to run on
# and therefore x86_64 builds use the intel only installer.
# and therefore x86_64 builds use the intel only installer.
# Note that intel only installer can create universal2 wheels, but
# 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"
]
;
then
if
[
"
$py_version
"
==
"3.9.1"
]
;
then
if
[
"
$py_version
"
==
"3.9.1"
]
;
then
echo
"python-
${
py_version
}
-macos11.0.
${
inst_ext
}
"
echo
"python-
${
py_version
}
-macos11.0.
${
inst_ext
}
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment