Skip to content

Commit 11939d3

Browse files
authored
Merge pull request #294 from SimonRit/macos-intel
Module Intel MacOS wheels compilation
2 parents 5ddcc68 + c8abf82 commit 11939d3

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

scripts/macpython-build-module-wheels.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ fi
7171

7272
VENV="${VENVS[0]}"
7373
Python3_EXECUTABLE=${VENV}/bin/python3
74+
dot_clean ${VENV}
7475
${Python3_EXECUTABLE} -m pip install --no-cache delocate
7576
DELOCATE_LISTDEPS=${VENV}/bin/delocate-listdeps
7677
DELOCATE_WHEEL=${VENV}/bin/delocate-wheel

scripts/macpython-build-tarball.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ if test $(arch) == "arm64"; then
1313
fi
1414

1515
pushd /Users/svc-dashboard/D/P > /dev/null
16+
dot_clean ITKPythonPackage
1617
tar -cf ITKPythonBuilds-macosx${arch_postfix}.tar \
1718
ITKPythonPackage/ITK-* \
1819
${tbb_contents} \

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ if [[ ! -f ITKPythonBuilds-macosx${tarball_arch}.tar.zst ]]; then
5555
fi
5656
unzstd --long=31 ITKPythonBuilds-macosx${tarball_arch}.tar.zst -o ITKPythonBuilds-macosx${tarball_arch}.tar
5757
PATH="$(dirname $(brew list gnu-tar | grep gnubin)):$PATH"
58-
gtar xf ITKPythonBuilds-macosx${tarball_arch}.tar --checkpoint=10000 --checkpoint-action=dot \
58+
gtar xf ITKPythonBuilds-macosx${tarball_arch}.tar --warning=no-unknown-keyword --checkpoint=10000 --checkpoint-action=dot \
5959
ITKPythonPackage/ITK-source \
6060
ITKPythonPackageRequiredExtractionDir.txt \
6161
ITKPythonPackage/scripts
@@ -64,7 +64,7 @@ gtar xf ITKPythonBuilds-macosx${tarball_arch}.tar --checkpoint=10000 --checkpoin
6464
args=( "$@" )
6565
source ITKPythonPackage/scripts/macpython-build-common.sh
6666
for version in "$PYTHON_VERSIONS"; do
67-
gtar xf ITKPythonBuilds-macosx${tarball_arch}.tar --checkpoint=10000 --checkpoint-action=dot \
67+
gtar xf ITKPythonBuilds-macosx${tarball_arch}.tar --warning=no-unknown-keyword --checkpoint=10000 --checkpoint-action=dot \
6868
--wildcards "ITKPythonPackage/ITK-${version}-macosx*" \
6969
"ITKPythonPackage/venvs/${version}"
7070
done

0 commit comments

Comments
 (0)