diff --git a/lib/spack/spack/build_systems/cuda.py b/lib/spack/spack/build_systems/cuda.py index 249ca9c6ed..e8810a471f 100644 --- a/lib/spack/spack/build_systems/cuda.py +++ b/lib/spack/spack/build_systems/cuda.py @@ -107,10 +107,10 @@ def cuda_flags(arch_list): # 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.6') + conflicts('%gcc@12:', when='+cuda ^cuda@:11.7') conflicts('%clang@12:', when='+cuda ^cuda@:11.4.0') conflicts('%clang@13:', when='+cuda ^cuda@:11.5') - conflicts('%clang@14:', when='+cuda ^cuda@:11.6') + conflicts('%clang@14:', when='+cuda ^cuda@:11.7') # https://gist.github.com/ax3l/9489132#gistcomment-3860114 conflicts('%gcc@10', when='+cuda ^cuda@:11.4.0')