petsc: add comments for installCheckFlags

This commit is contained in:
qbisi
2026-06-23 09:36:35 +08:00
parent 383e038e0b
commit 863a37b6d4
+4
View File
@@ -231,6 +231,10 @@ stdenv.mkDerivation (finalAttrs: {
# the library is installed and available.
doInstallCheck = true;
installCheckTarget = "check_install";
# check_install is defined in PETSc's top-level makefile. Select it directly
# instead of the default GNUmakefile wrapper, then check the installed prefix
# by pointing PETSC_DIR at $out. PETSC_ARCH must be empty for prefix installs,
# where lib/petsc/conf is not nested below an architecture-specific build dir.
installCheckFlags = [
"-f"
"makefile"