palace: add v0.11.1 and explicit BLAS support (#37605)
This commit is contained in:
parent
e33eafd34f
commit
ea5bca9067
@ -19,6 +19,7 @@ class Palace(CMakePackage):
|
||||
maintainers("sebastiangrimberg")
|
||||
|
||||
version("develop", branch="main")
|
||||
version("0.11.1", tag="v0.11.1")
|
||||
version("0.11.0", tag="v0.11.0")
|
||||
|
||||
variant("int64", default=False, description="Use 64 bit integers")
|
||||
@ -114,6 +115,12 @@ def cmake_args(self):
|
||||
if "+mumps" in self.spec:
|
||||
args += ["-DMUMPS_REQUIRED_PACKAGES=MPI;MPI_Fortran"]
|
||||
|
||||
# BLAS/LAPACK linkage
|
||||
args += [
|
||||
"-DBLAS_LIBRARIES={0}".format(self.spec["blas"].libs.joined(";")),
|
||||
"-DLAPACK_LIBRARIES={0}".format(self.spec["lapack"].libs.joined(";")),
|
||||
]
|
||||
|
||||
# HYPRE is always built with external BLAS/LAPACK
|
||||
args += ["-DHYPRE_REQUIRED_PACKAGES=LAPACK;BLAS"]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user