diff options
author | edwin <edwin@FreeBSD.org> | 2003-08-29 03:50:28 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-08-29 03:50:28 +0000 |
commit | bf9ddd5788896d83a8bd0b1fb603155784373654 (patch) | |
tree | 79cb83bbea891a95d7f8ea85f0b842bb0249f0f5 /benchmarks/scimark2 | |
parent | 872d11530380395ef7587e2858c297ba82d07de9 (diff) | |
download | FreeBSD-ports-bf9ddd5788896d83a8bd0b1fb603155784373654.zip FreeBSD-ports-bf9ddd5788896d83a8bd0b1fb603155784373654.tar.gz |
New port: benchmarks/scimark2 - a Java benchmark.
SciMark 2.0 is a Java benchmark for scientific and numerical
computing. It measures several computational kernels and
reports a composite score in approximate Mflops (Millions
of floating point operations per second).
Suggested by May Tho.
PR: ports/50645
Submitted by: Thierry Thomas <thierry@pompo.net>
Diffstat (limited to 'benchmarks/scimark2')
-rw-r--r-- | benchmarks/scimark2/Makefile | 54 | ||||
-rw-r--r-- | benchmarks/scimark2/distinfo | 1 | ||||
-rw-r--r-- | benchmarks/scimark2/pkg-descr | 9 | ||||
-rw-r--r-- | benchmarks/scimark2/pkg-plist | 36 |
4 files changed, 100 insertions, 0 deletions
diff --git a/benchmarks/scimark2/Makefile b/benchmarks/scimark2/Makefile new file mode 100644 index 0000000..d5d15a8 --- /dev/null +++ b/benchmarks/scimark2/Makefile @@ -0,0 +1,54 @@ +# New ports collection makefile for: scimark2-java +# Date created: Sat Apr 05 2003 +# Whom: thierry@pompo.net +# +# $FreeBSD$ +# + +PORTNAME= scimark2 +PORTVERSION= 2.0 +CATEGORIES= benchmarks java +MASTER_SITES= http://math.nist.gov/scimark2/ +PKGNAMESUFFIX= -java +DISTNAME= ${PORTNAME}src + +MAINTAINER= thierry@pompo.net +COMMENT= A Java benchmark for scientific and numerical computing + +WRKSRC= ${WRKDIR} +USE_ZIP= yes + +USE_JAVA= 1.2+ +NEED_JAVAC= yes +JAVAC_OPTS?= -O + +LSMDIR= share/java/scimark2 +SMDIR= ${PREFIX}/${LSMDIR} + +SMSH= ${PORTNAME}${PKGNAMESUFFIX} + +PLIST_SUB= SMDIR=${LSMDIR} + +do-build: + cd ${WRKSRC} && ${JAVAC} ${JAVAC_OPTS} commandline.java + @${CP} ${WRKSRC}/commandline.class ${WRKSRC}/jnt/scimark2 + +do-install: + @${MKDIR} ${SMDIR} + @${CP} -Rp ${WRKSRC}/jnt ${SMDIR} + @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${SMDIR} + @${ECHO} "#!/bin/sh" > ${WRKSRC}/${SMSH} + @${ECHO} "cd ${SMDIR} && ${JAVA} jnt.scimark2.commandline" '$$1' >> ${WRKSRC}/${SMSH} + @${INSTALL_SCRIPT} ${WRKSRC}/${SMSH} ${PREFIX}/bin + +post-install: + @${ECHO} "*****************************************************************************" + @${ECHO} "" + @${ECHO} " Just run ${SMSH} or ${SMSH} -large" + @${ECHO} "" + @${ECHO} " The first SciMark number reported is the composite score, followed by the an" + @${ECHO} " approximate Mflop rate for each kernel." + @${ECHO} "" + @${ECHO} "*****************************************************************************" + +.include <bsd.port.mk> diff --git a/benchmarks/scimark2/distinfo b/benchmarks/scimark2/distinfo new file mode 100644 index 0000000..ce1b425 --- /dev/null +++ b/benchmarks/scimark2/distinfo @@ -0,0 +1 @@ +MD5 (scimark2src.zip) = c40ffd2b4588c5cd29c1ba20ae070aa3 diff --git a/benchmarks/scimark2/pkg-descr b/benchmarks/scimark2/pkg-descr new file mode 100644 index 0000000..6fb622e --- /dev/null +++ b/benchmarks/scimark2/pkg-descr @@ -0,0 +1,9 @@ +SciMark 2.0 is a Java benchmark for scientific and numerical computing. + +It measures several computational kernels and reports a composite score +in approximate Mflops (Millions of floating point operations per second). + +Results of this benchmark can be sent to pozo@nist.gov and are listed at +<http://math.nist.gov/cgi-bin/ScimarkSummary>;. + +WWW: http://math.nist.gov/scimark2/index.html diff --git a/benchmarks/scimark2/pkg-plist b/benchmarks/scimark2/pkg-plist new file mode 100644 index 0000000..81d748c --- /dev/null +++ b/benchmarks/scimark2/pkg-plist @@ -0,0 +1,36 @@ +bin/scimark2-java +%%SMDIR%%/jnt/Bench/Applet.java +%%SMDIR%%/jnt/Bench/Bench.java +%%SMDIR%%/jnt/Bench/Formatter.java +%%SMDIR%%/jnt/Bench/HTTPPost.java +%%SMDIR%%/jnt/Bench/Plotter.java +%%SMDIR%%/jnt/Bench/SendMail.java +%%SMDIR%%/jnt/Bench/Stopwatch.java +%%SMDIR%%/jnt/Bench/SubmitDialog.java +%%SMDIR%%/jnt/Bench/Target.java +%%SMDIR%%/jnt/scimark2/Constants.class +%%SMDIR%%/jnt/scimark2/Constants.java +%%SMDIR%%/jnt/scimark2/FFT.class +%%SMDIR%%/jnt/scimark2/FFT.java +%%SMDIR%%/jnt/scimark2/Jacobi.java +%%SMDIR%%/jnt/scimark2/LU.class +%%SMDIR%%/jnt/scimark2/LU.java +%%SMDIR%%/jnt/scimark2/MonteCarlo.class +%%SMDIR%%/jnt/scimark2/MonteCarlo.java +%%SMDIR%%/jnt/scimark2/Random.class +%%SMDIR%%/jnt/scimark2/Random.java +%%SMDIR%%/jnt/scimark2/SOR.class +%%SMDIR%%/jnt/scimark2/SOR.java +%%SMDIR%%/jnt/scimark2/SparseCompRow.class +%%SMDIR%%/jnt/scimark2/SparseCompRow.java +%%SMDIR%%/jnt/scimark2/Stopwatch.class +%%SMDIR%%/jnt/scimark2/Stopwatch.java +%%SMDIR%%/jnt/scimark2/applet.java +%%SMDIR%%/jnt/scimark2/commandline.class +%%SMDIR%%/jnt/scimark2/commandline.java +%%SMDIR%%/jnt/scimark2/kernel.class +%%SMDIR%%/jnt/scimark2/kernel.java +@dirrm %%SMDIR%%/jnt/scimark2 +@dirrm %%SMDIR%%/jnt/Bench +@dirrm %%SMDIR%%/jnt +@dirrm %%SMDIR%% |