harminv: update for blas/lapack (#27572)

This commit is contained in:
Thomas Green 2021-11-22 08:51:46 +00:00 committed by GitHub
parent 8d1e66a627
commit e7b97c9473
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,9 +24,11 @@ class Harminv(AutotoolsPackage):
def configure_args(self):
spec = self.spec
lapack = spec['lapack'].libs
blas = spec['blas'].libs
return [
'--enable-shared',
'--with-blas={0}'.format(spec['blas'].prefix.lib),
'--with-lapack={0}'.format(spec['lapack'].prefix.lib),
'--with-blas={0}'.format(blas.ld_flags),
'--with-lapack={0}'.format(lapack.ld_flags),
]