Skip to content

Commit a88b793

Browse files
committed
dockcross-manylinux: Use auditwheel only with "*linux_*.whl" packages
Doing so will ensure that if there are pre-existing manylinux wheels in the "dist" folders, the new ones are not systematically removed.
1 parent 1c2cb5a commit a88b793

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/internal/manylinux-build-wheels.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pushd /work/standalone-${arch}-build > /dev/null 2>&1
2323
ninja
2424
popd > /dev/null 2>&1
2525

26-
# Since the python interpreter exports its symbol (see [1]), SimpleITK python
26+
# Since the python interpreter exports its symbol (see [1]), python
2727
# modules should not link against any python libraries.
2828
# To ensure it is not the case, we configure the project using an empty
2929
# file as python library.
@@ -67,7 +67,7 @@ done
6767

6868
# Since there are no external shared libraries to bundle into the wheels
6969
# this step will fixup the wheel switching from 'linux' to 'manylinux1' tag
70-
for whl in dist/*$(uname -p).whl; do
70+
for whl in dist/*linux_$(uname -p).whl; do
7171
auditwheel repair $whl -w /work/dist/
7272
rm $whl
7373
done

0 commit comments

Comments
 (0)