Skip to content

Commit 7a82037

Browse files
committed
COMP: Doxygen binaries for aarch64
1 parent 1d9901d commit 7a82037

File tree

2 files changed

+28
-28
lines changed

2 files changed

+28
-28
lines changed

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

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,6 @@
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
55

6-
# First download doxygen
7-
if [[ ! -f doxygen-1.8.11.linux.bin.tar.gz ]]; then
8-
mkdir tools
9-
curl https://data.kitware.com/api/v1/file/5c0aa4b18d777f2179dd0a71/download -o doxygen-1.8.11.linux.bin.tar.gz
10-
tar -xzf doxygen-1.8.11.linux.bin.tar.gz -C tools
11-
fi
12-
# if doxygen tarball was cached, we need to unzip it
13-
if [[ ! -f ./tools/doxygen-1.8.11/bin/doxygen ]]; then
14-
mkdir tools
15-
tar -xzf doxygen-1.8.11.linux.bin.tar.gz -C tools
16-
fi
17-
if [[ ! -f ./tools/doxygen-1.8.11/bin/doxygen ]]; then
18-
echo "ERROR: can not find required binary './tools/doxygen-1.8.11/bin/doxygen'"
19-
exit 255
20-
fi
21-
226
# Packages distributed by github are in zstd format, so we need to download that binary to uncompress
237
if [[ ! -f zstd-1.2.0-linux.tar.gz ]]; then
248
curl https://data.kitware.com/api/v1/file/592dd8068d777f16d01e1a92/download -o zstd-1.2.0-linux.tar.gz

scripts/internal/manylinux-build-common.sh

Lines changed: 28 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,34 @@ case $(uname -p) in
4444
esac
4545

4646
# Install prerequirements
47-
if test "${ARCH}" == "x64"; then
48-
export PATH=/work/tools/doxygen-1.8.11/bin:$PATH
49-
if ! type doxygen > /dev/null 2>&1; then
50-
mkdir -p /work/tools
51-
pushd /work/tools > /dev/null 2>&1
52-
curl https://data.kitware.com/api/v1/file/5c0aa4b18d777f2179dd0a71/download -o doxygen-1.8.11.linux.bin.tar.gz
53-
tar -xvzf doxygen-1.8.11.linux.bin.tar.gz
54-
popd > /dev/null 2>&1
55-
fi
56-
else
57-
yum install -y doxygen
58-
fi
47+
export PATH=/work/tools/doxygen-1.8.11/bin:$PATH
48+
case $(uname -p) in
49+
i686)
50+
ARCH=x86
51+
;;
52+
x86_64)
53+
if ! type doxygen > /dev/null 2>&1; then
54+
mkdir -p /work/tools
55+
pushd /work/tools > /dev/null 2>&1
56+
curl https://data.kitware.com/api/v1/file/5c0aa4b18d777f2179dd0a71/download -o doxygen-1.8.11.linux.bin.tar.gz
57+
tar -xvzf doxygen-1.8.11.linux.bin.tar.gz
58+
popd > /dev/null 2>&1
59+
fi
60+
;;
61+
aarch64)
62+
ARCH=aarch64
63+
if ! type doxygen > /dev/null 2>&1; then
64+
mkdir -p /work/tools
65+
pushd /work/tools > /dev/null 2>&1
66+
curl https://data.kitware.com/api/v1/file/6086e4b02fa25629b93ac66e/download -o doxygen-1.8.11.linux.aarch64.bin.tar.gz
67+
tar -xvzf doxygen-1.8.11.linux.aarch64.bin.tar.gz
68+
popd > /dev/null 2>&1
69+
fi
70+
;;
71+
*)
72+
die "Unknown architecture $(uname -p)"
73+
;;
74+
esac
5975
if ! type ninja > /dev/null 2>&1; then
6076
git clone git://github.com/ninja-build/ninja.git
6177
pushd ninja

0 commit comments

Comments
 (0)