Skip to content

Commit 6565550

Browse files
committed
Revert "ENH: Bump macoOS x86 osx target to 11.0"
This reverts commit d6197eb.
1 parent bb0dfaf commit 6565550

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ documentation for more information on building wheels by hand.
8585
ITKPythonPackage currently supports building wheels for the following platforms and architectures:
8686
- Windows 10 x86_64 platforms
8787
- Windows 11 x86_64 platforms
88-
- MacOS 11.0+ x86_64 platforms
88+
- MacOS 10.9+ x86_64 platforms
8989
- MacOS 11.0+ arm64 platforms
9090
- Linux glibc 2.17+ (E.g. Ubuntu 18.04+) x86_64 platforms
9191
- Linux glibc 2.28+ (E.g. Ubuntu 20.04+) aarch64 (ARMv8) platforms

scripts/macpython-build-module-wheels.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,14 @@ for VENV in "${VENVS[@]}"; do
7272
echo "Python3_EXECUTABLE:${Python3_EXECUTABLE}"
7373
echo "Python3_INCLUDE_DIR:${Python3_INCLUDE_DIR}"
7474

75-
osx_target="11.0"
7675
if [[ $(arch) == "arm64" ]]; then
7776
plat_name="macosx-11.0-arm64"
77+
osx_target="11.0"
7878
osx_arch="arm64"
7979
build_path="${SCRIPT_DIR}/../ITK-${py_mm}-macosx_arm64"
8080
else
81-
plat_name="macosx-11.0-x86_64"
81+
plat_name="macosx-10.9-x86_64"
82+
osx_target="10.9"
8283
osx_arch="x86_64"
8384
build_path="${SCRIPT_DIR}/../ITK-${py_mm}-macosx_x86_64"
8485
fi

scripts/macpython-build-wheels.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,12 @@ DELOCATE_PATCH=${VENV}/bin/delocate-patch
5252

5353
build_type="Release"
5454

55-
osx_target="11.0"
5655
if [[ $(arch) == "arm64" ]]; then
56+
osx_target="11.0"
5757
osx_arch="arm64"
5858
use_tbb="OFF"
5959
else
60+
osx_target="10.9"
6061
osx_arch="x86_64"
6162
use_tbb="ON"
6263
fi
@@ -97,7 +98,7 @@ for VENV in "${VENVS[@]}"; do
9798
plat_name="macosx-11.0-arm64"
9899
build_path="${SCRIPT_DIR}/../ITK-${py_mm}-macosx_arm64"
99100
else
100-
plat_name="macosx-11.0-x86_64"
101+
plat_name="macosx-10.9-x86_64"
101102
build_path="${SCRIPT_DIR}/../ITK-${py_mm}-macosx_x86_64"
102103
fi
103104
if [[ ! -z "${MACOSX_DEPLOYMENT_TARGET}" ]]; then

0 commit comments

Comments
 (0)