summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorWileam Y. Phan <50928756+wyphan@users.noreply.github.com>2023-06-27 08:24:12 -0400
committerGitHub <noreply@github.com>2023-06-27 08:24:12 -0400
commite24bf70af40f84e38d2fc28ff74d9ded48f5d59e (patch)
tree1093b81a72c5e80bc45050587dba7f5ff963be64 /lib
parentdfbdcaf5511c4d2f44a2e7c703911751560595e9 (diff)
downloadspack-e24bf70af40f84e38d2fc28ff74d9ded48f5d59e.tar.gz
spack-e24bf70af40f84e38d2fc28ff74d9ded48f5d59e.tar.bz2
spack-e24bf70af40f84e38d2fc28ff74d9ded48f5d59e.tar.xz
spack-e24bf70af40f84e38d2fc28ff74d9ded48f5d59e.zip
Adjust cc90 to require at least CUDA 12 (#38572)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/build_systems/cuda.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/spack/spack/build_systems/cuda.py b/lib/spack/spack/build_systems/cuda.py
index 6f294983c6..fd7e2a0df3 100644
--- a/lib/spack/spack/build_systems/cuda.py
+++ b/lib/spack/spack/build_systems/cuda.py
@@ -102,11 +102,10 @@ class CudaPackage(PackageBase):
depends_on("cuda@11.0:", when="cuda_arch=80")
depends_on("cuda@11.1:", when="cuda_arch=86")
-
depends_on("cuda@11.4:", when="cuda_arch=87")
-
depends_on("cuda@11.8:", when="cuda_arch=89")
- depends_on("cuda@11.8:", when="cuda_arch=90")
+
+ depends_on("cuda@12.0:", when="cuda_arch=90")
# From the NVIDIA install guide we know of conflicts for particular
# platforms (linux, darwin), architectures (x86, powerpc) and compilers