Skip to content

Commit 64fda29

Browse files
committed
ENH: Update Macos deployment target to 15.0
Better support for C++17 per discussion: InsightSoftwareConsortium/ITK#5369 Drop documented support for Intel mac wheels.
1 parent ae0684d commit 64fda29

File tree

4 files changed

+11
-12
lines changed

4 files changed

+11
-12
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +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 10.9+ x86_64 platforms
89-
- MacOS 11.0+ arm64 platforms
88+
- MacOS 15.0+ arm64 platforms
9089
- Linux glibc 2.17+ (E.g. Ubuntu 18.04+) x86_64 platforms
9190
- Linux glibc 2.28+ (E.g. Ubuntu 20.04+) aarch64 (ARMv8) platforms
9291

scripts/macpython-build-module-wheels.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,13 @@ for VENV in "${VENVS[@]}"; do
9494
fi
9595

9696
if [[ $(arch) == "arm64" ]]; then
97-
plat_name="macosx-11.0-arm64"
98-
osx_target="11.0"
97+
plat_name="macosx-15.0-arm64"
98+
osx_target="15.0"
9999
osx_arch="arm64"
100100
build_path="${SCRIPT_DIR}/../ITK-${py_mm}-macosx_arm64"
101101
else
102-
plat_name="macosx-10.9-x86_64"
103-
osx_target="10.9"
102+
plat_name="macosx-15.0-x86_64"
103+
osx_target="15.0"
104104
osx_arch="x86_64"
105105
build_path="${SCRIPT_DIR}/../ITK-${py_mm}-macosx_x86_64"
106106
fi

scripts/macpython-build-wheels.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ DELOCATE_PATCH=${VENV}/bin/delocate-patch
6363
build_type="Release"
6464

6565
if [[ $(arch) == "arm64" ]]; then
66-
osx_target="11.0"
66+
osx_target="15.0"
6767
osx_arch="arm64"
6868
use_tbb="OFF"
6969
else
70-
osx_target="10.9"
70+
osx_target="15.0"
7171
osx_arch="x86_64"
7272
use_tbb="OFF"
7373
fi
@@ -107,10 +107,10 @@ for VENV in "${VENVS[@]}"; do
107107
${Python3_EXECUTABLE} -m pip install --upgrade -r ${SCRIPT_DIR}/../requirements-dev.txt
108108

109109
if [[ $(arch) == "arm64" ]]; then
110-
plat_name="macosx-11.0-arm64"
110+
plat_name="macosx-15.0-arm64"
111111
build_path="${SCRIPT_DIR}/../ITK-${py_mm}-macosx_arm64"
112112
else
113-
plat_name="macosx-10.9-x86_64"
113+
plat_name="macosx-15.0-x86_64"
114114
build_path="${SCRIPT_DIR}/../ITK-${py_mm}-macosx_x86_64"
115115
fi
116116
if [[ ! -z "${MACOSX_DEPLOYMENT_TARGET}" ]]; then

scripts/macpython-delocate-wheels.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ DELOCATE_PATCH=${VENV}/bin/delocate-patch
5353
build_type="Release"
5454

5555
if [[ $(arch) == "arm64" ]]; then
56-
osx_target="11.0"
56+
osx_target="15.0"
5757
osx_arch="arm64"
5858
use_tbb="OFF"
5959
else
60-
osx_target="10.9"
60+
osx_target="15.0"
6161
osx_arch="x86_64"
6262
use_tbb="OFF"
6363
fi

0 commit comments

Comments
 (0)