petsc, slepc: enable parallel builds (#34024)

This commit is contained in:
Satish Balay 2022-11-23 19:16:20 -06:00 committed by GitHub
parent 2c8ab85e6a
commit dfa1a42420
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -574,12 +574,11 @@ def configure(self, spec, prefix):
def build(self, spec, prefix):
self.revert_kokkos_nvcc_wrapper()
# PETSc has its own way of doing parallel make.
make("V=1 MAKE_NP=%s" % make_jobs, parallel=False)
make("V=1")
def install(self, spec, prefix):
self.revert_kokkos_nvcc_wrapper()
make("install")
make("install", parallel=False)
if self.run_tests:
make('check PETSC_ARCH="" PETSC_DIR={0}'.format(prefix), parallel=False)

View File

@ -148,7 +148,7 @@ def install(self, spec, prefix):
python("configure", "--prefix=%s" % prefix, *options)
make("V=1 MAKE_NP=%s" % make_jobs, parallel=False)
make("V=1")
if self.run_tests:
make("test", parallel=False)