From 0cc779cd5bd61fa39bed33a2cdfca7ba83d96f5d Mon Sep 17 00:00:00 2001 From: Henry Tang Date: Fri, 27 Mar 2020 15:24:36 +0800 Subject: Ensure a fresh build of rabbitmq-c before building wheels Fix vine install --- build-manylinux1-wheels.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build-manylinux1-wheels.sh b/build-manylinux1-wheels.sh index 664075c..b111482 100755 --- a/build-manylinux1-wheels.sh +++ b/build-manylinux1-wheels.sh @@ -5,6 +5,11 @@ set -e -x # Install system packages required by our library yum install -y cmake openssl-devel gcc automake +# Ensure a fresh build of rabbitmq-c. +(cd /workspace && make submodules) +rm -rf /workspace/rabbitmq-c/build +(cd /workspace && make rabbitmq-c) + # Compile wheels for PYBIN in /opt/python/*/bin; do (cd /workspace && ${PYBIN}/python setup.py install) @@ -22,7 +27,7 @@ for PYBIN in /opt/python/*/bin/; do # vine 5.0.0a1 breaks python2 # https://github.com/celery/vine/issues/34 if [[ "$PYBIN" == *"python/cp2"* ]]; then - ${PYBIN}/pip install -f "vine==1.3.0" + ${PYBIN}/pip install --force-reinstall "vine==1.3.0" fi ${PYBIN}/pip install librabbitmq -f /workspace/wheelhouse -- cgit v1.2.1