From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Apr 6 09:40:10 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE8B937B401 for ; Sun, 6 Apr 2003 09:40:10 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D56543FD7 for ; Sun, 6 Apr 2003 09:40:09 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h36Ge8Up037975 for ; Sun, 6 Apr 2003 09:40:08 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h36Ge8S8037974; Sun, 6 Apr 2003 09:40:08 -0700 (PDT) Resent-Date: Sun, 6 Apr 2003 09:40:08 -0700 (PDT) Resent-Message-Id: <200304061640.h36Ge8S8037974@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Thierry Thomas Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9B3337B401 for ; Sun, 6 Apr 2003 09:37:55 -0700 (PDT) Received: from graf.pompo.net (lns-th2-6f-81-57-186-139.adsl.proxad.net [81.57.186.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id A61BB43FB1 for ; Sun, 6 Apr 2003 09:37:54 -0700 (PDT) (envelope-from thierry@pompo.net) Received: by graf.pompo.net (Postfix, from userid 1001) id 6FE7B751E; Sun, 6 Apr 2003 18:36:29 +0200 (CEST) Message-Id: <20030406163629.6FE7B751E@graf.pompo.net> Date: Sun, 6 Apr 2003 18:36:29 +0200 (CEST) From: Thierry Thomas To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: May THO Subject: ports/50646: New port: benchmarks/scimark2c - an ANSI C version of the SciMark2 benchmark. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Thierry Thomas List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Apr 2003 16:40:11 -0000 >Number: 50646 >Category: ports >Synopsis: New port: benchmarks/scimark2c - an ANSI C version of the SciMark2 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:08 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: This is an ANSI C version of the SciMark2 benchmark, translated from the original Java sources. The intent in making this benchmark available in C is mainly for performance comparisons. 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/scimark2c # benchmarks/scimark2c/files # benchmarks/scimark2c/files/patch-Makefile # benchmarks/scimark2c/files/patch-scimark2.c # benchmarks/scimark2c/pkg-plist # benchmarks/scimark2c/pkg-descr # benchmarks/scimark2c/distinfo # benchmarks/scimark2c/Makefile # echo c - benchmarks/scimark2c mkdir -p benchmarks/scimark2c > /dev/null 2>&1 echo c - benchmarks/scimark2c/files mkdir -p benchmarks/scimark2c/files > /dev/null 2>&1 echo x - benchmarks/scimark2c/files/patch-Makefile sed 's/^X//' >benchmarks/scimark2c/files/patch-Makefile << 'END-of-benchmarks/scimark2c/files/patch-Makefile' X--- Makefile.orig Thu Jul 6 00:07:45 2000 X+++ Makefile Sat Apr 5 22:53:49 2003 X@@ -5,8 +5,8 @@ X X all: scimark2 X X-CC = cc X-CFLAGS = -O X+#CC = cc X+#CFLAGS = -O X LDFLAGS = X X OBJS = FFT.o kernel.o Stopwatch.o Random.o SOR.o SparseCompRow.o \ END-of-benchmarks/scimark2c/files/patch-Makefile echo x - benchmarks/scimark2c/files/patch-scimark2.c sed 's/^X//' >benchmarks/scimark2c/files/patch-scimark2.c << 'END-of-benchmarks/scimark2c/files/patch-scimark2.c' X--- scimark2.c.orig Sat Apr 29 06:21:12 2000 X+++ scimark2.c Sat Apr 5 23:13:45 2003 X@@ -58,7 +58,7 @@ X X X print_banner(); X- printf("Using %10.2f seconds min time per kenel.\n", min_time); X+ printf("Using %10.2f seconds min time per kernel.\n", min_time); X X res[1] = kernel_measureFFT( FFT_size, min_time, R); X res[2] = kernel_measureSOR( SOR_size, min_time, R); END-of-benchmarks/scimark2c/files/patch-scimark2.c echo x - benchmarks/scimark2c/pkg-plist sed 's/^X//' >benchmarks/scimark2c/pkg-plist << 'END-of-benchmarks/scimark2c/pkg-plist' Xbin/scimark2 END-of-benchmarks/scimark2c/pkg-plist echo x - benchmarks/scimark2c/pkg-descr sed 's/^X//' >benchmarks/scimark2c/pkg-descr << 'END-of-benchmarks/scimark2c/pkg-descr' XThis is an ANSI C version of the SciMark2 benchmark, translated from the Xoriginal Java sources. The intent in making this benchmark available in XC is mainly for performance comparisons. X XResults of this benchmark can be sent to pozo@nist.gov. X XWWW: http://math.nist.gov/scimark2/download_c.html END-of-benchmarks/scimark2c/pkg-descr echo x - benchmarks/scimark2c/distinfo sed 's/^X//' >benchmarks/scimark2c/distinfo << 'END-of-benchmarks/scimark2c/distinfo' XMD5 (scimark2c.zip) = 3fe0d6b3c8068bf7481ce45fe51d96d0 END-of-benchmarks/scimark2c/distinfo echo x - benchmarks/scimark2c/Makefile sed 's/^X//' >benchmarks/scimark2c/Makefile << 'END-of-benchmarks/scimark2c/Makefile' X# New ports collection makefile for: scimark2c X# Date created: Sat Apr 05 2003 X# Whom: thierry@pompo.net X# X# $FreeBSD$ X# X XPORTNAME= scimark2c XPORTVERSION= 2.0 XCATEGORIES= benchmarks XMASTER_SITES= http://math.nist.gov/scimark2/ XDISTNAME= ${PORTNAME} X XMAINTAINER= thierry@pompo.net XCOMMENT= An ANSI C version of the SciMark2 benchmark X XWRKSRC= ${WRKDIR} XUSE_REINPLACE= yes XUSE_ZIP= yes X XMALLOC2STD= kernel.c Stopwatch.c Random.c array.c X Xpost-patch: X.for file in ${MALLOC2STD} X @${REINPLACE_CMD} -e "s|malloc.h|stdlib.h|" ${WRKSRC}/${file} X.endfor X Xdo-install: X @${INSTALL_PROGRAM} ${WRKSRC}/scimark2 ${PREFIX}/bin X Xpost-install: X @${ECHO} "*****************************************************************************" X @${ECHO} "" X @${ECHO} " Just run scimark2 or scimark2 -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} " You may try to hack CC or CFLAGS in /etc/make.conf..." X @${ECHO} "" X @${ECHO} "*****************************************************************************" X X.include END-of-benchmarks/scimark2c/Makefile exit >Release-Note: >Audit-Trail: >Unformatted: