petsc: builds break with gnu-make-4.4.1 (#35906)

Use 'make' detected by spack within petsc build
This commit is contained in:
Satish Balay 2023-03-31 11:28:48 -05:00 committed by GitHub
parent 4064191fbc
commit 14465e61ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -377,6 +377,7 @@ def configure_options(self):
"--download-c2html=0",
"--download-sowing=0",
"--download-hwloc=0",
"--with-make-exec=%s" % make,
]
# If 'cflags', 'fflags', and/or 'cxxflags' are not set, let the PETSc
# configuration script choose defaults.
@ -580,7 +581,10 @@ def configure(self, spec, prefix):
def build(self, spec, prefix):
self.revert_kokkos_nvcc_wrapper()
make("V=1")
if spec.satisfies("@:3.18.5"):
make("OMAKE_PRINTDIR=%s" % make, "V=1")
else:
make("V=1")
def install(self, spec, prefix):
self.revert_kokkos_nvcc_wrapper()