summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2022-08-01 07:31:07 -0700
committerGitHub <noreply@github.com>2022-08-01 14:31:07 +0000
commitc98d367a91d6cf6aac2b9e4ce10d288db3eb2ee4 (patch)
tree7b7b5c2d9cf167a5b7dda803326d65b989f9d3b3 /lib
parente985a9884a91fb2731eef3cfa2f68ad39e766e2e (diff)
downloadspack-c98d367a91d6cf6aac2b9e4ce10d288db3eb2ee4.tar.gz
spack-c98d367a91d6cf6aac2b9e4ce10d288db3eb2ee4.tar.bz2
spack-c98d367a91d6cf6aac2b9e4ce10d288db3eb2ee4.tar.xz
spack-c98d367a91d6cf6aac2b9e4ce10d288db3eb2ee4.zip
CUDA: add new GCC conflict (#31820)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/build_systems/cuda.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/spack/spack/build_systems/cuda.py b/lib/spack/spack/build_systems/cuda.py
index ff4c525266..0b58cfcda2 100644
--- a/lib/spack/spack/build_systems/cuda.py
+++ b/lib/spack/spack/build_systems/cuda.py
@@ -127,6 +127,7 @@ class CudaPackage(PackageBase):
# 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@11.2:", when="+cuda ^cuda@:11.5")
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")