Skip to content

Commit

Permalink
fix depfilter in PETSc easyblock by extracting names of build depende…
Browse files Browse the repository at this point in the history
…ncies
  • Loading branch information
boegel committed Jan 4, 2021
1 parent 2c5977c commit 7f48f5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easybuild/easyblocks/p/petsc.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def configure_step(self):
# filter out deps handled seperately
sep_deps = ['BLACS', 'BLAS', 'CMake', 'FFTW', 'LAPACK', 'numpy',
'mpi4py', 'papi', 'ScaLAPACK', 'SciPy-bundle', 'SuiteSparse']
depfilter = self.cfg.builddependencies() + sep_deps
depfilter = [d['name'] for d in self.cfg.builddependencies()] + sep_deps

deps = [dep['name'] for dep in self.cfg.dependencies() if not dep['name'] in depfilter]
for dep in deps:
Expand Down

0 comments on commit 7f48f5a

Please sign in to comment.