diff options
-rwxr-xr-x | tools/manylinux/build-wheels.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/manylinux/build-wheels.sh b/tools/manylinux/build-wheels.sh index be0f087b..65d76029 100755 --- a/tools/manylinux/build-wheels.sh +++ b/tools/manylinux/build-wheels.sh @@ -27,7 +27,7 @@ build_wheel() { run_tests() { # Install packages and test for PYBIN in /opt/python/*/bin/; do - ${PYBIN}/python -m pip install $PACKAGE --no-index -f /io/$WHEELHOUSE + ${PYBIN}/python -m pip install $PACKAGE --no-index -f /io/$WHEELHOUSE || exit 1 # check import as a quick test (cd $HOME; ${PYBIN}/python -c 'import lxml.etree, lxml.objectify') @@ -36,7 +36,7 @@ run_tests() { prepare_system() { #yum install -y zlib-devel - rm -fr /opt/python/cp34-* + #rm -fr /opt/python/cp34-* echo "Python versions found: $(cd /opt/python && echo cp* | sed -e 's|[^ ]*-||g')" ${CC:-gcc} --version } @@ -60,13 +60,13 @@ build_wheels() { if [ "$(uname -m)" == "aarch64" ]; then FIRST=$THIRD; else FIRST=$SECOND; fi SECOND=$THIRD done - wait + wait || exit 1 } repair_wheels() { # Bundle external shared libraries into the wheels for whl in /io/$WHEELHOUSE/${SDIST_PREFIX}-*.whl; do - auditwheel repair $whl -w /io/$WHEELHOUSE + auditwheel repair $whl -w /io/$WHEELHOUSE || exit 1 done } |