aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/hpl
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2010-11-15 06:00:17 +0800
committerthierry <thierry@FreeBSD.org>2010-11-15 06:00:17 +0800
commit855bb89e825f55e4710bcf5e53f8af2dfabec171 (patch)
tree8439d459c191725910cf69504c393ed5b0fa898e /benchmarks/hpl
parentcdd6075402dc5ef2665e6c994b24a989bae12cd6 (diff)
downloadfreebsd-ports-gnome-855bb89e825f55e4710bcf5e53f8af2dfabec171.tar.gz
freebsd-ports-gnome-855bb89e825f55e4710bcf5e53f8af2dfabec171.tar.zst
freebsd-ports-gnome-855bb89e825f55e4710bcf5e53f8af2dfabec171.zip
Chase the upgrade of MPICH2.
PR: ports/151869 Approved by: oliver (maintainer)
Diffstat (limited to 'benchmarks/hpl')
-rw-r--r--benchmarks/hpl/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/benchmarks/hpl/Makefile b/benchmarks/hpl/Makefile
index 14d95dbfbe74..58136cffd07f 100644
--- a/benchmarks/hpl/Makefile
+++ b/benchmarks/hpl/Makefile
@@ -7,7 +7,7 @@
PORTNAME= hpl
PORTVERSION= 2.0
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= benchmarks
MASTER_SITES= http://www.netlib.org/benchmark/hpl/
@@ -15,8 +15,7 @@ MAINTAINER= oliver@FreeBSD.org
COMMENT= High Performance Computing Linpack Benchmark
.if !defined(WITH_LAM)
-BUILD_DEPENDS= ${LOCALBASE}/bin/mpicc:${PORTSDIR}/net/mpich2
-RUN_DEPENDS= ${LOCALBASE}/bin/mpicc:${PORTSDIR}/net/mpich2
+LIB_DEPENDS= mpich.2:${PORTSDIR}/net/mpich2
.else
BUILD_DEPENDS= ${LOCALBASE}/bin/lamd:${PORTSDIR}/net/lam
RUN_DEPENDS= ${LOCALBASE}/bin/lamd:${PORTSDIR}/net/lam
@@ -83,7 +82,7 @@ post-patch:
s|^LINKER[ ]*=.*$$|LINKER = ${FC}| ; \
s|^ARCHIVER[ ]*=.*$$|ARCHIVER = ${AR}| ; \
s|ARCH[ )]|_&|g ; \
- s|libpmpich|libmpich|g' \
+ s|libpmpich.a|libmpl.a ${PTHREAD_LIBS}|' \
${WRKSRC}/setup/Make.${HPL_ARCH}
.if defined(WITH_LAM)