summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2018-05-31 13:54:39 +0200
committerChristoph Junghans <christoph.junghans@gmail.com>2018-05-31 05:54:39 -0600
commit4e15d6f41b63a21c827f71867db29acd7ccb9201 (patch)
treefed1c61196ead5d8d6eb7f2acdc648389b54c6a0
parent43114c2e06517c99dcab9e5c7dae16a0a8cb6a80 (diff)
downloadspack-4e15d6f41b63a21c827f71867db29acd7ccb9201.tar.gz
spack-4e15d6f41b63a21c827f71867db29acd7ccb9201.tar.bz2
spack-4e15d6f41b63a21c827f71867db29acd7ccb9201.tar.xz
spack-4e15d6f41b63a21c827f71867db29acd7ccb9201.zip
latte: specify blas and lapack explicitly (#8327)
-rw-r--r--var/spack/repos/builtin/packages/latte/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/latte/package.py b/var/spack/repos/builtin/packages/latte/package.py
index 606bd99dda..80f999f763 100644
--- a/var/spack/repos/builtin/packages/latte/package.py
+++ b/var/spack/repos/builtin/packages/latte/package.py
@@ -61,4 +61,9 @@ class Latte(CMakePackage):
if '+progress' in self.spec:
options.append('-DPROGRESS=yes')
+ blas_list = ';'.join(self.spec['blas'].libs)
+ lapack_list = ';'.join(self.spec['lapack'].libs)
+ options.append('-DBLAS_LIBRARIES={0}'.format(blas_list))
+ options.append('-DLAPACK_LIBRARIES={0}'.format(lapack_list))
+
return options