Skip to content

Commit

Permalink
Use GCC-12 host compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
mborland committed Dec 18, 2024
1 parent 2ca314c commit 573c2f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- name: Install Packages
run: |
sudo apt-get install -y cmake make wget
sudo apt-get install -y cmake make wget gcc-12 g++-12
- name: Install CUDA
run: |
Expand Down Expand Up @@ -83,6 +83,8 @@ jobs:
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DCMAKE_CUDA_FLAGS="-std=c++20" \
-DCMAKE_C_COMPILER=/usr/bin/gcc-12 \
-DCMAKE_CXX_COMPILER=/usr/bin/g++-12 \
.. \
--debug-output
Expand Down

0 comments on commit 573c2f2

Please sign in to comment.