summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/build_systems/cuda.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/spack/spack/build_systems/cuda.py b/lib/spack/spack/build_systems/cuda.py
index ce622a363c..8200737d76 100644
--- a/lib/spack/spack/build_systems/cuda.py
+++ b/lib/spack/spack/build_systems/cuda.py
@@ -105,10 +105,9 @@ 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.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')
+ conflicts('%gcc@12:', when='+cuda ^cuda@:11.6')
+ conflicts('%clang@13:', when='+cuda ^cuda@:11.5')
+ conflicts('%clang@14:', when='+cuda ^cuda@:11.6')
# https://gist.github.com/ax3l/9489132#gistcomment-3860114
conflicts('%gcc@10', when='+cuda ^cuda@:11.4.0')