Fixup script for more modern pypa image

This commit is contained in:
Guilhem Lavaux 2023-02-27 14:16:36 +01:00
parent 39fe922143
commit 522588fc1f

View File

@ -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 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" ALL_PYTHON="cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310"
# Compile wheels # Compile wheels
@ -25,8 +28,8 @@ for pkg in $ALL_PYTHON; do
done done
# Bundle external shared libraries into the wheels # Bundle external shared libraries into the wheels
for whl in wheelhouse/cosmotool*.whl; do for whl in /io/wheelhouse/cosmotool*.whl; do
auditwheel repair "$whl" --plat $PLAT -w /io/wheelhouse/ auditwheel repair "$whl" --plat $PLAT -w /io/wheelhouse/fix
done done
# Install packages and test # Install packages and test