psi4: fix "filter_compilers" signature (#17375)
This commit is contained in:
parent
466f7fd996
commit
29fc94e29e
@ -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']
|
||||||
|
Loading…
Reference in New Issue
Block a user