From 522588fc1f770c3ee1233a9bf22de8345e7bd7e4 Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Mon, 27 Feb 2023 14:16:36 +0100 Subject: [PATCH] Fixup script for more modern pypa image --- builder/build-wheels.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/builder/build-wheels.sh b/builder/build-wheels.sh index 585ab56..60a8bfc 100755 --- a/builder/build-wheels.sh +++ b/builder/build-wheels.sh @@ -13,6 +13,9 @@ yum install -y cmake3 gsl-devel zlib-devel fftw3-devel libffi-devel hdf5 hdf5-de ln -fs /usr/bin/cmake3 /usr/bin/cmake +test -d /io/wheelhouse || mkdir /io/wheelhouse +test -d /io/wheelhouse/fix || mkdir /io/wheelhouse/fix + ALL_PYTHON="cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310" # Compile wheels @@ -25,8 +28,8 @@ for pkg in $ALL_PYTHON; do done # Bundle external shared libraries into the wheels -for whl in wheelhouse/cosmotool*.whl; do - auditwheel repair "$whl" --plat $PLAT -w /io/wheelhouse/ +for whl in /io/wheelhouse/cosmotool*.whl; do + auditwheel repair "$whl" --plat $PLAT -w /io/wheelhouse/fix done # Install packages and test