File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ RABBIT_DIST=librabbitmq
55# Distribuition tools
66PYTHON =python
77
8- all : build
8+ all : build manylinux2014
99
1010add-submodules :
1111 -git submodule add -b v0.8.0 https://github.com/alanxz/rabbitmq-c.git
@@ -57,8 +57,16 @@ $(RABBIT_TARGET):
5757
5858dist : rabbitmq-c $(RABBIT_TARGET )
5959
60- manylinux1 : dist
61- docker run --rm -v ` pwd` :/workspace:z quay.io/pypa/manylinux1_x86_64 /workspace/build-manylinux1-wheels.sh
60+ manylinux2014 : manylinux2014_x86_64 manylinux2014_aarch64
61+
62+ manylinux2014_x86_64 : dist
63+ docker run --rm -v ` pwd` :/workspace:z quay.io/pypa/manylinux2014_x86_64 /workspace/build-manylinux1-wheels.sh
64+
65+ qemu-user-static :
66+ docker run --rm --privileged hypriot/qemu-register
67+
68+ manylinux2014_aarch64 : qemu-user-static
69+ docker run --rm -v ` pwd` :/workspace:z quay.io/pypa/manylinux2014_aarch64 /workspace/build-manylinux1-wheels.sh
6270
6371rebuild :
6472 $(PYTHON ) setup.py build
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ set -e -x
66yum install -y cmake openssl-devel gcc automake
77
88# Compile wheels
9- for PYBIN in /opt/python/* /bin; do
9+ for PYBIN in /opt/python/cp * /bin; do
1010 # Ensure a fresh build of rabbitmq-c.
1111 (cd /workspace && PATH=" ${PYBIN} :${PATH} " make clean)
1212 (cd /workspace && " ${PYBIN} " /python setup.py install)
@@ -23,7 +23,7 @@ for whl in wheelhouse/*linux*.whl; do
2323done
2424
2525# Install packages and test
26- for PYBIN in /opt/python/* /bin/; do
26+ for PYBIN in /opt/python/cp * /bin/; do
2727 PYVER=$( echo " ${PYBIN} " | cut -d' /' -f 4)
2828
2929 # amqp 5.0.0a1 and vine 5.0.0a1 breaks python2
You can’t perform that action at this time.
0 commit comments