Fix CI failure due to manylinux2014 and rhel8 incompatibility, deprecated MS server 2019 & intel-oneapi download errors #1905
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
manylinux2014 and rhel8 incompatibility
The
manylinux2014images (see.github/workflows/ci.yml) are based on CentOS 7, which is a RedHat Enterprise Linux (RHEL) derivative. In specific:manylinux2014→ Based onCentOS 7CentOS 7→ Based onRHEL 7Nevertheless,
python/tools/prepare_build_environment_linux.shassumes RHEL 8 repository (seeyum-config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/cuda-rhel8.repo).This causes
build-python-wheels (ubuntu-22.04, auto64)CI job to fail: the issue is that thelibncclpackage requires a newer version oflibstdc++that supportsCXXABI_1.3.9, but the system (which appears to be CentOS 7 based on the gcc version4.8.5-44.el7) has an older version oflibstdc++.The issue is possibly caused by the changes made in #1803 .
Error Log
Unsupported Microsoft Server 2022 MSVC version
Had to install the preexisting (ms server 2019) compiler version. CUDA does not support Microsoft Server 2022 MSVC version in practice even if the error message states ..2022 (inclusive)..
Error Log
intel-oneapi download error
Download command
curl --netrc-optional -L -nv -o webimage.exe https://registrationcenter-download.intel.com/akdlm/irc_nas/19078/w_BaseKit_p_2023.0.0.25940_offline.execontinuously fails (there are many reports on the internet on that wrtintel-oneapi). In general any URL having the following pattern (https://registrationcenter-download.intel.com/akdlm/irc_nas) fails to download after some point. Fixed by replacing with a modern api version.resolves #1906