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