Skip to content

Commit

Permalink
fixup gcc-toolset
Browse files Browse the repository at this point in the history
  • Loading branch information
ptheywood committed Apr 2, 2024
1 parent a33c50e commit fdf7d13
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/Manylinux_2_28.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ jobs:
steps:
- uses: actions/checkout@v3

# Downgrade the devtoolset in the image based on the build matrix, using:
# gcc-10 for CUDA >= 11.2. Unclear if devtoolset-10 will upgrade to unpatched 11.3 which breaks CUDA builds that use <chrono>.
# Downgrade the gcc-toolset in the image based on the build matrix, using:
# gcc-10 for CUDA >= 11.2. Unclear if gcc-toolset-10 will upgrade to unpatched 11.3 which breaks CUDA builds that use <chrono>.
# gcc-9 for CUDA >= 11.0
# these are not the officially supported toolset on centos by cuda, but it's what works.
- name: Install RHEL devtoolset (CentOS)
if: ${{ startsWith(env.HOSTCXX, 'devtoolset-') }}
- name: Install RHEL gcc-toolset (CentOS)
if: ${{ startsWith(env.HOSTCXX, 'gcc-toolset-') }}
run: |
# Install devtoolset-X
# Install gcc-toolset-X
yum install -y ${{ env.HOSTCXX }}
# Enable the toolset via source not scl enable which doesn't get on with multi-step GHA
source /opt/rh/${{ env.HOSTCXX }}/enable
Expand Down

0 comments on commit fdf7d13

Please sign in to comment.