mumps: allow static build

This commit is contained in:
qbisi
2025-06-06 03:41:33 +08:00
parent 1d751b3900
commit abf4471761
+2 -1
View File
@@ -12,6 +12,7 @@
metis,
parmetis,
mpiCheckPhaseHook,
static ? stdenv.hostPlatform.isStatic,
mpiSupport ? false,
withParmetis ? false, # default to false due to unfree license
withPtScotch ? mpiSupport,
@@ -85,7 +86,7 @@ stdenv.mkDerivation (finalAttrs: {
"OPTC=-O3"
"OPTL=-O3"
"SCALAP=-lscalapack"
"allshared"
"${if static then "all" else "allshared"}"
];
installPhase =