git: 19f52c082821 - main - Revert "net/openmpi: Remove dependency"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 30 Dec 2023 17:08:57 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=19f52c082821b172205ce2669ef8d3a3adb881ba
commit 19f52c082821b172205ce2669ef8d3a3adb881ba
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-12-30 17:08:09 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-12-30 17:08:09 +0000
Revert "net/openmpi: Remove dependency"
This reverts commit 9f2583dd1a5db69e3291bf72cff7ec5e4e48fdb2.
torque is required by openmpi.
Reported by: thierry
---
net/openmpi/Makefile | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/net/openmpi/Makefile b/net/openmpi/Makefile
index ac5aba976934..767f8d701dce 100644
--- a/net/openmpi/Makefile
+++ b/net/openmpi/Makefile
@@ -54,7 +54,7 @@ MANPREFIX= ${PREFIX}/${MPIDIR}
SHEBANG_FILES= ompi/mca/common/monitoring/profile2mat.pl \
ompi/mca/common/monitoring/aggregate_profile.pl
-OPTIONS_DEFINE= AVX DEBUG IPV6 SLURM
+OPTIONS_DEFINE= AVX DEBUG IPV6 SLURM TORQUE
OPTIONS_DEFAULT= SLURM
OPTIONS_EXCLUDE_aarch64= AVX
OPTIONS_EXCLUDE_armv6= AVX SLURM
@@ -70,6 +70,7 @@ OPTIONS_SUB= yes
AVX_DESC= Enable AVX instructions
SLURM_DESC= Enable SLURM support
+TORQUE_DESC= Enable Torque support
AVX_CONFIGURE_OFF= --enable-mca-no-build=op-avx
@@ -78,6 +79,17 @@ DEBUG_INSTALL_TARGET_OFF= install-strip
IPV6_CONFIGURE_ENABLE= ipv6
+TORQUE_CONFIGURE_WITH= tm
+TORQUE_LIB_DEPENDS= libtorque.so:sysutils/torque
+TORQUE_PLIST_FILES= ${MPIDIR}/lib/openmpi/mca_plm_tm.so \
+ ${MPIDIR}/lib/openmpi/mca_plm_tm.la \
+ ${MPIDIR}/lib/openmpi/mca_ras_tm.la \
+ ${MPIDIR}/lib/openmpi/mca_ras_tm.so \
+ ${MPIDIR}/lib/openmpi/mca_ess_tm.so \
+ ${MPIDIR}/lib/openmpi/mca_ess_tm.la \
+ ${MPIDIR}/share/openmpi/help-plm-tm.txt \
+ ${MPIDIR}/share/openmpi/help-ras-tm.txt
+
SLURM_CONFIGURE_WITH= slurm
SLURM_LIB_DEPENDS= libslurm.so:sysutils/slurm-wlm
SLURM_PLIST_FILES= ${MPIDIR}/lib/openmpi/mca_ess_slurm.la \