Skip to content

Commit 0ba4ba3

Browse files
committed
Allow doxygen tarball to be cached
1 parent 8bddf0a commit 0ba4ba3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/dockcross-manylinux-download-cache-and-build-module-wheels.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,17 @@
22

33
# This module should be pulled and run from an ITKModule root directory to generate the Linux python wheels of this module,
44
# it is used by the azure-pipeline.yml file contained in ITKModuleTemplate: https://github.com/InsightSoftwareConsortium/ITKModuleTemplate
5+
56
# First download doxygen
67
if [[ ! -f doxygen-1.8.11.linux.bin.tar.gz ]]; then
78
mkdir tools
89
curl https://data.kitware.com/api/v1/file/5c0aa4b18d777f2179dd0a71/download -o doxygen-1.8.11.linux.bin.tar.gz
910
tar -xvzf doxygen-1.8.11.linux.bin.tar.gz -C tools
1011
fi
12+
# if doxygen tarball was cached, we need to unzip it
13+
if [[ ! -f ./tools/doxygen-1.8.11/bin/doxygen ]]; then
14+
tar -xvzf doxygen-1.8.11.linux.bin.tar.gz -C tools
15+
fi
1116
if [[ ! -f ./tools/doxygen-1.8.11/bin/doxygen ]]; then
1217
echo "ERROR: can not find required binary './tools/doxygen-1.8.11/bin/doxygen'"
1318
exit 255

0 commit comments

Comments
 (0)