Date: Tue, 12 May 2020 19:47:03 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r535007 - head/math/scalapack Message-ID: <202005121947.04CJl3we069650@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005121947.04CJl3we069650>