Skip to content

Commit 799c8ca

Browse files
committed
scripts: Add macOSX SDK symlink
Still required for the Python builds
1 parent a4b58a5 commit 799c8ca

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/macpython-download-cache-and-build-module-wheels.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
brew update
77
brew install zstd aria2 gnu-tar doxygen
88
brew upgrade cmake
9+
# The Azure systems current do not have the 10.13 SDK, required by the
10+
# ITKPythonBuilds
11+
SDK_PATH='/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk'
12+
if test ! -e $SDK_PATH; then
13+
sudo ln -s /Applications/Xcode_9.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
14+
fi
915
aria2c -c --file-allocation=none -o ITKPythonBuilds-macosx.tar.zst -s 10 -x 10 https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/releases/download/${ITK_PACKAGE_VERSION:=v5.0.1}/ITKPythonBuilds-macosx.tar.zst
1016
unzstd ITKPythonBuilds-macosx.tar.zst -o ITKPythonBuilds-macosx.tar
1117
PATH="/usr/local/opt/gnu-tar/libexec/gnubin:$PATH"

0 commit comments

Comments
 (0)