Using recent auditwheel program as the original one does not support manylinux2014

This commit is contained in:
Matthias Koefferlein 2021-05-01 20:09:30 +02:00
parent fd8c12c5ee
commit ee984f6b32
1 changed files with 9 additions and 7 deletions

View File

@ -38,13 +38,15 @@ echo $PATH
export CCACHE_DIR="/io/ccache" export CCACHE_DIR="/io/ccache"
ccache -M 5 G # set cache size to 5 G ccache -M 5 G # set cache size to 5 G
# Download proper auditwheel program if false; then
git clone https://github.com/thomaslima/auditwheel.git /tmp/auditwheel # Download proper auditwheel program
cd /tmp/auditwheel git clone https://github.com/thomaslima/auditwheel.git /tmp/auditwheel
git checkout 87f5306ec02cc68020afaa9933543c898b1d47c1 # patched version cd /tmp/auditwheel
AUDITWHEEL_PYTHON=$(cat `which auditwheel` | head -1 | sed -e 's/#!\(.*\)/\1/') git checkout 87f5306ec02cc68020afaa9933543c898b1d47c1 # patched version
# Install auditwheel, replacing the system's auditwheel binary AUDITWHEEL_PYTHON=$(cat `which auditwheel` | head -1 | sed -e 's/#!\(.*\)/\1/')
$AUDITWHEEL_PYTHON -m pip install . # Install auditwheel, replacing the system's auditwheel binary
$AUDITWHEEL_PYTHON -m pip install .
fi
# Show ccache stats # Show ccache stats
echo "Cache stats:" echo "Cache stats:"