From nobody Tue May 31 20:29:40 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9668A1B48FE9; Tue, 31 May 2022 20:29:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LCP5d1q75z3jy7; Tue, 31 May 2022 20:29:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654028981; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=57QH2eoDjuszPhTWve4ljNPoASSVfYM7LLjx4OLxhCE=; b=bCHmBFObS80NRLjM7L/vxhW0btoyR7fzebgAqQAgDeeiSYVVhWv5gcbG3i7XfV2j0Qh43S G1v9laQYe1JLYvnn3M0LqtPK4H/SYOshPJyFzym+Bh/cXBYD9nWHMdhVdgqUK8zjU+vHsu 9nW/nigUaqzN80a/WDtlnlPeCRxGMMGXF+l3HktS7ypVOo12ibjgqUpSgXjvGtQq+Sy7z/ 4o4eGN9XB6hUM+eR8xkKFZbwyuZZYsHyjNagswy2cMZMssSw/tNLWLECQxmHAAnLmo2XGd zidZp7qi7Sr0JMJ3bB5It5hr3yo/ewq8dCN/HiGUiBG9WH1h/zy9dRDcMDpsZQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 05C9012D2E; Tue, 31 May 2022 20:29:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24VKTeos080461; Tue, 31 May 2022 20:29:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24VKTe1c080460; Tue, 31 May 2022 20:29:40 GMT (envelope-from git) Date: Tue, 31 May 2022 20:29:40 GMT Message-Id: <202205312029.24VKTe1c080460@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Thierry Thomas Subject: git: 5d8c4cc0f449 - main - benchmarks/scimark4c: repocopy from benchmarks/scimark2c List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: thierry X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5d8c4cc0f449718a678edd1cdca20ed24b612898 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654028981; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=57QH2eoDjuszPhTWve4ljNPoASSVfYM7LLjx4OLxhCE=; b=UzCI+h1ku4+uzac5kR21Ppd2h59ooEcZvSMdfHQ76CvxQt5TQVtXBYp2YMm73cotFxvGYG Ci1LZh43Z04FjxITmmjXYotlKdVwAOPtBN2OnVDywakzJPyu2Otv8tTPQCHTnL19Oti80x 6V/4PbJ8e4epVP1yFQqQqASF9w8dztZMnQY7nQg9kYL6o0R+D5pu5POQlN685WCvHo1mjT BcdmQIAVr03Bb4tr1+TphhIguTVve89CxUd56DE4j1o/wv6Y2Pjlg8Vwp/oA06wNEpTc5H oXevaG2gHC+2bmtNqfxajZ9sjrxmsH0gpMzsGw+WZE/n4+kRZjLTXyDeoGRYBg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654028981; a=rsa-sha256; cv=none; b=gD3YDhDSMvYSiEhgzEXtJS9RUpQdszjDxUHhPzkq1/p4JbubCHahkESRwYijLLdkTkOcrg k8SsQMnNj3hInnc0F5p8rLL85lixVlwa9OzlnOw0qaCgZKe1SGsuXFZa3ysM/j+qo110Lj AHQdo0nfjg+htwlODkaMkp3y94FSy3d+DWuSfDKkQ30F3ViQEsVOq2KRREYiQJ4FjR1AI6 xKUbmWk9kpUJ1jUmnwsGnZRhTiG+PLkzgbeKKk5BPHVINAfZijoCKCZH0m7jUNnqcZB6Ub rUqHAoCbLEhkNqtZRtmOoDw0dyleJxOi3AwJKHtFpi4ZWq0yaxcZHnnRXX/BDQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=5d8c4cc0f449718a678edd1cdca20ed24b612898 commit 5d8c4cc0f449718a678edd1cdca20ed24b612898 Author: Thierry Thomas AuthorDate: 2022-05-31 17:08:27 +0000 Commit: Thierry Thomas CommitDate: 2022-05-31 20:27:41 +0000 benchmarks/scimark4c: repocopy from benchmarks/scimark2c Release notes at . --- benchmarks/Makefile | 1 + benchmarks/scimark4c/Makefile | 22 +++++++++++++++++++ benchmarks/scimark4c/distinfo | 3 +++ benchmarks/scimark4c/files/patch-Makefile | 33 +++++++++++++++++++++++++++++ benchmarks/scimark4c/files/patch-scimark4.c | 11 ++++++++++ benchmarks/scimark4c/pkg-descr | 10 +++++++++ benchmarks/scimark4c/pkg-message | 12 +++++++++++ 7 files changed, 92 insertions(+) diff --git a/benchmarks/Makefile b/benchmarks/Makefile index 1c2dc63ad114..8adc930b9aec 100644 --- a/benchmarks/Makefile +++ b/benchmarks/Makefile @@ -87,6 +87,7 @@ SUBDIR += rubygem-railsbench SUBDIR += scimark2 SUBDIR += scimark2c + SUBDIR += scimark4c SUBDIR += shellbench SUBDIR += siege SUBDIR += sipp diff --git a/benchmarks/scimark4c/Makefile b/benchmarks/scimark4c/Makefile new file mode 100644 index 000000000000..56278b060372 --- /dev/null +++ b/benchmarks/scimark4c/Makefile @@ -0,0 +1,22 @@ +# Created by: thierry@pompo.net + +PORTNAME= scimark4c +PORTVERSION= 4 +CATEGORIES= benchmarks +MASTER_SITES= http://math.nist.gov/scimark2/ +DISTNAME= ${PORTNAME} + +MAINTAINER= thierry@FreeBSD.org +COMMENT= ANSI C version of the SciMark2 benchmark + +LICENSE= PD + +USES= zip + +WRKSRC= ${WRKDIR}/${PORTNAME:C/4c/4/} +PLIST_FILES= bin/scimark4 + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/scimark4 ${STAGEDIR}${PREFIX}/bin + +.include diff --git a/benchmarks/scimark4c/distinfo b/benchmarks/scimark4c/distinfo new file mode 100644 index 000000000000..58d5ee3888dc --- /dev/null +++ b/benchmarks/scimark4c/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1654017050 +SHA256 (scimark4c.zip) = 91c839bca629d01efe6c2fc298530efed330c5ff6aea7bee16fd2f452cb731b1 +SIZE (scimark4c.zip) = 17348 diff --git a/benchmarks/scimark4c/files/patch-Makefile b/benchmarks/scimark4c/files/patch-Makefile new file mode 100644 index 000000000000..600224ab9225 --- /dev/null +++ b/benchmarks/scimark4c/files/patch-Makefile @@ -0,0 +1,33 @@ +--- Makefile.orig 2018-06-22 16:46:28 UTC ++++ Makefile +@@ -6,19 +6,19 @@ + all: scimark4 + + +-CC = icc +-CFLAGS = -O3 -fno-alias -parallel -par-num-threads=4 ++#CC = icc ++#CFLAGS = -O3 -fno-alias -parallel -par-num-threads=4 + + +-CC = gcc +-CC = cc +-LDFLAGS = +-CFLAGS = -O3 -funroll-all-loops -mtune=prescott +-CFLAGS = -O3 -funroll-all-loops -Wall -pedantic -flto +-CFLAGS = -O3 -funroll-all-loops -Wall -pedantic -flto +-CFLAGS = -O3 -funroll-loops -Wall -pedantic -flto +-CFLAGS = -O3 -funroll-all-loops -Wall -pedantic -ansi +-CFLAGS = -O3 -funroll-loops -Wall -pedantic -ansi ++#CC = gcc ++#CC = cc ++#LDFLAGS = ++#CFLAGS = -O3 -funroll-all-loops -mtune=prescott ++#CFLAGS = -O3 -funroll-all-loops -Wall -pedantic -flto ++#CFLAGS = -O3 -funroll-all-loops -Wall -pedantic -flto ++#CFLAGS = -O3 -funroll-loops -Wall -pedantic -flto ++#CFLAGS = -O3 -funroll-all-loops -Wall -pedantic -ansi ++#CFLAGS = -O3 -funroll-loops -Wall -pedantic -ansi + + OBJS = FFT.o kernel.o Stopwatch.o Random.o SOR.o SparseCompRow.o \ + array.o MonteCarlo.o LU.o scimark4.o diff --git a/benchmarks/scimark4c/files/patch-scimark4.c b/benchmarks/scimark4c/files/patch-scimark4.c new file mode 100644 index 000000000000..5b78988b55f9 --- /dev/null +++ b/benchmarks/scimark4c/files/patch-scimark4.c @@ -0,0 +1,11 @@ +--- scimark4.c.orig 2018-07-29 20:02:32 UTC ++++ scimark4.c +@@ -106,7 +106,7 @@ int main(int argc, char *argv[]) + + + print_banner(); +- printf("Using %10.2f seconds min time per kenel.", min_time); ++ printf("Using %10.2f seconds min time per kernel.", min_time); + if (huge_flag) + { + printf(" Approx. problem size: %d (MB)", atoi(argv[2])); diff --git a/benchmarks/scimark4c/pkg-descr b/benchmarks/scimark4c/pkg-descr new file mode 100644 index 000000000000..37712f8a9742 --- /dev/null +++ b/benchmarks/scimark4c/pkg-descr @@ -0,0 +1,10 @@ +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. + +Version 4.0 of the software has added check-sum counters to adequately test +newer optimizing compilers. + +Results of this benchmark can be sent to pozo@nist.gov. + +WWW: https://math.nist.gov/scimark2/download_c.html diff --git a/benchmarks/scimark4c/pkg-message b/benchmarks/scimark4c/pkg-message new file mode 100644 index 000000000000..f4e9d8779df2 --- /dev/null +++ b/benchmarks/scimark4c/pkg-message @@ -0,0 +1,12 @@ +[ +{ type: install + message: <