hiop +cuda: fix issue 40678 (#40688)

This commit is contained in:
eugeneswalker 2023-10-24 09:28:23 -07:00 committed by GitHub
parent cf9a32e6db
commit d075732cc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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")