exago: fix v1.5.1 tag; only allow python up to 3.10 for for @:1.5 (#40676)

* exago: fix v1.5.1 tag; only allow python up to 3.10 for for @:1.5 due to pybind error with py 3.11

* hiop@:1.0 +cuda: constrain to cuda@:11.9
This commit is contained in:
eugeneswalker 2023-10-24 00:08:05 -07:00 committed by GitHub
parent bc54aa1e82
commit cf9a32e6db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -17,7 +17,7 @@ class Exago(CMakePackage, CudaPackage, ROCmPackage):
git = "https://github.com/pnnl/ExaGO.git"
maintainers("ryandanehy", "cameronrutherford", "pelesh")
version("1.5.1", commit="7abe482c8da0e247f9de4896f5982c4cacbecd78", submodules=True)
version("1.5.1", tag="v1.5.1", submodules=True)
version("1.5.0", commit="227f49573a28bdd234be5500b3733be78a958f15", submodules=True)
version("1.4.1", commit="ea607c685444b5f345bfdc9a59c345f0f30adde2", submodules=True)
version("1.4.0", commit="4f4c3fdb40b52ace2d6ba000e7f24b340ec8e886", submodules=True)
@ -64,7 +64,7 @@ class Exago(CMakePackage, CudaPackage, ROCmPackage):
)
# Dependencies
depends_on("python@3.6:", when="@1.3.0:+python")
depends_on("python@3.6:3.10", when="@1.3.0:1.5+python")
depends_on("py-pytest", type=("build", "run"), when="@1.5.0:+python")
depends_on("py-mpi4py", when="@1.3.0:+mpi+python")
depends_on("pkgconfig", type="build")

View File

@ -104,6 +104,10 @@ class Hiop(CMakePackage, CudaPackage, ROCmPackage):
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("raja", when="+raja")
depends_on("umpire", when="+raja")
depends_on("raja+openmp", when="+raja~cuda~rocm")