update auditwheel command

This commit is contained in:
Romain Thomas 2021-01-26 21:13:33 +01:00
parent 96c7e90231
commit 3970c4d4e2
2 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@ jobs:
- name: Build Python 3.7 wheel
shell: bash
env:
PYTHON_VERSION: 3.7
PYTHON_VERSION: 37
run: |
docker run --rm \
-e CCACHE_COMPRESS=1 \
@ -37,7 +37,7 @@ jobs:
- name: Build Python 3.8 wheel
shell: bash
env:
PYTHON_VERSION: 3.8
PYTHON_VERSION: 38
run: |
docker run --rm \
-e CCACHE_COMPRESS=1 \
@ -51,7 +51,7 @@ jobs:
- name: Build Python 3.9 wheel
shell: bash
env:
PYTHON_VERSION: 3.9
PYTHON_VERSION: 39
run: |
docker run --rm \
-e CCACHE_COMPRESS=1 \

View File

@ -8,6 +8,6 @@ export LDFLAGS='-Wl,--gc-sections -Wl,--exclude-libs,ALL'
$PYTHON_BINARY setup.py --ninja --lief-test build \
bdist_wheel --skip-build --dist-dir wheel_stage
auditwheel repair -w dist --plat manylinux1_x86_64 wheel_stage/*.whl
find wheel_stage -iname "*-cp${PYTHON_VERSION}-*" -exec auditwheel repair -w dist --plat manylinux1_x86_64 {} \;
chown -R 1000:1000 build dist wheel_stage