summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/build_systems/cuda.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/spack/spack/build_systems/cuda.py b/lib/spack/spack/build_systems/cuda.py
index 5003387f89..634cfad637 100644
--- a/lib/spack/spack/build_systems/cuda.py
+++ b/lib/spack/spack/build_systems/cuda.py
@@ -104,7 +104,10 @@ class CudaPackage(PackageBase):
# This implies that the last one in the list has to be updated at
# each release of a new cuda minor version.
conflicts('%gcc@10:', when='+cuda ^cuda@:11.0')
- conflicts('%gcc@11:', when='+cuda ^cuda@:11.4')
+ conflicts('%gcc@11:', when='+cuda ^cuda@:11.4.0')
+ conflicts('%gcc@12:', when='+cuda ^cuda@:11.5.0')
+ conflicts('%clang@12:', when='+cuda ^cuda@:11.4.0')
+ conflicts('%clang@13:', when='+cuda ^cuda@:11.5.0')
# https://gist.github.com/ax3l/9489132#gistcomment-3860114
conflicts('%gcc@10', when='+cuda ^cuda@:11.4.0')