git: ab5d7836e02d - main - net/openmpi: revert previous commit

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Tue, 04 Nov 2025 10:58:33 UTC
The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ab5d7836e02d9efd88cf39e5ab44a5d943edcf2f

commit ab5d7836e02d9efd88cf39e5ab44a5d943edcf2f
Author:     Laurent Chardon <laurent.chardon@gmail.com>
AuthorDate: 2025-11-04 10:53:30 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2025-11-04 10:58:29 +0000

    net/openmpi: revert previous commit
    
    The sysutils/slurm-wlm dependency has been removed purposely, because
    OpenMPI does not require Slurm to be present at build time in order to
    enable Slurm support. The Slurm integration in Open MPI is handled
    through the PMIx interface, not via direct linkage to Slurm itself.
    
    For reference, see the Open MPI documentation on PMIx:
    https://docs.open-mpi.org/en/v5.0.0/launching-apps/pmix-and-prrte.html#pmix
    
    "PMIx presents a unified API that hides many of the complexities of
    communication with these back-end run-time environments. Open MPI uses
    the PMIx API to discover, communicate, and coordinate with any supported
    back-end run-time system without needing to know the intimate details of
    that system."
---
 net/openmpi/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net/openmpi/Makefile b/net/openmpi/Makefile
index 2177391b7005..4d57487e26ca 100644
--- a/net/openmpi/Makefile
+++ b/net/openmpi/Makefile
@@ -87,7 +87,8 @@ IPV6_CONFIGURE_ENABLE=	ipv6
 ROMIO_CONFIGURE_OFF=	--disable-io-romio
 
 SLURM_CONFIGURE_WITH=	slurm
-SLURM_LIB_DEPENDS=	libslurm.so:sysutils/slurm-wlm
+# Slurm integration in OpenMPI is handled through the PMIx interface
+#SLURM_LIB_DEPENDS=	libslurm.so:sysutils/slurm-wlm
 
 .include <bsd.port.pre.mk>