petsc, slepc: enable parallel builds (#34024)
This commit is contained in:
parent
2c8ab85e6a
commit
dfa1a42420
@ -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)
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user