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.
This commit is contained in:
parent
69044e296e
commit
26672c8688
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=535007
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user