summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/pika/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/pika/package.py')
-rw-r--r--var/spack/repos/builtin/packages/pika/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/pika/package.py b/var/spack/repos/builtin/packages/pika/package.py
index b67fc4c64c..f5fe4b9727 100644
--- a/var/spack/repos/builtin/packages/pika/package.py
+++ b/var/spack/repos/builtin/packages/pika/package.py
@@ -117,6 +117,8 @@ class Pika(CMakePackage, CudaPackage, ROCmPackage):
conflicts("%clang@:8", when="@0.2:")
conflicts("+stdexec", when="cxxstd=17")
conflicts("cxxstd=23", when="^cmake@:3.20.2")
+ conflicts("cxxstd=20", when="+cuda ^cmake@:3.25.1")
+ conflicts("cxxstd=23", when="+cuda")
# nvcc version <= 11 does not support C++20 and newer
for cxxstd in filter(lambda x: x != "17", cxxstds):
requires("%nvhpc", when=f"cxxstd={cxxstd} ^cuda@:11")