aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2004-08-16 16:22:07 +0800
committermaho <maho@FreeBSD.org>2004-08-16 16:22:07 +0800
commit3b3884ef77897d0c8c2d152517c6fd61b8ea61cb (patch)
treef32d5ab23be7732bb9f17ef65fc0d84e5429ab18 /benchmarks
parentc66bc9bd7975b7fa73b1f769215b8bb6cd9a061a (diff)
downloadfreebsd-ports-gnome-3b3884ef77897d0c8c2d152517c6fd61b8ea61cb.tar.gz
freebsd-ports-gnome-3b3884ef77897d0c8c2d152517c6fd61b8ea61cb.tar.zst
freebsd-ports-gnome-3b3884ef77897d0c8c2d152517c6fd61b8ea61cb.zip
WITH_IFC, WITH_ICC -> USE_IFC, USE_ICC
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/himenobench/Makefile24
-rw-r--r--benchmarks/himenobench/pkg-plist26
2 files changed, 25 insertions, 25 deletions
diff --git a/benchmarks/himenobench/Makefile b/benchmarks/himenobench/Makefile
index ecd8e4662460..d2f1b869f158 100644
--- a/benchmarks/himenobench/Makefile
+++ b/benchmarks/himenobench/Makefile
@@ -16,10 +16,10 @@ DIST_SUBDIR= himeno
MAINTAINER= maho@FreeBSD.org
COMMENT= Himeno bench benchmark, solves Poisson eq. with Jacobi's method
-.if defined(WITH_ICC)
+.if defined(USE_ICC)
BUILD_DEPENDS= ${LOCALBASE}/intel_cc_80/bin/icc:${PORTSDIR}/lang/icc
.endif
-.if defined(WITH_IFC)
+.if defined(USE_IFC)
BUILD_DEPENDS= ${LOCALBASE}/intel_fc_80/bin/ifort:${PORTSDIR}/lang/ifc
.endif
EXTRACT_DEPENDS= lha:${PORTSDIR}/archivers/lha
@@ -36,19 +36,19 @@ CXXFLAGS+= -mfancy-math-387 -mpreferred-stack-boundary=3
.endif # i386
.endif
-.if defined(WITH_ICC)
+.if defined(USE_ICC)
CFLAGS_ICC+= -O3 -tpp7 -xiMKW -Vaxlib
ICC= ${LOCALBASE}/intel_cc_80/bin/icc
-PLIST_SUB+= WITH_ICC=""
+PLIST_SUB+= USE_ICC=""
.else
-PLIST_SUB+= WITH_ICC="@comment "
+PLIST_SUB+= USE_ICC="@comment "
.endif
-.if defined(WITH_IFC)
+.if defined(USE_IFC)
FFLAGS_IFC+= -O3 -tpp7 -xiMKW -Vaxlib -ipo
IFC= ${LOCALBASE}/intel_fc_80/bin/ifort
-PLIST_SUB+= WITH_IFC=""
+PLIST_SUB+= USE_IFC=""
.else
-PLIST_SUB+= WITH_IFC="@comment "
+PLIST_SUB+= USE_IFC="@comment "
.endif
do-extract:
@@ -71,14 +71,14 @@ do-build:
@cd ${WRKSRC} ; ${CC} ${CFLAGS} -DMIDDLE -o himenobmtxpa_m himenobmtxpa.c
@cd ${WRKSRC} ; ${CC} ${CFLAGS} -DSMALL -o himenobmtxpa_s himenobmtxpa.c
@cd ${WRKSRC} ; ${CC} ${CFLAGS} -DSSMALL -o himenobmtxpa_ss himenobmtxpa.c
-.if defined(WITH_IFC)
+.if defined(USE_IFC)
# @cd ${WRKSRC} ; ${IFC} ${FFLAGS_IFC} -o himenobmtxp_xl.ifc himenobmtxp_xl.f #Too large
@cd ${WRKSRC} ; ${IFC} ${FFLAGS_IFC} -o himenobmtxp_l.ifc himenobmtxp_l.f
@cd ${WRKSRC} ; ${IFC} ${FFLAGS_IFC} -o himenobmtxp_m.ifc himenobmtxp_m.f
@cd ${WRKSRC} ; ${IFC} ${FFLAGS_IFC} -o himenobmtxp_s.ifc himenobmtxp_s.f
@cd ${WRKSRC} ; ${IFC} ${FFLAGS_IFC} -o himenobmtxp.ifc himenobmtxp.f90
.endif
-.if defined(WITH_ICC)
+.if defined(USE_ICC)
# @cd ${WRKSRC} ; ${ICC} ${CFLAGS_ICC} -DELARGE -o himenobmtxps_xl.icc himenobmtxps.c #Too large
@cd ${WRKSRC} ; ${ICC} ${CFLAGS_ICC} -DLARGE -o himenobmtxps_l.icc himenobmtxps.c
@cd ${WRKSRC} ; ${ICC} ${CFLAGS_ICC} -DMIDDLE -o himenobmtxps_m.icc himenobmtxps.c
@@ -100,13 +100,13 @@ do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/himenobmtxps_s ${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/himenobmtxps_ss ${PREFIX}/bin
# @${INSTALL_PROGRAM} ${WRKSRC}/himenobmtxp_xl.ifc ${PREFIX}/bin #Too large
-.if defined(WITH_IFC)
+.if defined(USE_IFC)
@${INSTALL_PROGRAM} ${WRKSRC}/himenobmtxp_l.ifc ${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/himenobmtxp_m.ifc ${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/himenobmtxp_s.ifc ${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/himenobmtxp.ifc ${PREFIX}/bin
.endif
-.if defined(WITH_ICC)
+.if defined(USE_ICC)
# @${INSTALL_PROGRAM} ${WRKSRC}/himenobmtxps_xl.icc ${PREFIX}/bin #Too large
@${INSTALL_PROGRAM} ${WRKSRC}/himenobmtxps_l.icc ${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/himenobmtxps_m.icc ${PREFIX}/bin
diff --git a/benchmarks/himenobench/pkg-plist b/benchmarks/himenobench/pkg-plist
index c5933424c006..9c0f51a2b80e 100644
--- a/benchmarks/himenobench/pkg-plist
+++ b/benchmarks/himenobench/pkg-plist
@@ -5,16 +5,16 @@ bin/himenobmtxps_l
bin/himenobmtxps_m
bin/himenobmtxps_s
bin/himenobmtxps_ss
-%%WITH_ICC%%bin/himenobmtxpa_l.icc
-%%WITH_ICC%%bin/himenobmtxpa_m.icc
-%%WITH_ICC%%bin/himenobmtxpa_s.icc
-%%WITH_ICC%%bin/himenobmtxpa_ss.icc
-%%WITH_ICC%%bin/himenobmtxpa_xl.icc
-%%WITH_ICC%%bin/himenobmtxps_l.icc
-%%WITH_ICC%%bin/himenobmtxps_m.icc
-%%WITH_ICC%%bin/himenobmtxps_s.icc
-%%WITH_ICC%%bin/himenobmtxps_ss.icc
-%%WITH_IFC%%bin/himenobmtxp.ifc
-%%WITH_IFC%%bin/himenobmtxp_l.ifc
-%%WITH_IFC%%bin/himenobmtxp_m.ifc
-%%WITH_IFC%%bin/himenobmtxp_s.ifc
+%%USE_ICC%%bin/himenobmtxpa_l.icc
+%%USE_ICC%%bin/himenobmtxpa_m.icc
+%%USE_ICC%%bin/himenobmtxpa_s.icc
+%%USE_ICC%%bin/himenobmtxpa_ss.icc
+%%USE_ICC%%bin/himenobmtxpa_xl.icc
+%%USE_ICC%%bin/himenobmtxps_l.icc
+%%USE_ICC%%bin/himenobmtxps_m.icc
+%%USE_ICC%%bin/himenobmtxps_s.icc
+%%USE_ICC%%bin/himenobmtxps_ss.icc
+%%USE_IFC%%bin/himenobmtxp.ifc
+%%USE_IFC%%bin/himenobmtxp_l.ifc
+%%USE_IFC%%bin/himenobmtxp_m.ifc
+%%USE_IFC%%bin/himenobmtxp_s.ifc