openmpi: explain why pmix is not found with pkg-config

This commit is contained in:
Doron Behar
2026-04-06 20:16:44 +03:00
parent 47552163ec
commit 3330fd35d0
+2
View File
@@ -114,6 +114,8 @@ stdenv.mkDerivation (finalAttrs: {
(lib.enableFeature cudaSupport "mca-dso")
(lib.enableFeature fortranSupport "mpi-fortran")
(lib.withFeatureAs stdenv.hostPlatform.isLinux "libnl" (lib.getDev libnl))
# From some reason, without this the darwin build fails with cyclic
# references between $dev and $out
"--with-pmix=${lib.getDev pmix}"
"--with-pmix-libdir=${lib.getLib pmix}/lib"
# Puts a "default OMPI_PRTERUN" value to mpirun / mpiexec executables