diff options
-rw-r--r-- | var/spack/repos/builtin/packages/petsc/package.py | 7 |
1 files changed, 6 insertions, 1 deletions
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 @@ class Petsc(Package, CudaPackage, ROCmPackage): 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: @@ -542,6 +542,11 @@ class Petsc(Package, CudaPackage, ROCmPackage): 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) \ or None # return None to indicate failure |