summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2022-11-18 07:50:07 +0200
committermattip <matti.picus@gmail.com>2022-11-18 07:50:07 +0200
commitc9355a696175fb5d1b7117d65de1959dac1635cd (patch)
tree8d1c071bdcba728259e13090881dc15dc561663a /tools
parent441b3de21317c8d4bca8e6c6d90a70214417aa71 (diff)
downloadnumpy-c9355a696175fb5d1b7117d65de1959dac1635cd.tar.gz
explicitly set MACOSX_DEPLOYMENT_TARGET=10.9 before build, cleanup redundant stanza
Diffstat (limited to 'tools')
-rw-r--r--tools/wheels/cibw_before_build.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/wheels/cibw_before_build.sh b/tools/wheels/cibw_before_build.sh
index ad76b330f..febd75c37 100644
--- a/tools/wheels/cibw_before_build.sh
+++ b/tools/wheels/cibw_before_build.sh
@@ -36,6 +36,8 @@ elif [[ $RUNNER_OS == "Windows" ]]; then
fi
if [[ $RUNNER_OS == "macOS" ]]; then
+ # Make sure this is no lower than the one in MacPython/openblaslibs
+ export MACOSX_DEPLOYMENT_TARGET=10.9
# Install same version of gfortran as the openblas-libs builds
if [[ $PLATFORM == "macosx-arm64" ]]; then
PLAT="arm64"