Unverified Commit 36294d47 authored by Matthew Brett's avatar Matthew Brett Committed by GitHub
Browse files

Merge pull request #438 from isuruf/x86_64_thin

Build x86_64 thin wheel by default with py3.10
parents b35c219f b58a1320
...@@ -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
......
...@@ -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" ])
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