update libflame for work with crayCC, craycc, ... (#32533)

update libflame for work with crayCC, craycc, crayftn compiler wrappers. These lightweight compiler drivers do not add the `-L<lib_path>` like the CC/cc/ftn compiler drivers do. I've made a slight change to add the lib directories.
This commit is contained in:
luker 2022-09-06 12:14:06 -05:00 committed by GitHub
parent c7292aa4b6
commit 92018261aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,7 @@ def configure_args(self):
# Libflame has a secondary dependency on BLAS,
# but doesn't know which library name to expect:
# https://github.com/flame/libflame/issues/24
config_args = ["LIBS=" + self.spec["blas"].libs.link_flags]
config_args = ["LIBS=" + self.spec["blas"].libs.ld_flags]
if "+lapack2flame" in self.spec:
config_args.append("--enable-lapack2flame")