Skip to content

Commit a3b037d

Browse files
authored
Merge pull request #307 from axel-grc/fix-tar-exdev-symlink-r54
BUG: Avoid re-extracting the ITK build cache for module dependencies
2 parents 3cf7528 + 84c6c7f commit a3b037d

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

‎scripts/dockcross-manylinux-build-module-deps.sh‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,13 @@ for MODULE_INFO in ${ITK_MODULE_PREQ_TOPLEVEL//:/ }; do
6666
if [[ -d ../ITKPythonPackage ]]; then
6767
ln -s ../ITKPythonPackage
6868
ln -s ./ITKPythonPackage/oneTBB-prefix
69+
# Cache has already been downloaded, just build
70+
./ITKPythonPackage/scripts/dockcross-manylinux-build-module-wheels.sh "$@"
71+
else
72+
# No cache available, download it and build
73+
echo "Building module dependency ${MODULE_NAME}"
74+
./dockcross-manylinux-download-cache-and-build-module-wheels.sh "$@"
6975
fi
70-
71-
echo "Building module dependency ${MODULE_NAME}"
72-
./dockcross-manylinux-download-cache-and-build-module-wheels.sh "$@"
7376
popd
7477

7578
echo "Cleaning up module dependency"

0 commit comments

Comments
 (0)