psi4: fix "filter_compilers" signature (#17375)

This commit is contained in:
fcannini 2020-07-06 04:07:26 -03:00 committed by GitHub
parent 466f7fd996
commit 29fc94e29e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ def cmake_args(self):
] ]
@run_after('install') @run_after('install')
def filter_compilers(self, spec, prefix): def filter_compilers(self):
"""Run after install to tell the configuration files to """Run after install to tell the configuration files to
use the compilers that Spack built the package with. use the compilers that Spack built the package with.
@ -59,6 +59,9 @@ def filter_compilers(self, spec, prefix):
Spack's generic cxx. We want it to be bound to Spack's generic cxx. We want it to be bound to
whatever compiler it was built with.""" whatever compiler it was built with."""
spec = self.spec
prefix = spec.prefix
kwargs = {'ignore_absent': True, 'backup': False, 'string': True} kwargs = {'ignore_absent': True, 'backup': False, 'string': True}
cc_files = ['bin/psi4-config'] cc_files = ['bin/psi4-config']