selalib: add (sca)lapack dependency (#40667)

* selalib: add (sca)lapack dependency
* selalib: change when "-mpi" to "~mpi"
This commit is contained in:
Freifrau von Bleifrei 2023-10-31 02:28:52 +01:00 committed by GitHub
parent a095c8113d
commit 3a0f9ce226
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,10 +39,12 @@ class Selalib(CMakePackage):
depends_on("fgsl")
depends_on("git", type=("build", "run", "test"))
depends_on("hdf5+fortran+cxx")
depends_on("lapack", when="~mpi")
with when("+mpi"):
depends_on("mpi")
depends_on("fftw+mpi")
depends_on("hdf5+mpi")
depends_on("scalapack")
depends_on("python@3.0.0:", type=("build"))
# beware: compiling w/ zfp may throw type mismatch errors
depends_on("zfp+fortran", when="+compression")