summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2016-01-08 22:48:37 -0500
committerErik Schnetter <schnetter@gmail.com>2016-01-08 22:48:37 -0500
commitd9f1a55c902ca4544e99d946a81df33331f989dc (patch)
tree87e4c92eb1b31d8d8cbfd91d1342d7bbbadb68b9
parent7ad3e2b56bca4aca3a1ed5a157380070ea17514f (diff)
downloadspack-d9f1a55c902ca4544e99d946a81df33331f989dc.tar.gz
spack-d9f1a55c902ca4544e99d946a81df33331f989dc.tar.bz2
spack-d9f1a55c902ca4544e99d946a81df33331f989dc.tar.xz
spack-d9f1a55c902ca4544e99d946a81df33331f989dc.zip
Ensure than OpenBLAS provides a file liblapack.a
OpenBLAS implements the virtual package "lapack", and its consumers apparently expect a "liblapack.a".
-rw-r--r--var/spack/packages/openblas/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/packages/openblas/package.py b/var/spack/packages/openblas/package.py
index e01467c05a..9c8fa1c694 100644
--- a/var/spack/packages/openblas/package.py
+++ b/var/spack/packages/openblas/package.py
@@ -19,3 +19,7 @@ class Openblas(Package):
with working_dir(prefix.lib):
symlink('libopenblas.a', 'blas.a')
symlink('libopenblas.a', 'libblas.a')
+
+ # Lapack virtual package should provide liblapack.a
+ with working_dir(prefix.lib):
+ symlink('libopenblas.a', 'liblapack.a')