diff options
author | pauleonix <paul.grosse-bley@ziti.uni-heidelberg.de> | 2024-07-15 20:04:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-15 20:04:47 +0200 |
commit | a26ac1dbcce120e460e24bbb605e1cf764615a0f (patch) | |
tree | f95eb2527963c00e216978d53111994fb99ac711 /lib | |
parent | 2afaeba292bc2298cc7754d2ad2d7601be1d8306 (diff) | |
download | spack-a26ac1dbcce120e460e24bbb605e1cf764615a0f.tar.gz spack-a26ac1dbcce120e460e24bbb605e1cf764615a0f.tar.bz2 spack-a26ac1dbcce120e460e24bbb605e1cf764615a0f.tar.xz spack-a26ac1dbcce120e460e24bbb605e1cf764615a0f.zip |
cuda: add v12.5.1 (#44342)
- Add explicit conflict on ppc64le for 12.5 and newer.
- Update/fix intel compiler conflict to reflect that intel@2021 is compatible
only since 11.4.1 and not since 11.1.1.
- Add intel compiler conflicts to reflect strict support matrix since
12.2.0.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/build_systems/cuda.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/spack/spack/build_systems/cuda.py b/lib/spack/spack/build_systems/cuda.py index 07f30514bf..f20677df33 100644 --- a/lib/spack/spack/build_systems/cuda.py +++ b/lib/spack/spack/build_systems/cuda.py @@ -124,6 +124,8 @@ class CudaPackage(PackageBase): # minimum supported versions conflicts("%gcc@:4", when="+cuda ^cuda@11.0:") conflicts("%gcc@:5", when="+cuda ^cuda@11.4:") + conflicts("%gcc@:7.2", when="+cuda ^cuda@12.4:") + conflicts("%clang@:6", when="+cuda ^cuda@12.2:") # maximum supported version # NOTE: @@ -211,12 +213,16 @@ class CudaPackage(PackageBase): conflicts("%intel@19.0:", when="+cuda ^cuda@:10.0") conflicts("%intel@19.1:", when="+cuda ^cuda@:10.1") conflicts("%intel@19.2:", when="+cuda ^cuda@:11.1.0") + conflicts("%intel@2021:", when="+cuda ^cuda@:11.4.0") # XL is mostly relevant for ppc64le Linux conflicts("%xl@:12,14:", when="+cuda ^cuda@:9.1") conflicts("%xl@:12,14:15,17:", when="+cuda ^cuda@9.2") conflicts("%xl@:12,17:", when="+cuda ^cuda@:11.1.0") + # PowerPC. + conflicts("target=ppc64le", when="+cuda ^cuda@12.5:") + # Darwin. # TODO: add missing conflicts for %apple-clang cuda@:10 - conflicts("platform=darwin", when="+cuda ^cuda@11.0.2: ") + conflicts("platform=darwin", when="+cuda ^cuda@11.0.2:") |