Skip to content

Commit 12a818d

Browse files
authored
fix: cuda +allow-unsupported-compilers
Add support for unsupported compilers in CUDA.
1 parent d29a5b3 commit 12a818d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

spack-environment/packages.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,12 @@ packages:
8383
cppcoro:
8484
require:
8585
- '@10bbcdbf2be3ad3aa56febcf4c7662d771460a99'
86+
cuda:
87+
require:
88+
# We disable CUDA's maximum supported compiler versions, e.g.:
89+
# conflicts("%clang@20:", when="+cuda ^cuda@:12.9")
90+
# https://github.com/spack/spack-packages/blob/develop/repos/spack_repo/builtin/build_systems/cuda.py
91+
- +allow-unsupported-compilers
8692
dawn:
8793
require:
8894
- '@3_91a'

0 commit comments

Comments
 (0)