summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/blis/package.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/blis/package.py b/var/spack/repos/builtin/packages/blis/package.py
index bf96ee7919..9bc167b2f7 100644
--- a/var/spack/repos/builtin/packages/blis/package.py
+++ b/var/spack/repos/builtin/packages/blis/package.py
@@ -50,7 +50,7 @@ class Blis(Package):
)
variant(
- 'cblas', default=False,
+ 'cblas', default=True,
description='CBLAS compatibility',
)
@@ -117,3 +117,9 @@ class Blis(Package):
def install(self, spec, prefix):
make('install')
+
+ @run_after('install')
+ def darwin_fix(self):
+ # The shared library is not installed correctly on Darwin; fix this
+ if self.spec.satisfies('platform=darwin'):
+ fix_darwin_install_name(self.prefix.lib)