Skip to content

Commit e102879

Browse files
Update system dependencies to enable CUDA builds on v6 kernel and newer libc (#3426)
Summary: GitHub Actions only supports Ubuntu 22 and newer and this change is necessary to enable CUDA builds to complete the migration. Differential Revision: D57261685
1 parent e1e4ad0 commit e102879

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/actions/build_cmake/action.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,21 @@ runs:
2525
run: |
2626
conda config --set solver libmamba
2727
conda update -y -q conda
28-
- name: Install env using main channel
29-
if: inputs.raft == 'OFF'
28+
- name: Configure conda environment
3029
shell: bash
3130
run: |
32-
conda install -y -q python=3.11 cmake make swig mkl=2023 mkl-devel=2023 numpy scipy pytest gxx_linux-64=11.2 sysroot_linux-64
33-
- name: Install env using conda-forge channel
34-
if: inputs.raft == 'ON'
35-
shell: bash
36-
run: |
37-
conda install -y -q python=3.11 cmake make swig mkl=2023 mkl-devel=2023 numpy scipy pytest gxx_linux-64=11.2 sysroot_linux-64=2.28 libraft cuda-version=11.8 cuda-toolkit -c rapidsai-nightly -c "nvidia/label/cuda-11.8.0" -c conda-forge
31+
conda install -y -q -c conda-forge gxx_linux-64=11.2 sysroot_linux-64=2.28
32+
conda install -y -q python=3.11 cmake make swig mkl=2023 mkl-devel=2023 numpy scipy pytest
3833
- name: Install CUDA
3934
if: inputs.gpu == 'ON' && inputs.raft == 'OFF'
4035
shell: bash
4136
run: |
4237
conda install -y -q cuda-toolkit -c "nvidia/label/cuda-11.8.0"
38+
- name: Install RAFT
39+
if: inputs.raft == 'ON'
40+
shell: bash
41+
run: |
42+
conda install -y -q libraft cuda-version=11.8 cuda-toolkit -c rapidsai-nightly -c "nvidia/label/cuda-11.8.0" -c conda-forge
4343
- name: Build all targets
4444
shell: bash
4545
run: |

0 commit comments

Comments
 (0)