net/openmpi4: upgrade to 4.1.6

Changelog at <https://raw.githubusercontent.com/open-mpi/ompi/v4.1.x/NEWS>.
2024Q2
Thierry Thomas 2024-01-25 13:11:04 +01:00
parent 8d52a7328f
commit 3e61f8fcd4
5 changed files with 22 additions and 16 deletions

View File

@ -578,6 +578,7 @@
SUBDIR += openldap26-server
SUBDIR += openmdns
SUBDIR += openmpi
SUBDIR += openmpi4
SUBDIR += openntpd
SUBDIR += openpgm
SUBDIR += openradius

View File

@ -1,8 +1,7 @@
PORTNAME= openmpi
PORTVERSION= 4.1.5
PORTREVISION= 4
PORTVERSION= 4.1.6
CATEGORIES= net parallel
MASTER_SITES= http://www.open-mpi.org/software/ompi/v${PORTVERSION:R}/downloads/
MASTER_SITES= https://download.open-mpi.org/release/open-mpi/v${PORTVERSION:R}/
PKGNAMESUFFIX= 4
MAINTAINER= ports@FreeBSD.org
@ -21,21 +20,22 @@ LIB_DEPENDS= libhwloc.so.15:devel/hwloc2 \
USES= fortran gmake libtool:keepla localbase perl5 \
pkgconfig shebangfix tar:bzip2
HAS_CONFIGURE= yes
CONFLICTS_INSTALL= openmpi-5*
USE_PERL5= build
MPIBASE?= mpi
MPIDIR?= ${MPIBASE}/${PKGBASE}
MPIDIR?= ${MPIBASE}/${PORTNAME}
PLIST_SUB+= MPIBASE=${MPIBASE}
PLIST_SUB+= MPIDIR=${MPIDIR}
# Workaround for https://github.com/open-mpi/ompi/issues/7516
CONFIGURE_ENV+= DISABLE_gds_ds12=1 DISABLE_gds_ds21=1
CONFIGURE_ARGS+= --prefix=${PREFIX}/${MPIDIR} \
--mandir=${PREFIX}/${MPIDIR}/share/man \
--program-prefix= \
GNU_CONFIGURE= yes
GNU_CONFIGURE_PREFIX= ${PREFIX}/${MPIDIR}
GNU_CONFIGURE_MANPREFIX=${PREFIX}/${MPIDIR}/share
CONFIGURE_ARGS+= --program-prefix= \
--with-hwloc=external \
--with-libltdl \
--without-ofi \
@ -52,6 +52,8 @@ USE_LDCONFIG= ${PREFIX}/${MPIDIR}/lib
MANDIRS= ${PREFIX}/${MPIDIR}/share/man
TEST_TARGET= check
SHEBANG_FILES= ompi/mca/common/monitoring/profile2mat.pl \
ompi/mca/common/monitoring/aggregate_profile.pl
@ -116,8 +118,8 @@ PLIST_SUB+= NO_MCA_PATCHER_OVERWRITE="@comment "
PLIST_SUB+= NO_MCA_PATCHER_OVERWRITE=""
.endif
post-patch:
@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${LOCALBASE}/libdata/pkgconfig|g' \
pre-configure:
${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${LOCALBASE}/libdata/pkgconfig|g' \
${WRKSRC}/ompi/tools/wrappers/Makefile.am \
${WRKSRC}/ompi/tools/wrappers/Makefile.in \
${WRKSRC}/opal/tools/wrappers/Makefile.am \
@ -126,7 +128,7 @@ post-patch:
${WRKSRC}/orte/tools/wrappers/Makefile.in \
${WRKSRC}/opal/mca/pmix/pmix3x/pmix/Makefile.am \
${WRKSRC}/opal/mca/pmix/pmix3x/pmix/Makefile.in
@${REINPLACE_CMD} 's|define MCA_hwloc_external_.*header "|&${LOCALBASE}/include/|' \
${REINPLACE_CMD} 's|define MCA_hwloc_external_.*header "|&${LOCALBASE}/include/|' \
${WRKSRC}/configure
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1677228694
SHA256 (openmpi-4.1.5.tar.bz2) = a640986bc257389dd379886fdae6264c8cfa56bc98b71ce3ae3dfbd8ce61dbe3
SIZE (openmpi-4.1.5.tar.bz2) = 10045426
TIMESTAMP = 1706177680
SHA256 (openmpi-4.1.6.tar.bz2) = f740994485516deb63b5311af122c265179f5328a0d857a567b85db00b11e415
SIZE (openmpi-4.1.6.tar.bz2) = 10017002

View File

@ -6,3 +6,6 @@ vendors, application developers and computer science researchers.
Open MPI is based on an open component architecture allowing modular
replacement of many system components without recompilation.
This is the legacy version, but the latest one with support of 32 bits
platforms.

View File

@ -101,7 +101,7 @@ libdata/pkgconfig/pmix.pc
%%MPIDIR%%/lib/libmpi.la
%%MPIDIR%%/lib/libmpi.so
%%MPIDIR%%/lib/libmpi.so.40
%%MPIDIR%%/lib/libmpi.so.40.30.5
%%MPIDIR%%/lib/libmpi.so.40.30.6
%%MPIDIR%%/lib/libmpi_cxx.la
%%MPIDIR%%/lib/libmpi_cxx.so
%%MPIDIR%%/lib/libmpi_cxx.so.40