# Created by: Oliver Lehmann # $FreeBSD$ PORTNAME= hpl PORTVERSION= 2.1 PORTREVISION= 8 CATEGORIES= benchmarks MASTER_SITES= NETLIB/benchmark/hpl MAINTAINER= oliver@FreeBSD.org COMMENT= High Performance Computing Linpack Benchmark LIB_DEPENDS= libblas.so:math/blas \ libmpich.so:net/mpich2 USES= fortran USE_LDCONFIG= yes HPL_ARCH?= FreeBSD_PIV_CBLAS MAKE_ARGS= arch=${HPL_ARCH} ALL_TARGET= build OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|^TOPdir[ ]*=.*$$|TOPdir = ${WRKSRC}| ; \ s|^MPdir[ ]*=.*$$|MPdir = ${LOCALBASE}| ; \ s|^LAdir[ ]*=.*$$|LAdir = ${LOCALBASE}| ; \ s|^CC[ ]*=.*$$|CC = ${CC}| ; \ s|^CCFLAGS[ ]*=.*$$|CCFLAGS = $$\(HPL_DEFS\) ${CFLAGS} -fomit-frame-pointer -funroll-loops| ; \ s|^LINKER[ ]*=.*$$|LINKER = ${FC}| ; \ s|^ARCHIVER[ ]*=.*$$|ARCHIVER = ${AR}| ; \ s|ARCH[ )]|_&|g ; \ s|^HPL_OPTS[ ]*=.*$$|HPL_OPTS =| ; \ s|^LAlib[ ]*=.*$$|LAlib = $$\(LAdir\)/lib/libblas.a| ; \ s|libpmpich.a|libmpl.a -lpthread|' \ ${WRKSRC}/setup/Make.${HPL_ARCH} @${REINPLACE_CMD} -e 's|HPL\.dat|${PREFIX}/etc/${PORTNAME}/&|' \ ${WRKSRC}/testing/ptest/HPL_pdinfo.c @${CP} ${WRKSRC}/setup/Make.${HPL_ARCH} ${WRKSRC}/ @${REINPLACE_CMD} -e '/^build/s|$$| startup|' ${WRKSRC}/Makefile do-install: ${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_PROGRAM} ${WRKSRC}/bin/${HPL_ARCH}/xhpl ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_DATA} ${WRKSRC}/bin/${HPL_ARCH}/HPL.dat ${STAGEDIR}${ETCDIR} ${INSTALL_MAN} ${WRKSRC}/man/man3/*.3 ${STAGEDIR}${MAN3PREFIX}/man/man3/ @${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in BUGS COPYRIGHT HISTORY README TODO TUNING ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} .endfor .include pm_and_yarn/devel/electron4/files/elliptic-6.5.3 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - remove maintainer tags from pkg-descreadler2011-10-231-3/+0
* Now that the Java 1.3 and Java 1.4 ports are deprecated and will expire soon,linimon2011-07-211-1/+1
* -remove MD5ohauer2011-07-031-1/+0
* Add JRadioButton fix.ale2009-11-162-4/+16
* - Retire MASTER_SITE_SOURCEFORGE_EXTENDED, it's no longer needed - all mirror...amdmi32009-09-021-2/+1
* Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1
* - Welcome X.org 7.2 \o/.flz2007-05-201-1/+1
* - Add CardLayout and VerticalFlowLayout classesale2007-01-2915-1/+945
* Fix color box drawing.ale2006-12-142-0/+19