diff --git a/var/spack/repos/builtin/packages/petsc/package.py b/var/spack/repos/builtin/packages/petsc/package.py index d05f0cb530..8dc6fc44db 100644 --- a/var/spack/repos/builtin/packages/petsc/package.py +++ b/var/spack/repos/builtin/packages/petsc/package.py @@ -519,7 +519,7 @@ def install(self, spec, prefix): python('configure', '--prefix=%s' % prefix, *options) # PETSc has its own way of doing parallel make. - make('MAKE_NP=%s' % make_jobs, parallel=False) + make('V=1 MAKE_NP=%s' % make_jobs, parallel=False) make("install") if self.run_tests: @@ -541,6 +541,11 @@ def setup_dependent_build_environment(self, env, dependent_spec): env.set('PETSC_DIR', self.prefix) env.unset('PETSC_ARCH') + @property + def archive_files(self): + return [join_path(self.stage.source_path, 'configure.log'), + join_path(self.stage.source_path, 'make.log')] + @property def headers(self): return find_headers('petsc', self.prefix.include, recursive=False) \