Skip to content

Commit 860a4d5

Browse files
committed
Skip no-platform wheels when repairing
In case non-platform wheels are in `wheelhouse`, print a message and skip them instead of prematurely failing the build script.
1 parent b94f5ad commit 860a4d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

travis/build-wheels.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ done
1212

1313
# Bundle external shared libraries into the wheels
1414
for whl in wheelhouse/*.whl; do
15-
auditwheel repair "$whl" --plat $PLAT -w /io/wheelhouse/
15+
auditwheel repair "$whl" --plat $PLAT -w /io/wheelhouse/ \
16+
|| echo "Skipping non-platform wheel $whl"
1617
done
1718

1819
# Install packages and test

0 commit comments

Comments
 (0)