Vendor libgomp in the manylinux Python wheel (#6461)

* Vendor libgomp in the manylinux2014_aarch64 wheel

* Use vault repo, since CentOS 6 has reached End-of-Life on Nov 30

* Vendor libgomp in the manylinux2010_x86_64 wheel

* Run verification step inside the container
This commit is contained in:
Philip Hyunsu Cho
2020-12-03 19:55:32 -08:00
committed by GitHub
parent c103ec51d8
commit 84b726ef53
6 changed files with 59 additions and 5 deletions

View File

@@ -34,6 +34,10 @@ if [ ${TASK} == "python_test" ]; then
tests/ci_build/ci_build.sh aarch64 docker bash -c "cd python-package && rm -rf dist/* && python setup.py bdist_wheel --universal"
TAG=manylinux2014_aarch64
tests/ci_build/ci_build.sh aarch64 docker python tests/ci_build/rename_whl.py python-package/dist/*.whl ${TRAVIS_COMMIT} ${TAG}
tests/ci_build/ci_build.sh aarch64 docker auditwheel repair --plat ${TAG} python-package/dist/*.whl
mv -v wheelhouse/*.whl python-package/dist/
# Make sure that libgomp.so is vendored in the wheel
unzip -l python-package/dist/*.whl | grep libgomp || exit -1
else
rm -rf build
mkdir build && cd build