From d9f1a55c902ca4544e99d946a81df33331f989dc Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Fri, 8 Jan 2016 22:48:37 -0500 Subject: [PATCH] Ensure than OpenBLAS provides a file liblapack.a OpenBLAS implements the virtual package "lapack", and its consumers apparently expect a "liblapack.a". --- var/spack/packages/openblas/package.py | 4 ++++ 1 file changed, 4 insertions(+) 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 @@ def install(self, spec, prefix): 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')