Skip to content

Commit fdec0df

Browse files
committed
BUG: doxygen installation for dockcross manylinux
1 parent 9d963fd commit fdec0df

File tree

2 files changed

+25
-17
lines changed

2 files changed

+25
-17
lines changed

scripts/internal/manylinux-build-common.sh

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,27 @@ case $(uname -p) in
4343
;;
4444
esac
4545

46+
# 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
59+
if ! type ninja > /dev/null 2>&1; then
60+
git clone git://github.com/ninja-build/ninja.git
61+
pushd ninja
62+
git checkout release
63+
cmake -Bbuild-cmake -H.
64+
cmake --build build-cmake
65+
cp build-cmake/ninja /usr/local/bin/
66+
popd
67+
fi
68+
4669
echo "Building wheels for $ARCH"

scripts/internal/manylinux-build-wheels.sh

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,7 @@ Python3_LIBRARY=""
99

1010
script_dir=$(cd $(dirname $0) || exit 1; pwd)
1111
source "${script_dir}/manylinux-build-common.sh"
12-
# Install prerequirements
13-
yum install -y doxygen
14-
if ! type ninja > /dev/null 2>&1; then
15-
git clone git://github.com/ninja-build/ninja.git
16-
pushd ninja
17-
git checkout release
18-
cmake -Bbuild-cmake -H.
19-
cmake --build build-cmake
20-
cp build-cmake/ninja /usr/local/bin/
21-
popd
22-
fi
23-
#mkdir -p /work/tools
24-
#pushd /work/tools > /dev/null 2>&1
25-
#curl https://data.kitware.com/api/v1/file/5c0aa4b18d777f2179dd0a71/download -o doxygen-1.8.11.linux.bin.tar.gz
26-
#tar -xvzf doxygen-1.8.11.linux.bin.tar.gz
27-
#popd > /dev/null 2>&1
12+
2813
# -----------------------------------------------------------------------
2914

3015
# Build standalone project and populate archive cache
@@ -82,7 +67,7 @@ for PYBIN in "${PYBINARIES[@]}"; do
8267
-DCMAKE_BUILD_TYPE:STRING="${build_type}" \
8368
-DPython3_EXECUTABLE:FILEPATH=${Python3_EXECUTABLE} \
8469
-DPython3_INCLUDE_DIR:PATH=${Python3_INCLUDE_DIR} \
85-
-DITK_WRAP_DOC:BOOL=ON \
70+
-DITK_WRAP_DOC:BOOL=ON
8671
# Cleanup
8772
${PYBIN}/python setup.py clean
8873

0 commit comments

Comments
 (0)