summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAMD Toolchain Support <73240730+amd-toolchain-support@users.noreply.github.com>2021-04-02 05:27:46 +0530
committerGitHub <noreply@github.com>2021-04-01 16:57:46 -0700
commit252f42f1153c673804ae15376297f1833c074d66 (patch)
treec9bf1e4aafacef8749b278e8ad0467fbfc968735
parent73a4a5d394a0b58b38eba5a5dbf677dda0f6bd42 (diff)
downloadspack-252f42f1153c673804ae15376297f1833c074d66.tar.gz
spack-252f42f1153c673804ae15376297f1833c074d66.tar.bz2
spack-252f42f1153c673804ae15376297f1833c074d66.tar.xz
spack-252f42f1153c673804ae15376297f1833c074d66.zip
Fix for static library export issue in blis package (#22673)
-rw-r--r--var/spack/repos/builtin/packages/blis/package.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/blis/package.py b/var/spack/repos/builtin/packages/blis/package.py
index 6d90fdc958..25271ce794 100644
--- a/var/spack/repos/builtin/packages/blis/package.py
+++ b/var/spack/repos/builtin/packages/blis/package.py
@@ -112,7 +112,10 @@ class BlisBase(Package):
@property
def libs(self):
return find_libraries(
- ["libblis", "libblis-mt"], root=self.prefix, recursive=True
+ ["libblis", "libblis-mt"],
+ root=self.prefix,
+ shared='+shared' in self.spec,
+ recursive=True
)