git: 0d309c1afa74 - main - Mk/Uses/mpi.mk: adapt the dependency on OpenMPI according to $ARCH
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 18 Feb 2024 09:33:46 UTC
The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=0d309c1afa7476e9aff4fd98b00cb8dbb79d402c commit 0d309c1afa7476e9aff4fd98b00cb8dbb79d402c Author: Thierry Thomas <thierry@FreeBSD.org> AuthorDate: 2024-01-26 10:33:41 +0000 Commit: Thierry Thomas <thierry@FreeBSD.org> CommitDate: 2024-02-18 09:22:34 +0000 Mk/Uses/mpi.mk: adapt the dependency on OpenMPI according to $ARCH --- Mk/Uses/mpi.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Mk/Uses/mpi.mk b/Mk/Uses/mpi.mk index 770e9d375f19..cf14ec675118 100644 --- a/Mk/Uses/mpi.mk +++ b/Mk/Uses/mpi.mk @@ -39,7 +39,11 @@ MPIF90= ${MPIFC} . endif MPI_CFLAGS+= `pkgconf --cflags mpich` . elif ${mpi_ARGS} == openmpi -LIB_DEPENDS+= libmpi_cxx.so:net/openmpi +. if ${ARCH} == armv6 || ${ARCH} == armv7 || ${ARCH} == i386 || ${ARCH} == powerpc +LIB_DEPENDS+= libmpi_cxx.so:net/openmpi4 +. else +LIB_DEPENDS+= libmpi_mpifh.so:net/openmpi +. endif MPI_HOME= ${LOCALBASE}/mpi/openmpi MPI4PY= ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py@${PY_FLAVOR} . if ${USES:Mfortran}