svn commit: r535007 - head/math/scalapack
Yuri Victorovich
yuri at FreeBSD.org
Tue May 12 19:47:04 UTC 2020
Author: yuri
Date: Tue May 12 19:47:03 2020
New Revision: 535007
URL: https://svnweb.freebsd.org/changeset/ports/535007
Log:
math/scalapack: Fix the OPENMPI option to be always linked to libmpi.so from openmpi, and not from mpich
Since libmpi.so is installed by both mpich and openmpi many ports suffer from a problem that even when
they are built to link with openmpi, they still use libmpi.so from mpich when it is installed.
This makes such ports broken or error prone.
Modified:
head/math/scalapack/Makefile
Modified: head/math/scalapack/Makefile
==============================================================================
--- head/math/scalapack/Makefile Tue May 12 19:26:45 2020 (r535006)
+++ head/math/scalapack/Makefile Tue May 12 19:47:03 2020 (r535007)
@@ -3,7 +3,7 @@
PORTNAME= scalapack
PORTVERSION= 2.0.2
-PORTREVISION= 21
+PORTREVISION= 22
CATEGORIES= math
MASTER_SITES= NL
DISTFILES= scalapack-${PORTVERSION}.tgz manpages.tgz
@@ -53,6 +53,7 @@ BLAS_LIB_DEPENDS= libblas.so:math/blas \
OPENMPI_BUILD_DEPENDS= openmpi>0:net/openmpi
OPENMPI_RUN_DEPENDS= openmpi>0:net/openmpi
OPENMPI_CMAKE_ON= -DMPI_BASE_DIR=${LOCALBASE}/mpi/openmpi
+OPENMPI_LDFLAGS= -L${LOCALBASE}/mpi/openmpi/lib -Wl,-rpath,${LOCALBASE}/mpi/openmpi/lib -lmpi
MPICH_BUILD_DEPENDS= ${LOCALBASE}/bin/mpicc:net/mpich
MPICH_RUN_DEPENDS= ${LOCALBASE}/bin/mpicc:net/mpich
More information about the svn-ports-head
mailing list