Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Apr 2020 09:09:16 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r531489 - head/lang/opencoarrays
Message-ID:  <202004120909.03C99GAB015840@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Sun Apr 12 09:09:15 2020
New Revision: 531489
URL: https://svnweb.freebsd.org/changeset/ports/531489

Log:
  - Move OpenMPI support to net/openmpi3. OpenMPI 1 and 2 are deprecated.

Modified:
  head/lang/opencoarrays/Makefile

Modified: head/lang/opencoarrays/Makefile
==============================================================================
--- head/lang/opencoarrays/Makefile	Sun Apr 12 09:08:33 2020	(r531488)
+++ head/lang/opencoarrays/Makefile	Sun Apr 12 09:09:15 2020	(r531489)
@@ -3,7 +3,7 @@
 
 PORTNAME=	opencoarrays
 DISTVERSION=	2.7.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	lang parallel
 
 MAINTAINER=	ports@FreeBSD.org
@@ -27,7 +27,7 @@ USE_LDCONFIG=	yes
 PLIST_SUB=	GCC_VER=${_GCC_VER} PORTVERSION=${PORTVERSION}
 
 OPTIONS_SINGLE=		MPI
-OPTIONS_SINGLE_MPI=	MPICH OPENMPI OPENMPI2
+OPTIONS_SINGLE_MPI=	MPICH OPENMPI
 OPTIONS_DEFAULT=	MPICH
 
 MPICH_DESC=		Parallel processing support via MPICH
@@ -35,14 +35,11 @@ MPICH_BUILD_DEPENDS=	mpif90:net/mpich
 MPICH_RUN_DEPENDS=	mpif90:net/mpich
 MPICH_CONFIGURE_ENV=	MPI_HOME=${LOCALBASE}
 
-OPENMPI_BUILD_DEPENDS=	${LOCALBASE}/mpi/openmpi/bin/mpif90:net/openmpi
-OPENMPI_RUN_DEPENDS=	${LOCALBASE}/mpi/openmpi/bin/mpif90:net/openmpi
-OPENMPI_CONFIGURE_ENV=	MPI_HOME=${LOCALBASE}/mpi/openmpi
-
-OPENMPI2_DESC=		Parallel processing support via Open MPI v2
-OPENMPI2_BUILD_DEPENDS=	${LOCALBASE}/mpi/openmpi2/bin/mpif90:net/openmpi2
-OPENMPI2_RUN_DEPENDS=	${LOCALBASE}/mpi/openmpi2/bin/mpif90:net/openmpi2
-OPENMPI2_CONFIGURE_ENV=	MPI_HOME=${LOCALBASE}/mpi/openmpi2
+OPENMPI_BUILD_DEPENDS=	${LOCALBASE}/mpi/openmpi3/bin/mpif90:net/openmpi3
+OPENMPI_RUN_DEPENDS=	${LOCALBASE}/mpi/openmpi3/bin/mpif90:net/openmpi3
+OPENMPI_CONFIGURE_ENV=	MPI_HOME=${LOCALBASE}/mpi/openmpi3
+OPENMPI_CMAKE_ON=	-DMPI_C_COMPILE_OPTIONS="-lpthread" \
+			-DMPI_Fortran_COMPILE_OPTIONS="-lpthread"
 
 .include <bsd.port.options.mk>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004120909.03C99GAB015840>