palace: add v0.11.1 and explicit BLAS support (#37605)

This commit is contained in:
Stephen Sachs 2023-05-15 16:11:50 +02:00 committed by GitHub
parent e33eafd34f
commit ea5bca9067
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"]