Date: Sun, 6 Apr 2003 18:36:24 +0200 (CEST) From: Thierry Thomas <thierry@pompo.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: May THO <thobouli@free.fr> Subject: ports/50645: New port: benchmarks/scimark2 - a Java benchmark. Message-ID: <20030406163624.2E4F27513@graf.pompo.net> Resent-Message-ID: <200304061640.h36Ge8LA037961@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 50645 >Category: ports >Synopsis: New port: benchmarks/scimark2 - a Java benchmark. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Apr 06 09:40:07 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Thierry Thomas >Release: FreeBSD 4.8-RC i386 >Organization: Kabbale Eros >Environment: System: FreeBSD graf.pompo.net 4.8-RC FreeBSD 4.8-RC #0: Sat Mar 29 02:08:33 CET 2003 thierry@graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF020727 i386 >Description: 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. >How-To-Repeat: N/A. >Fix: Please execute the following shar file: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # benchmarks/scimark2 # benchmarks/scimark2/pkg-plist # benchmarks/scimark2/pkg-descr # benchmarks/scimark2/distinfo # benchmarks/scimark2/Makefile # echo c - benchmarks/scimark2 mkdir -p benchmarks/scimark2 > /dev/null 2>&1 echo x - benchmarks/scimark2/pkg-plist sed 's/^X//' >benchmarks/scimark2/pkg-plist << 'END-of-benchmarks/scimark2/pkg-plist' Xbin/scimark2-java X%%SMDIR%%/jnt/Bench/Applet.java X%%SMDIR%%/jnt/Bench/Bench.java X%%SMDIR%%/jnt/Bench/Formatter.java X%%SMDIR%%/jnt/Bench/HTTPPost.java X%%SMDIR%%/jnt/Bench/Plotter.java X%%SMDIR%%/jnt/Bench/SendMail.java X%%SMDIR%%/jnt/Bench/Stopwatch.java X%%SMDIR%%/jnt/Bench/SubmitDialog.java X%%SMDIR%%/jnt/Bench/Target.java X%%SMDIR%%/jnt/scimark2/Constants.class X%%SMDIR%%/jnt/scimark2/Constants.java X%%SMDIR%%/jnt/scimark2/FFT.class X%%SMDIR%%/jnt/scimark2/FFT.java X%%SMDIR%%/jnt/scimark2/Jacobi.java X%%SMDIR%%/jnt/scimark2/LU.class X%%SMDIR%%/jnt/scimark2/LU.java X%%SMDIR%%/jnt/scimark2/MonteCarlo.class X%%SMDIR%%/jnt/scimark2/MonteCarlo.java X%%SMDIR%%/jnt/scimark2/Random.class X%%SMDIR%%/jnt/scimark2/Random.java X%%SMDIR%%/jnt/scimark2/SOR.class X%%SMDIR%%/jnt/scimark2/SOR.java X%%SMDIR%%/jnt/scimark2/SparseCompRow.class X%%SMDIR%%/jnt/scimark2/SparseCompRow.java X%%SMDIR%%/jnt/scimark2/Stopwatch.class X%%SMDIR%%/jnt/scimark2/Stopwatch.java X%%SMDIR%%/jnt/scimark2/applet.java X%%SMDIR%%/jnt/scimark2/commandline.class X%%SMDIR%%/jnt/scimark2/commandline.java X%%SMDIR%%/jnt/scimark2/kernel.class X%%SMDIR%%/jnt/scimark2/kernel.java X@dirrm %%SMDIR%%/jnt/scimark2 X@dirrm %%SMDIR%%/jnt/Bench X@dirrm %%SMDIR%%/jnt X@dirrm %%SMDIR%% END-of-benchmarks/scimark2/pkg-plist echo x - benchmarks/scimark2/pkg-descr sed 's/^X//' >benchmarks/scimark2/pkg-descr << 'END-of-benchmarks/scimark2/pkg-descr' XSciMark 2.0 is a Java benchmark for scientific and numerical computing. X XIt measures several computational kernels and reports a composite score Xin approximate Mflops (Millions of floating point operations per second). X XResults of this benchmark can be sent to pozo@nist.gov and are listed at X<http://math.nist.gov/cgi-bin/ScimarkSummary>. X XWWW: http://math.nist.gov/scimark2/index.html END-of-benchmarks/scimark2/pkg-descr echo x - benchmarks/scimark2/distinfo sed 's/^X//' >benchmarks/scimark2/distinfo << 'END-of-benchmarks/scimark2/distinfo' XMD5 (scimark2src.zip) = c40ffd2b4588c5cd29c1ba20ae070aa3 END-of-benchmarks/scimark2/distinfo echo x - benchmarks/scimark2/Makefile sed 's/^X//' >benchmarks/scimark2/Makefile << 'END-of-benchmarks/scimark2/Makefile' X# New ports collection makefile for: scimark2-java X# Date created: Sat Apr 05 2003 X# Whom: thierry@pompo.net X# X# $FreeBSD$ X# X XPORTNAME= scimark2 XPORTVERSION= 2.0 XCATEGORIES= benchmarks java XMASTER_SITES= http://math.nist.gov/scimark2/ XPKGNAMESUFFIX= -java XDISTNAME= ${PORTNAME}src X XMAINTAINER= thierry@pompo.net XCOMMENT= A Java benchmark for scientific and numerical computing X XWRKSRC= ${WRKDIR} XUSE_ZIP= yes X XUSE_JAVA= 1.2+ XNEED_JAVAC= yes XJAVAC_OPTS?= -O X XLSMDIR= share/java/scimark2 XSMDIR= ${PREFIX}/${LSMDIR} X XSMSH= ${PORTNAME}${PKGNAMESUFFIX} X XPLIST_SUB= SMDIR=${LSMDIR} X Xdo-build: X cd ${WRKSRC} && ${JAVAC} ${JAVAC_OPTS} commandline.java X @${CP} ${WRKSRC}/commandline.class ${WRKSRC}/jnt/scimark2 X Xdo-install: X @${MKDIR} ${SMDIR} X @${CP} -Rp ${WRKSRC}/jnt ${SMDIR} X @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${SMDIR} X @${ECHO} "#!/bin/sh" > ${WRKSRC}/${SMSH} X @${ECHO} "cd ${SMDIR} && ${JAVA} jnt.scimark2.commandline" '$$1' >> ${WRKSRC}/${SMSH} X @${INSTALL_SCRIPT} ${WRKSRC}/${SMSH} ${PREFIX}/bin X Xpost-install: X @${ECHO} "*****************************************************************************" X @${ECHO} "" X @${ECHO} " Just run ${SMSH} or ${SMSH} -large" X @${ECHO} "" X @${ECHO} " The first SciMark number reported is the composite score, followed by the an" X @${ECHO} " approximate Mflop rate for each kernel." X @${ECHO} "" X @${ECHO} "*****************************************************************************" X X.include <bsd.port.mk> END-of-benchmarks/scimark2/Makefile exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030406163624.2E4F27513>