libceed: add BLAS_DIR and link time blas dependency (#50033)
This commit is contained in:
parent
9e65bd5837
commit
31ce23f3fc
@ -55,6 +55,7 @@ class Libceed(MakefilePackage, CudaPackage, ROCmPackage):
|
||||
depends_on("occa~cuda", when="~cuda")
|
||||
|
||||
depends_on("libxsmm", when="+libxsmm")
|
||||
depends_on("blas", when="+libxsmm", type="link")
|
||||
|
||||
depends_on("magma", when="+magma")
|
||||
|
||||
@ -136,6 +137,7 @@ def common_make_opts(self):
|
||||
|
||||
if spec.satisfies("+libxsmm"):
|
||||
makeopts += ["XSMM_DIR=%s" % spec["libxsmm"].prefix]
|
||||
makeopts += ["BLAS_LIB=%s" % spec["blas"].libs]
|
||||
|
||||
if spec.satisfies("+magma"):
|
||||
makeopts += ["MAGMA_DIR=%s" % spec["magma"].prefix]
|
||||
|
Loading…
Reference in New Issue
Block a user