Skip to content

Commit

Permalink
exago: fix v1.5.1 tag; only allow python up to 3.10 for for @:1.5 (sp…
Browse files Browse the repository at this point in the history
…ack#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
  • Loading branch information
eugeneswalker authored Oct 24, 2023
1 parent bc54aa1 commit cf9a32e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions var/spack/repos/builtin/packages/exago/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -64,7 +64,7 @@ class Exago(CMakePackage, CudaPackage, ROCmPackage):
)

# Dependencies
depends_on("[email protected]:", when="@1.3.0:+python")
depends_on("[email protected]: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")
Expand Down
4 changes: 4 additions & 0 deletions var/spack/repos/builtin/packages/hiop/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit cf9a32e

Please sign in to comment.