Skip to content

Commit

Permalink
Set PLAT env var
Browse files Browse the repository at this point in the history
  • Loading branch information
PucklaJ committed Feb 16, 2024
1 parent c4efcf6 commit 1f17fb3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Build Wheels
on: [push]

env:
PLAT: manylinux2014_x86_64

jobs:
linux-x86_64-cp311:
runs-on: ubuntu-latest
Expand Down
7 changes: 1 addition & 6 deletions build-manylinux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ else
fi

for whl in /wheelhouse/*.whl; do
if ! auditwheel show "$whl"; then
echo "Skipping non-platform wheel $whl"
cp $whl /io/
else
auditwheel repair $whl --plat $PLAT -w /artifacts
fi
auditwheel repair $whl --plat $PLAT -w /artifacts
done

0 comments on commit 1f17fb3

Please sign in to comment.