Skip to content

Commit 0cc779c

Browse files
henryyktauvipy
authored andcommitted
Ensure a fresh build of rabbitmq-c before building wheels
Fix vine install
1 parent ea29f3d commit 0cc779c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

build-manylinux1-wheels.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ set -e -x
55
# Install system packages required by our library
66
yum install -y cmake openssl-devel gcc automake
77

8+
# Ensure a fresh build of rabbitmq-c.
9+
(cd /workspace && make submodules)
10+
rm -rf /workspace/rabbitmq-c/build
11+
(cd /workspace && make rabbitmq-c)
12+
813
# Compile wheels
914
for PYBIN in /opt/python/*/bin; do
1015
(cd /workspace && ${PYBIN}/python setup.py install)
@@ -22,7 +27,7 @@ for PYBIN in /opt/python/*/bin/; do
2227
# vine 5.0.0a1 breaks python2
2328
# https://github.com/celery/vine/issues/34
2429
if [[ "$PYBIN" == *"python/cp2"* ]]; then
25-
${PYBIN}/pip install -f "vine==1.3.0"
30+
${PYBIN}/pip install --force-reinstall "vine==1.3.0"
2631
fi
2732

2833
${PYBIN}/pip install librabbitmq -f /workspace/wheelhouse

0 commit comments

Comments
 (0)