petsc: archive configure.log make.log from the build (#27677)
Also enable verbose build
This commit is contained in:
parent
02b4a65086
commit
cb71308d22
1 changed files with 6 additions and 1 deletions
|
@ -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) \
|
||||
|
|
Loading…
Reference in a new issue