petsc: add withFullDeps option

This commit is contained in:
qbisi
2025-02-14 19:18:43 +08:00
parent ad4db6e3ab
commit 3389354ca5
2 changed files with 10 additions and 7 deletions
+8 -7
View File
@@ -13,25 +13,26 @@
mpiSupport ? true,
mpi, # generic mpi dependency
mpiCheckPhaseHook,
petsc-withp4est ? false,
hdf5-support ? false,
petsc-withp4est ? withFullDeps,
hdf5-support ? withFullDeps,
hdf5,
metis,
withMetis ? false,
withMetis ? withFullDeps,
parmetis,
withParmetis ? false,
withParmetis ? false, # parmetis is unfree and should be enabled manualy
scotch,
withPtscotch ? false,
withPtscotch ? withFullDeps,
scalapack,
withScalapack ? false,
withScalapack ? withFullDeps,
mumps_par,
withMumps ? false,
withMumps ? withFullDeps,
pkg-config,
p4est,
zlib, # propagated by p4est but required by petsc
petsc-optimized ? false,
petsc-scalar-type ? "real",
petsc-precision ? "double",
withFullDeps ? false
}:
# This version of PETSc does not support a non-MPI p4est build
+2
View File
@@ -10346,6 +10346,8 @@ self: super: with self; {
python3 = python;
python3Packages = self;
withPetsc4py = true;
withFullDeps = true;
petsc-optimized = true;
});
pex = callPackage ../development/python-modules/pex { };