Skip to content

Commit

Permalink
adapt changes to auditwheel directory in manylinux (#889)
Browse files Browse the repository at this point in the history
* adapt changes to auditwheel directory in manylinux

See pypa/manylinux#1143.

* find auditwheel path via `auditwheel --version`

* use custom image instead

* Update .github/workflows/build_wheel.yml
  • Loading branch information
njzjz authored Jul 28, 2021
1 parent 851fa96 commit c4b9c9e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build_wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ jobs:
- name: Build wheels
env:
CIBW_BUILD: "cp36-* cp37-* cp38-*"
CIBW_BEFORE_BUILD: pip install tensorflow && sed -i 's/libresolv.so.2"/libresolv.so.2", "libtensorflow_framework.so.2"/g' /opt/_internal/tools/lib/python*/site-packages/auditwheel/policy/policy.json
CIBW_BUILD: "cp36-* cp37-* cp38-* cp39-*"
CIBW_MANYLINUX_X86_64_IMAGE: ghcr.io/deepmodeling/manylinux2010_x86_64_tensorflow
CIBW_BEFORE_BUILD: pip install tensorflow
CIBW_SKIP: "*-win32 *-manylinux_i686"
run: |
python -m cibuildwheel --output-dir wheelhouse
Expand Down

0 comments on commit c4b9c9e

Please sign in to comment.