svn commit: r560866 - head/net/openmpi3

Danilo Egea Gondolfo danilo at FreeBSD.org
Sat Jan 9 14:16:52 UTC 2021


Author: danilo
Date: Sat Jan  9 14:16:51 2021
New Revision: 560866
URL: https://svnweb.freebsd.org/changeset/ports/560866

Log:
  net/openmpi3: Use the embedded hwloc library to workaround a conflict between hwloc and hwloc2 due sysutils/slurm-wlm.
  
  OpenMPI3 is not compatible with hwloc2. Also, OpenMPI3 was deprecated by upstream and will be removed from the ports tree as soon as all the ports which depend on it are moved to net/openmpi.
  
  PR:		252496

Modified:
  head/net/openmpi3/Makefile

Modified: head/net/openmpi3/Makefile
==============================================================================
--- head/net/openmpi3/Makefile	Sat Jan  9 14:12:59 2021	(r560865)
+++ head/net/openmpi3/Makefile	Sat Jan  9 14:16:51 2021	(r560866)
@@ -2,6 +2,7 @@
 
 PORTNAME=	openmpi
 PORTVERSION=	3.1.6
+PORTREVISION=	1
 CATEGORIES=	net parallel
 MASTER_SITES=	http://www.open-mpi.org/software/ompi/v${PORTVERSION:R}/downloads/
 PKGNAMESUFFIX=	3
@@ -16,8 +17,7 @@ BROKEN_armv6=		fails to package: pkg-static: mca_patch
 BROKEN_armv7=		fails to package: pkg-static: mca_patcher_overwrite.la: No such file or directory
 BROKEN_sparc64=		fails to compile on sparc64
 
-LIB_DEPENDS=	libhwloc.so:devel/hwloc \
-		libltdl.so:devel/libltdl \
+LIB_DEPENDS=	libltdl.so:devel/libltdl \
 		libevent.so:devel/libevent \
 		libmunge.so:security/munge
 
@@ -38,7 +38,7 @@ PLIST_SUB+=	MPIDIR=${MPIDIR}
 CONFIGURE_ARGS+=	--prefix=${PREFIX}/${MPIDIR} \
 			--mandir=${PREFIX}/${MPIDIR}/man \
 			--program-prefix= \
-			--with-hwloc=external \
+			--with-hwloc=internal \
 			--with-libltdl \
 			--enable-mpi-fortran=usempi \
 			--enable-mpi-cxx \


More information about the svn-ports-all mailing list