@@ -41,7 +41,7 @@ for PYBIN in "${PYBINARIES[@]}"; do
4141 build_type=" Release"
4242 compile_flags=" -O3 -DNDEBUG"
4343 source_path=/work/ITK-source/ITK
44- build_path=/work/ITK-$( basename $( dirname ${PYBIN} ) ) -manylinux1_ ${ARCH}
44+ build_path=/work/ITK-$( basename $( dirname ${PYBIN} ) ) -manylinux2014_ ${ARCH}
4545 SETUP_PY_CONFIGURE=" ${script_dir} /../setup_py_configure.py"
4646 SKBUILD_CMAKE_INSTALL_PREFIX=$( ${Python3_EXECUTABLE} -c " from skbuild.constants import CMAKE_INSTALL_DIR; print(CMAKE_INSTALL_DIR)" )
4747
@@ -146,14 +146,15 @@ for PYBIN in "${PYBINARIES[@]}"; do
146146
147147done
148148
149- # auditwheel contains a regression where it will consume the "itk" wheels.
150- /opt/python/cp37-cp37m/bin/pip3 install auditwheel==1.9.0 wheel==0.26.0
149+ /opt/python/cp37-cp37m/bin/pip3 install auditwheel wheel
151150# Since there are no external shared libraries to bundle into the wheels
152- # this step will fixup the wheel switching from 'linux' to 'manylinux1 ' tag
153- for whl in dist/* linux_$( uname -p) .whl; do
154- /opt/python/cp37-cp37m/bin/auditwheel repair ${whl} -w /work/dist/
151+ # this step will fixup the wheel switching from 'linux' to 'manylinux2014 ' tag
152+ for whl in dist/itk_ * linux_$( uname -p) .whl; do
153+ /opt/python/cp37-cp37m/bin/auditwheel repair --plat manylinux2014_x86_64 ${whl} -w /work/dist/
155154 rm ${whl}
156155done
156+ itk_wheel=$( ls dist/itk-* linux* )
157+ mv ${itk_wheel} ${itk_wheel/ linux/ manylinux2014}
157158
158159# Install packages and test
159160for PYBIN in " ${PYBINARIES[@]} " ; do
0 commit comments