petsc: builds break with gnu-make-4.4.1 (#35906)
Use 'make' detected by spack within petsc build
This commit is contained in:
parent
4064191fbc
commit
14465e61ae
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user