summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <junghans@lanl.gov>2019-08-29 07:14:13 -0600
committerGitHub <noreply@github.com>2019-08-29 07:14:13 -0600
commitae70c75e3c2cef172bb19688da997698c2336cc0 (patch)
tree0259da91005f954159f6acb7bdea2991b5a75d38
parent300d9d5a628b1e46f7321dc7a29f40706b8814e8 (diff)
downloadspack-ae70c75e3c2cef172bb19688da997698c2336cc0.tar.gz
spack-ae70c75e3c2cef172bb19688da997698c2336cc0.tar.bz2
spack-ae70c75e3c2cef172bb19688da997698c2336cc0.tar.xz
spack-ae70c75e3c2cef172bb19688da997698c2336cc0.zip
portage: fix linkage against openblas (#12641)
-rw-r--r--var/spack/repos/builtin/packages/portage/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/portage/package.py b/var/spack/repos/builtin/packages/portage/package.py
index b3fd376832..de77330983 100644
--- a/var/spack/repos/builtin/packages/portage/package.py
+++ b/var/spack/repos/builtin/packages/portage/package.py
@@ -48,4 +48,7 @@ class Portage(CMakePackage):
else:
options.append('-DENABLE_MPI=OFF')
+ options.append("-DLAPACKE_LIBRARIES=" +
+ self.spec["lapack"].libs.joined(";"))
+
return options