summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/hiop/package.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/hiop/package.py b/var/spack/repos/builtin/packages/hiop/package.py
index 9ceedc36b4..353c7fd942 100644
--- a/var/spack/repos/builtin/packages/hiop/package.py
+++ b/var/spack/repos/builtin/packages/hiop/package.py
@@ -103,10 +103,9 @@ class Hiop(CMakePackage, CudaPackage, ROCmPackage):
depends_on("magma@{0}:".format(magma_v), when="@{0}:+cuda".format(hiop_v))
depends_on("magma@{0}:".format(magma_v), when="@{0}:+rocm".format(hiop_v))
- depends_on("cuda@11:", when="@develop:+cuda")
-
# https://github.com/spack/spack/issues/40678
- depends_on("cuda@:11.9", when="@:1.0 +cuda")
+ depends_on("cuda@11:11.9", when="@develop:+cuda")
+ depends_on("cuda@:11.9", when="+cuda")
depends_on("raja", when="+raja")
depends_on("umpire", when="+raja")