summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMartin Pokorny <martin@truffulatree.org>2021-07-21 13:19:49 -0600
committerGitHub <noreply@github.com>2021-07-21 21:19:49 +0200
commit4a4d1759f502eecac3df91ee6effc11ea3dab53c (patch)
treeaf2b68e608b12fe2a8aa2aac7f9aa039f6fcd231 /var
parent80592613adcb234a037e545ccae0def7b6a792e0 (diff)
downloadspack-4a4d1759f502eecac3df91ee6effc11ea3dab53c.tar.gz
spack-4a4d1759f502eecac3df91ee6effc11ea3dab53c.tar.bz2
spack-4a4d1759f502eecac3df91ee6effc11ea3dab53c.tar.xz
spack-4a4d1759f502eecac3df91ee6effc11ea3dab53c.zip
Kokkos: allow c++17 starting with CUDA v11.0.0 (#25018)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/kokkos/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/kokkos/package.py b/var/spack/repos/builtin/packages/kokkos/package.py
index 36abe73ffd..27ce2ad5d8 100644
--- a/var/spack/repos/builtin/packages/kokkos/package.py
+++ b/var/spack/repos/builtin/packages/kokkos/package.py
@@ -197,7 +197,7 @@ class Kokkos(CMakePackage, CudaPackage, ROCmPackage):
variant("pic", default=False, description="Build position independent code")
# nvcc does not currently work with C++17 or C++20
- conflicts("+cuda", when="std=17")
+ conflicts("+cuda", when="std=17 ^cuda@:10.99.99")
conflicts("+cuda", when="std=20")
variant('shared', default=True, description='Build shared libraries')