summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorToyohisa Kameyama <kameyama@riken.jp>2020-03-19 20:28:18 +0900
committerGitHub <noreply@github.com>2020-03-19 12:28:18 +0100
commita3cb1b8e7ec66e5f076a6ea31e1f713e34e9c282 (patch)
tree3036649cb3c03814036a77263a8b4c01e57d0f92 /var
parent14e2c42bcef0cf1b233b70eda23a75e269ba8d92 (diff)
downloadspack-a3cb1b8e7ec66e5f076a6ea31e1f713e34e9c282.tar.gz
spack-a3cb1b8e7ec66e5f076a6ea31e1f713e34e9c282.tar.bz2
spack-a3cb1b8e7ec66e5f076a6ea31e1f713e34e9c282.tar.xz
spack-a3cb1b8e7ec66e5f076a6ea31e1f713e34e9c282.zip
amdblis + blis: fix spack info and libs query (#15566)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/amdblis/package.py1
-rw-r--r--var/spack/repos/builtin/packages/blis/package.py4
2 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/amdblis/package.py b/var/spack/repos/builtin/packages/amdblis/package.py
index 5b216bebd7..706e7f6bd2 100644
--- a/var/spack/repos/builtin/packages/amdblis/package.py
+++ b/var/spack/repos/builtin/packages/amdblis/package.py
@@ -15,6 +15,7 @@ class Amdblis(BlisBase):
computationally intensive operations.
"""
+ _name = 'amdblis'
homepage = "https://developer.amd.com/amd-aocl/blas-library/"
url = "https://github.com/amd/blis/archive/2.1.tar.gz"
git = "https://github.com/amd/blis.git"
diff --git a/var/spack/repos/builtin/packages/blis/package.py b/var/spack/repos/builtin/packages/blis/package.py
index ea7ca8ff42..c2fc1545a3 100644
--- a/var/spack/repos/builtin/packages/blis/package.py
+++ b/var/spack/repos/builtin/packages/blis/package.py
@@ -102,6 +102,10 @@ class BlisBase(Package):
if self.spec.satisfies('platform=darwin'):
fix_darwin_install_name(self.prefix.lib)
+ @property
+ def libs(self):
+ return find_libraries(['libblis'], root=self.prefix, recursive=True)
+
class Blis(BlisBase):
"""BLIS is a portable software framework for instantiating high-performance