Fixup script for more modern pypa image
This commit is contained in:
parent
39fe922143
commit
522588fc1f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user