diff options
author | fcannini <fcannini@gmail.com> | 2020-07-06 04:07:26 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-06 09:07:26 +0200 |
commit | 29fc94e29e8af78736cf3db659f9080853c7d0a4 (patch) | |
tree | bd5b148a6d93f18be2b490aeb2e4fe27b9201ee6 /var | |
parent | 466f7fd9966ae47c6f5fd64a5fe63f001aac3cb0 (diff) | |
download | spack-29fc94e29e8af78736cf3db659f9080853c7d0a4.tar.gz spack-29fc94e29e8af78736cf3db659f9080853c7d0a4.tar.bz2 spack-29fc94e29e8af78736cf3db659f9080853c7d0a4.tar.xz spack-29fc94e29e8af78736cf3db659f9080853c7d0a4.zip |
psi4: fix "filter_compilers" signature (#17375)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/psi4/package.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/psi4/package.py b/var/spack/repos/builtin/packages/psi4/package.py index 64cb85a5ee..bc2e6db011 100644 --- a/var/spack/repos/builtin/packages/psi4/package.py +++ b/var/spack/repos/builtin/packages/psi4/package.py @@ -51,7 +51,7 @@ class Psi4(CMakePackage): ] @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 @@ class Psi4(CMakePackage): 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'] |