Trilinos: update SuperLU dependency (#43346)

This commit is contained in:
Luc Berger 2024-03-29 00:48:27 -06:00 committed by GitHub
parent 85c6d6dbab
commit e57d33b29f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 3 deletions

View file

@ -34,13 +34,11 @@ class Superlu(CMakePackage, Package):
version(
"4.3",
sha256="169920322eb9b9c6a334674231479d04df72440257c17870aaa0139d74416781",
deprecated=True,
url="https://crd-legacy.lbl.gov/~xiaoye/SuperLU/superlu_4.3.tar.gz",
)
version(
"4.2",
sha256="5a06e19bf5a597405dfeea39fe92aa8c5dd41da73c72c7187755a75f581efb28",
deprecated=True,
url="https://crd-legacy.lbl.gov/~xiaoye/SuperLU/superlu_4.2.tar.gz",
)

View file

@ -325,6 +325,9 @@ class Trilinos(CMakePackage, CudaPackage, ROCmPackage):
conflicts("+strumpack", when="@:13.0")
# Can only use one type of SuperLU
conflicts("+superlu-dist", when="+superlu")
# Amesos and Ifpack only support up to SuperLU 4.x.y interfaces
conflicts("+amesos", when="+superlu@5:")
conflicts("+ifpack", when="+superlu@5:")
# For Trilinos v11 we need to force SuperLUDist=OFF, since only the
# deprecated SuperLUDist v3.3 together with an Amesos patch is working.
conflicts("+superlu-dist", when="@11.4.1:11.14.3")
@ -440,7 +443,9 @@ class Trilinos(CMakePackage, CudaPackage, ROCmPackage):
depends_on("strumpack+shared", when="+strumpack")
depends_on("suite-sparse", when="+suite-sparse")
depends_on("superlu-dist", when="+superlu-dist")
depends_on("superlu@4.3 +pic", when="+superlu")
depends_on("superlu@3:5.2", when="@12.18.1: +superlu")
depends_on("superlu@3:5.1.1", when="@12.14.1 +superlu")
depends_on("superlu@3:4", when="@:12.12.1 +superlu")
depends_on("swig", when="@:14 +python")
depends_on("zlib-api", when="+zoltan")