aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-05 10:00:17 +0800
committerbapt <bapt@FreeBSD.org>2014-01-05 10:00:17 +0800
commitf6c641d72e9f4c1f609b53efe7b855fd934e9ddd (patch)
tree81a9d096a384bb9b7476c9e9ebedfd68f048026b /benchmarks
parent69f33712963fe98d84782f0c0a1312ec17a76e27 (diff)
downloadfreebsd-ports-gnome-f6c641d72e9f4c1f609b53efe7b855fd934e9ddd.tar.gz
freebsd-ports-gnome-f6c641d72e9f4c1f609b53efe7b855fd934e9ddd.tar.zst
freebsd-ports-gnome-f6c641d72e9f4c1f609b53efe7b855fd934e9ddd.zip
Support stage
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/hpl/Makefile51
-rw-r--r--benchmarks/hpl/pkg-plist124
2 files changed, 130 insertions, 45 deletions
diff --git a/benchmarks/hpl/Makefile b/benchmarks/hpl/Makefile
index 0020203865d5..2db524d36734 100644
--- a/benchmarks/hpl/Makefile
+++ b/benchmarks/hpl/Makefile
@@ -20,43 +20,8 @@ HPL_ARCH?= FreeBSD_PIV_CBLAS
MAKE_ARGS= arch=${HPL_ARCH}
ALL_TARGET= build
-MAN3= HPL_abort.3 HPL_all_reduce.3 HPL_barrier.3 HPL_bcast.3 \
- HPL_binit.3 HPL_broadcast.3 HPL_bwait.3 HPL_copyL.3 \
- HPL_daxpy.3 HPL_dcopy.3 HPL_dgemm.3 HPL_dgemv.3 HPL_dger.3 \
- HPL_dlacpy.3 HPL_dlamch.3 HPL_dlange.3 HPL_dlaprnt.3 \
- HPL_dlaswp00N.3 HPL_dlaswp01N.3 HPL_dlaswp01T.3 HPL_dlaswp02N.3 \
- HPL_dlaswp03N.3 HPL_dlaswp03T.3 HPL_dlaswp04N.3 HPL_dlaswp04T.3 \
- HPL_dlaswp05N.3 HPL_dlaswp05T.3 HPL_dlaswp06N.3 HPL_dlaswp06T.3 \
- HPL_dlaswp10N.3 HPL_dlatcpy.3 HPL_dlocmax.3 HPL_dlocswpN.3 \
- HPL_dlocswpT.3 HPL_dmatgen.3 HPL_dscal.3 HPL_dswap.3 HPL_dtrsm.3 \
- HPL_dtrsv.3 HPL_equil.3 HPL_fprintf.3 HPL_grid_exit.3 \
- HPL_grid_info.3 HPL_grid_init.3 HPL_idamax.3 HPL_indxg2l.3 \
- HPL_indxg2lp.3 HPL_indxg2p.3 HPL_indxl2g.3 HPL_infog2l.3 \
- HPL_jumpit.3 HPL_ladd.3 HPL_lmul.3 HPL_logsort.3 HPL_max.3 \
- HPL_min.3 HPL_numroc.3 HPL_numrocI.3 HPL_pabort.3 HPL_packL.3 \
- HPL_pddriver.3 HPL_pdfact.3 HPL_pdgesv.3 HPL_pdgesv0.3 \
- HPL_pdgesvK1.3 HPL_pdgesvK2.3 HPL_pdinfo.3 HPL_pdlamch.3 \
- HPL_pdlange.3 HPL_pdlaprnt.3 HPL_pdlaswp00N.3 HPL_pdlaswp00T.3 \
- HPL_pdlaswp01N.3 HPL_pdlaswp01T.3 HPL_pdmatgen.3 HPL_pdmxswp.3 \
- HPL_pdpancrN.3 HPL_pdpancrT.3 HPL_pdpanel_disp.3 \
- HPL_pdpanel_free.3 HPL_pdpanel_init.3 HPL_pdpanel_new.3 \
- HPL_pdpanllN.3 HPL_pdpanllT.3 HPL_pdpanrlN.3 HPL_pdpanrlT.3 \
- HPL_pdrpancrN.3 HPL_pdrpancrT.3 HPL_pdrpanllN.3 HPL_pdrpanllT.3 \
- HPL_pdrpanrlN.3 HPL_pdrpanrlT.3 HPL_pdtest.3 HPL_pdtrsv.3 \
- HPL_pdupdateNN.3 HPL_pdupdateNT.3 HPL_pdupdateTN.3 \
- HPL_pdupdateTT.3 HPL_perm.3 HPL_pipid.3 HPL_plindx0.3 \
- HPL_plindx1.3 HPL_plindx10.3 HPL_pnum.3 HPL_ptimer.3 \
- HPL_ptimer_cputime.3 HPL_ptimer_walltime.3 HPL_pwarn.3 \
- HPL_rand.3 HPL_recv.3 HPL_reduce.3 HPL_rollN.3 HPL_rollT.3 \
- HPL_sdrv.3 HPL_send.3 HPL_setran.3 HPL_spreadN.3 HPL_spreadT.3 \
- HPL_sum.3 HPL_timer.3 HPL_timer_cputime.3 HPL_timer_walltime.3 \
- HPL_warn.3 HPL_xjumpm.3
-
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} -e 's|^TOPdir[ ]*=.*$$|TOPdir = ${WRKSRC}| ; \
s|^MPdir[ ]*=.*$$|MPdir = ${LOCALBASE}| ; \
@@ -76,17 +41,13 @@ post-patch:
@${REINPLACE_CMD} -e '/^build/s|$$| startup|' ${WRKSRC}/Makefile
do-install:
- ${MKDIR} ${PREFIX}/etc/${PORTNAME}
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/${HPL_ARCH}/xhpl ${PREFIX}/bin/
- ${INSTALL_DATA} ${WRKSRC}/bin/${HPL_ARCH}/HPL.dat ${PREFIX}/etc/${PORTNAME}/
-.for man in ${MAN3}
- ${INSTALL_MAN} ${WRKSRC}/man/man3/${man} ${MANPREFIX}/man/man3/
-.endfor
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
+ ${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} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>
diff --git a/benchmarks/hpl/pkg-plist b/benchmarks/hpl/pkg-plist
index 4d6e9d52bdb7..6ddb99a411f0 100644
--- a/benchmarks/hpl/pkg-plist
+++ b/benchmarks/hpl/pkg-plist
@@ -7,4 +7,128 @@ etc/hpl/HPL.dat
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/TUNING
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+man/man3/HPL_abort.3.gz
+man/man3/HPL_all_reduce.3.gz
+man/man3/HPL_barrier.3.gz
+man/man3/HPL_bcast.3.gz
+man/man3/HPL_binit.3.gz
+man/man3/HPL_broadcast.3.gz
+man/man3/HPL_bwait.3.gz
+man/man3/HPL_copyL.3.gz
+man/man3/HPL_daxpy.3.gz
+man/man3/HPL_dcopy.3.gz
+man/man3/HPL_dgemm.3.gz
+man/man3/HPL_dgemv.3.gz
+man/man3/HPL_dger.3.gz
+man/man3/HPL_dlacpy.3.gz
+man/man3/HPL_dlamch.3.gz
+man/man3/HPL_dlange.3.gz
+man/man3/HPL_dlaprnt.3.gz
+man/man3/HPL_dlaswp00N.3.gz
+man/man3/HPL_dlaswp01N.3.gz
+man/man3/HPL_dlaswp01T.3.gz
+man/man3/HPL_dlaswp02N.3.gz
+man/man3/HPL_dlaswp03N.3.gz
+man/man3/HPL_dlaswp03T.3.gz
+man/man3/HPL_dlaswp04N.3.gz
+man/man3/HPL_dlaswp04T.3.gz
+man/man3/HPL_dlaswp05N.3.gz
+man/man3/HPL_dlaswp05T.3.gz
+man/man3/HPL_dlaswp06N.3.gz
+man/man3/HPL_dlaswp06T.3.gz
+man/man3/HPL_dlaswp10N.3.gz
+man/man3/HPL_dlatcpy.3.gz
+man/man3/HPL_dlocmax.3.gz
+man/man3/HPL_dlocswpN.3.gz
+man/man3/HPL_dlocswpT.3.gz
+man/man3/HPL_dmatgen.3.gz
+man/man3/HPL_dscal.3.gz
+man/man3/HPL_dswap.3.gz
+man/man3/HPL_dtrsm.3.gz
+man/man3/HPL_dtrsv.3.gz
+man/man3/HPL_equil.3.gz
+man/man3/HPL_fprintf.3.gz
+man/man3/HPL_grid_exit.3.gz
+man/man3/HPL_grid_info.3.gz
+man/man3/HPL_grid_init.3.gz
+man/man3/HPL_idamax.3.gz
+man/man3/HPL_indxg2l.3.gz
+man/man3/HPL_indxg2lp.3.gz
+man/man3/HPL_indxg2p.3.gz
+man/man3/HPL_indxl2g.3.gz
+man/man3/HPL_infog2l.3.gz
+man/man3/HPL_jumpit.3.gz
+man/man3/HPL_ladd.3.gz
+man/man3/HPL_lmul.3.gz
+man/man3/HPL_logsort.3.gz
+man/man3/HPL_max.3.gz
+man/man3/HPL_min.3.gz
+man/man3/HPL_numroc.3.gz
+man/man3/HPL_numrocI.3.gz
+man/man3/HPL_pabort.3.gz
+man/man3/HPL_packL.3.gz
+man/man3/HPL_pddriver.3.gz
+man/man3/HPL_pdfact.3.gz
+man/man3/HPL_pdgesv.3.gz
+man/man3/HPL_pdgesv0.3.gz
+man/man3/HPL_pdgesvK1.3.gz
+man/man3/HPL_pdgesvK2.3.gz
+man/man3/HPL_pdinfo.3.gz
+man/man3/HPL_pdlamch.3.gz
+man/man3/HPL_pdlange.3.gz
+man/man3/HPL_pdlaprnt.3.gz
+man/man3/HPL_pdlaswp00N.3.gz
+man/man3/HPL_pdlaswp00T.3.gz
+man/man3/HPL_pdlaswp01N.3.gz
+man/man3/HPL_pdlaswp01T.3.gz
+man/man3/HPL_pdmatgen.3.gz
+man/man3/HPL_pdmxswp.3.gz
+man/man3/HPL_pdpancrN.3.gz
+man/man3/HPL_pdpancrT.3.gz
+man/man3/HPL_pdpanel_disp.3.gz
+man/man3/HPL_pdpanel_free.3.gz
+man/man3/HPL_pdpanel_init.3.gz
+man/man3/HPL_pdpanel_new.3.gz
+man/man3/HPL_pdpanllN.3.gz
+man/man3/HPL_pdpanllT.3.gz
+man/man3/HPL_pdpanrlN.3.gz
+man/man3/HPL_pdpanrlT.3.gz
+man/man3/HPL_pdrpancrN.3.gz
+man/man3/HPL_pdrpancrT.3.gz
+man/man3/HPL_pdrpanllN.3.gz
+man/man3/HPL_pdrpanllT.3.gz
+man/man3/HPL_pdrpanrlN.3.gz
+man/man3/HPL_pdrpanrlT.3.gz
+man/man3/HPL_pdtest.3.gz
+man/man3/HPL_pdtrsv.3.gz
+man/man3/HPL_pdupdateNN.3.gz
+man/man3/HPL_pdupdateNT.3.gz
+man/man3/HPL_pdupdateTN.3.gz
+man/man3/HPL_pdupdateTT.3.gz
+man/man3/HPL_perm.3.gz
+man/man3/HPL_pipid.3.gz
+man/man3/HPL_plindx0.3.gz
+man/man3/HPL_plindx1.3.gz
+man/man3/HPL_plindx10.3.gz
+man/man3/HPL_pnum.3.gz
+man/man3/HPL_ptimer.3.gz
+man/man3/HPL_ptimer_cputime.3.gz
+man/man3/HPL_ptimer_walltime.3.gz
+man/man3/HPL_pwarn.3.gz
+man/man3/HPL_rand.3.gz
+man/man3/HPL_recv.3.gz
+man/man3/HPL_reduce.3.gz
+man/man3/HPL_rollN.3.gz
+man/man3/HPL_rollT.3.gz
+man/man3/HPL_sdrv.3.gz
+man/man3/HPL_send.3.gz
+man/man3/HPL_setran.3.gz
+man/man3/HPL_spreadN.3.gz
+man/man3/HPL_spreadT.3.gz
+man/man3/HPL_sum.3.gz
+man/man3/HPL_timer.3.gz
+man/man3/HPL_timer_cputime.3.gz
+man/man3/HPL_timer_walltime.3.gz
+man/man3/HPL_warn.3.gz
+man/man3/HPL_xjumpm.3.gz
@dirrm etc/hpl