Skip to content

Commit a9e0af9

Browse files
committed
manylinux: clean the build directory before building wheels
Commit #c953dc0 removed the clean step to allow accessing configured files when the script exists. However, when running two consecutive builds for different tarball specialization, the 1st build directory must be cleaned to make sure all libs are rebuilt for the right platform.
1 parent 3cb74de commit a9e0af9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/internal/manylinux-build-module-wheels.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ for PYBIN in "${PYBINARIES[@]}"; do
9090
echo 'ITK source tree not available!' 1>&2
9191
exit 1
9292
fi
93+
${PYBIN}/python setup.py clean
9394
${PYBIN}/python setup.py bdist_wheel --build-type Release -G Ninja -- \
9495
-DITK_DIR:PATH=${itk_build_dir} \
9596
-DITK_USE_SYSTEM_SWIG:BOOL=ON \

0 commit comments

Comments
 (0)