diff options
author | JDBetteridge <43041811+JDBetteridge@users.noreply.github.com> | 2022-05-10 06:39:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-10 07:39:02 +0200 |
commit | 2db545ffdcd59644b08f3f0cacfa3dd21e411436 (patch) | |
tree | 65a76322438a644312155e0398b2a4c60dde8a0e | |
parent | 3986ac3828bc55eb682e69d49b3c0ab906a4240c (diff) | |
download | spack-2db545ffdcd59644b08f3f0cacfa3dd21e411436.tar.gz spack-2db545ffdcd59644b08f3f0cacfa3dd21e411436.tar.bz2 spack-2db545ffdcd59644b08f3f0cacfa3dd21e411436.tar.xz spack-2db545ffdcd59644b08f3f0cacfa3dd21e411436.zip |
libflame: fix for linking with BLIS library (#30527)
-rw-r--r-- | var/spack/repos/builtin/packages/libflame/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libflame/package.py b/var/spack/repos/builtin/packages/libflame/package.py index 08c8932110..6b8e14b296 100644 --- a/var/spack/repos/builtin/packages/libflame/package.py +++ b/var/spack/repos/builtin/packages/libflame/package.py @@ -99,6 +99,9 @@ class LibflameBase(AutotoolsPackage): # https://github.com/flame/libflame/issues/21 config_args.append("--enable-max-arg-list-hack") + if self.spec.satisfies('^blis'): + config_args.append('LDFLAGS=-L{}'.format(self.spec['blis'].prefix.lib)) + return config_args @run_after('install') |