Skip to content

Commit

Permalink
auditwheel repair
Browse files Browse the repository at this point in the history
  • Loading branch information
aliddell committed Nov 25, 2024
1 parent 8eeee79 commit bef3c32
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/manylinux-wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | sudo tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null
sudo apt-add-repository "deb https://apt.kitware.com/ubuntu/ $(lsb_release -cs) main"
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get install cmake g++-11
sudo apt-get install cmake g++-11 patchelf
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 90
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 90
Expand All @@ -36,11 +36,16 @@ jobs:
./vcpkg integrate install
- name: Install dependencies
run: python -m pip install -U pip "pybind11[global]" cmake build
run: python -m pip install -U pip "pybind11[global]" cmake build auditwheel

- name: Build
run: python -m build -o dist

- name: Fix wheel for manylinux
run: |
auditwheel repair dist/*.whl -w dist --plat manylinux_2_35_x86_64
rm dist/*-linux_*.whl
- name: Upload wheel
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit bef3c32

Please sign in to comment.