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')
def filter_compilers(self, spec, prefix):
def filter_compilers(self):
"""Run after install to tell the configuration files to
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
whatever compiler it was built with."""
spec = self.spec
prefix = spec.prefix
kwargs = {'ignore_absent': True, 'backup': False, 'string': True}
cc_files = ['bin/psi4-config']