File tree 3 files changed +12
-15
lines changed
3 files changed +12
-15
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,9 @@ jobs:
111
111
chmod +x ./dockcross
112
112
./dockcross bindings/python/build_wheel.sh
113
113
elif [ ${{ matrix.config.name }} == 'manylinux2014_aarch64' ]; then
114
- docker run --rm -v `pwd`/:/work quay.io/pypa/manylinux2014_aarch64 bash /work/bindings/python/build_wheel_aarch64.sh
114
+ docker run --rm -v `pwd`/:/work dockcross/manylinux2014-aarch64 > ./dockcross
115
+ chmod +x ./dockcross
116
+ ./dockcross bindings/python/build_wheel.sh --plat-name manylinux2014_aarch64
115
117
elif [ ${{ matrix.config.name }} == 'manylinux2014_x86_64' ]; then
116
118
docker run --rm -v `pwd`/:/work dockcross/manylinux2014-x64 > ./dockcross
117
119
chmod +x ./dockcross
Original file line number Diff line number Diff line change @@ -5,10 +5,15 @@ cd bindings/python
5
5
6
6
# Compile wheels
7
7
if [ -f /opt/python/cp36-cp36m/bin/python ]; then
8
- /opt/python/cp36-cp36m/bin/python setup.py bdist_wheel
8
+ /opt/python/cp36-cp36m/bin/python setup.py bdist_wheel $@
9
9
else
10
- python3 setup.py bdist_wheel
10
+ python3 setup.py bdist_wheel $@
11
11
fi
12
12
cd dist
13
- auditwheel repair * .whl
14
- mv -f wheelhouse/* .whl .
13
+
14
+ # We can't repair an aarch64 wheel on x64 hosts
15
+ # https://github.com/pypa/auditwheel/issues/244
16
+ if [[ ! " $* " =~ " aarch64" ]]; then
17
+ auditwheel repair * .whl
18
+ mv -f wheelhouse/* .whl .
19
+ fi
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments