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
36294d47
Unverified
Commit
36294d47
authored
Nov 03, 2021
by
Matthew Brett
Committed by
GitHub
Nov 03, 2021
Browse files
Merge pull request #438 from isuruf/x86_64_thin
Build x86_64 thin wheel by default with py3.10
parents
b35c219f
b58a1320
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
osx_utils.sh
osx_utils.sh
+6
-0
tests/test_osx_utils.sh
tests/test_osx_utils.sh
+7
-0
No files found.
osx_utils.sh
View file @
36294d47
...
@@ -539,6 +539,12 @@ function wrap_wheel_builder {
...
@@ -539,6 +539,12 @@ function wrap_wheel_builder {
else
else
(
macos_arm64_cross_build_setup
&&
$@
)
(
macos_arm64_cross_build_setup
&&
$@
)
fi
fi
elif
[[
"
${
PLAT
:-}
"
==
"x86_64"
]]
;
then
if
[[
"
$(
uname
-m
)
"
==
"x86_64"
]]
;
then
(
macos_intel_native_build_setup
&&
$@
)
else
(
macos_intel_cross_build_setup
&&
$@
)
fi
else
else
$@
$@
fi
fi
...
...
tests/test_osx_utils.sh
View file @
36294d47
...
@@ -68,3 +68,10 @@
...
@@ -68,3 +68,10 @@
# Test pkg-config install
# Test pkg-config install
install_pkg_config
install_pkg_config
function
echo_host_platform
{
echo
$_PYTHON_HOST_PLATFORM
}
# Make sure `_PYTHON_HOST_PLATFORM` is set when building x86_64 thin wheel
(
PLAT
=
"x86_64"
;
MB_PYTHON_OSX_VER
=
"10.9"
;
[
"
$(
wrap_wheel_builder echo_host_platform
)
"
==
"macosx-10.9-x86_64"
])
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