Loading pkgs/by-name/pe/petsc/package.nix +4 −2 Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ bash, pkg-config, gfortran, bison, mpi, # generic mpi dependency mpiCheckPhaseHook, python3, Loading @@ -26,7 +27,7 @@ # External libraries options withHdf5 ? withCommonDeps, withMetis ? withCommonDeps, withZlib ? withP4est, withZlib ? (withP4est || withPtscotch), withScalapack ? withCommonDeps && mpiSupport, withParmetis ? withFullDeps, # parmetis is unfree withPtscotch ? withCommonDeps && mpiSupport, Loading Loading @@ -64,7 +65,7 @@ assert withP4est -> (mpiSupport && withZlib); # Package parmetis depend on metis and mpi support assert withParmetis -> (withMetis && mpiSupport); assert withPtscotch -> mpiSupport; assert withPtscotch -> (mpiSupport && withZlib); assert withScalapack -> mpiSupport; assert (withMumps && mpiSupport) -> withScalapack; assert withHypre -> mpiSupport; Loading Loading @@ -117,6 +118,7 @@ stdenv.mkDerivation (finalAttrs: { python3 gfortran pkg-config bison ] ++ lib.optional mpiSupport mpi ++ lib.optionals pythonSupport [ Loading Loading
pkgs/by-name/pe/petsc/package.nix +4 −2 Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ bash, pkg-config, gfortran, bison, mpi, # generic mpi dependency mpiCheckPhaseHook, python3, Loading @@ -26,7 +27,7 @@ # External libraries options withHdf5 ? withCommonDeps, withMetis ? withCommonDeps, withZlib ? withP4est, withZlib ? (withP4est || withPtscotch), withScalapack ? withCommonDeps && mpiSupport, withParmetis ? withFullDeps, # parmetis is unfree withPtscotch ? withCommonDeps && mpiSupport, Loading Loading @@ -64,7 +65,7 @@ assert withP4est -> (mpiSupport && withZlib); # Package parmetis depend on metis and mpi support assert withParmetis -> (withMetis && mpiSupport); assert withPtscotch -> mpiSupport; assert withPtscotch -> (mpiSupport && withZlib); assert withScalapack -> mpiSupport; assert (withMumps && mpiSupport) -> withScalapack; assert withHypre -> mpiSupport; Loading Loading @@ -117,6 +118,7 @@ stdenv.mkDerivation (finalAttrs: { python3 gfortran pkg-config bison ] ++ lib.optional mpiSupport mpi ++ lib.optionals pythonSupport [ Loading