aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/hpl/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2009-01-23 17:36:42 +0000
committerPav Lucistnik <pav@FreeBSD.org>2009-01-23 17:36:42 +0000
commite9d661ab187c52140ecd654cbbe5c06ea88da325 (patch)
tree39568af2b34ee3cc06c167a66d6b25cd70483d5e /benchmarks/hpl/Makefile
parentf719320b6f52696d1661e55df3a4db319dcf8643 (diff)
downloadports-e9d661ab187c52140ecd654cbbe5c06ea88da325.tar.gz
ports-e9d661ab187c52140ecd654cbbe5c06ea88da325.zip
- Switch to LAM now that net/mpich port was deleted. Fixes INDEX
With hat: portmgr
Notes
Notes: svn path=/head/; revision=226731
Diffstat (limited to 'benchmarks/hpl/Makefile')
-rw-r--r--benchmarks/hpl/Makefile11
1 files changed, 1 insertions, 10 deletions
diff --git a/benchmarks/hpl/Makefile b/benchmarks/hpl/Makefile
index 79f28de3e6ea..1124bc68a062 100644
--- a/benchmarks/hpl/Makefile
+++ b/benchmarks/hpl/Makefile
@@ -7,20 +7,16 @@
PORTNAME= hpl
PORTVERSION= 2.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= benchmarks
MASTER_SITES= http://www.netlib.org/benchmark/hpl/
MAINTAINER= oliver@FreeBSD.org
COMMENT= High Performance Computing Linpack Benchmark
-.if !defined(WITH_LAM)
-BUILD_DEPENDS= ${LOCALBASE}/mpich/bin/mpicc:${PORTSDIR}/net/mpich
-.else
BUILD_DEPENDS= ${LOCALBASE}/bin/lamd:${PORTSDIR}/net/lam
CC= ${LOCALBASE}/bin/mpicc
FC= ${LOCALBASE}/bin/mpicc
-.endif
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_FORTRAN= yes
@@ -84,14 +80,9 @@ post-patch:
s|ARCH[ )]|_&|g' \
${WRKSRC}/setup/Make.${HPL_ARCH}
-.if defined(WITH_LAM)
@${REINPLACE_CMD} -e 's|^MPdir[ ]*=.*$$|#&| ; s|^MPinc[ ]*=.*$$|#&| ; \
s|^MPlib[ ]*=.*$$|MPlib = /usr/lib/libg2c.a|' \
${WRKSRC}/setup/Make.${HPL_ARCH}
-.else
- @${REINPLACE_CMD} -e 's|^MPdir[ ]*=.*$$|MPdir = ${LOCALBASE}/mpich|' \
- ${WRKSRC}/setup/Make.${HPL_ARCH}
-.endif
.if defined(WITH_BLAS)
@${REINPLACE_CMD} -e 's|^HPL_OPTS[ ]*=.*$$|HPL_OPTS =| ; \