From 589c5c042315f8bc8dd2127bcc8bdfc37dd623c1 Mon Sep 17 00:00:00 2001 From: Ettore Chimenti Date: Fri, 12 Sep 2025 19:36:09 +0200 Subject: [PATCH 1/3] pts/byte-1.4.0: bump to 6.0.0 upstream Signed-off-by: Ettore Chimenti --- pts/byte-1.4.0/downloads.xml | 13 ++++++++ pts/byte-1.4.0/install.sh | 13 ++++++++ pts/byte-1.4.0/results-definition.xml | 16 +++++++++ pts/byte-1.4.0/test-definition.xml | 48 +++++++++++++++++++++++++++ 4 files changed, 90 insertions(+) create mode 100644 pts/byte-1.4.0/downloads.xml create mode 100644 pts/byte-1.4.0/install.sh create mode 100644 pts/byte-1.4.0/results-definition.xml create mode 100644 pts/byte-1.4.0/test-definition.xml diff --git a/pts/byte-1.4.0/downloads.xml b/pts/byte-1.4.0/downloads.xml new file mode 100644 index 00000000..082666b2 --- /dev/null +++ b/pts/byte-1.4.0/downloads.xml @@ -0,0 +1,13 @@ + + + + + + https://github.com/kdlucas/byte-unixbench/archive/refs/tags/v6.0.0.zip + 722d6133f0161a9cf1f9946ce4b5aa09 + 469fb21c66d2075b0c72702e404137bfd590650231bade4d04f4ebf416fe3d46 + byte-unixbench-6.0.0.zip + 174389 + + + diff --git a/pts/byte-1.4.0/install.sh b/pts/byte-1.4.0/install.sh new file mode 100644 index 00000000..a621ad74 --- /dev/null +++ b/pts/byte-1.4.0/install.sh @@ -0,0 +1,13 @@ +#!/bin/sh +unzip -o byte-unixbench-6.0.0.zip +cd byte-unixbench-6.0.0/UnixBench + +make clean +make +echo $? > ~/install-exit-status +cd ~ +echo "#!/bin/sh +rm -f result +cd byte-unixbench-6.0.0/UnixBench +./Run \$1 > \$LOG_FILE" > byte +chmod +x byte diff --git a/pts/byte-1.4.0/results-definition.xml b/pts/byte-1.4.0/results-definition.xml new file mode 100644 index 00000000..bcd33b57 --- /dev/null +++ b/pts/byte-1.4.0/results-definition.xml @@ -0,0 +1,16 @@ + + + + + join: file 2 is not in sorted order +Dhrystone 2 without register variables #_RESULT_# lps (10 secs, 6 samples) + lps + lps + + + Double-Precision Whetstone #_RESULT_# MWIPS (10.0 s, 7 samples) + MWIPS + MWIPS + MWIPS + + diff --git a/pts/byte-1.4.0/test-definition.xml b/pts/byte-1.4.0/test-definition.xml new file mode 100644 index 00000000..1fbce7c4 --- /dev/null +++ b/pts/byte-1.4.0/test-definition.xml @@ -0,0 +1,48 @@ + + + + + BYTE Unix Benchmark + 6.0.0-git + This is a test of the BYTE Unix Benchmark. + LPS + HIB + 3 + + + 1.4.0 + Linux, Solaris, MacOSX, BSD + Utility + Processor + Free + Verified + build-utilities + 1.0 + https://github.com/kdlucas/byte-unixbench + Michael Larabel + + + + + From 4337f14ed56b3f95fe6448da504f3dfa50669438 Mon Sep 17 00:00:00 2001 From: Ettore Chimenti Date: Fri, 12 Sep 2025 19:38:21 +0200 Subject: [PATCH 2/3] pts/byte-1.4.0: Fix build for new compilers See https://github.com/kdlucas/byte-unixbench/issues/118 --- pts/byte-1.4.0/install.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/pts/byte-1.4.0/install.sh b/pts/byte-1.4.0/install.sh index a621ad74..4b585261 100644 --- a/pts/byte-1.4.0/install.sh +++ b/pts/byte-1.4.0/install.sh @@ -2,6 +2,22 @@ unzip -o byte-unixbench-6.0.0.zip cd byte-unixbench-6.0.0/UnixBench +patch -p2 <<'EOL' +diff --git a/UnixBench/Makefile b/UnixBench/Makefile +index 3169c03..f0c4cf0 100644 +--- a/UnixBench/Makefile ++++ b/UnixBench/Makefile +@@ -85,7 +85,7 @@ else + + ## gcc optimization flags + ## (-ffast-math) disables strict IEEE or ISO rules/specifications for math funcs +- OPTON = -O3 -ffast-math ++ OPTON = -O3 -ffast-math -std=c89 + + ## OS detection. Comment out if gmake syntax not supported by other 'make'. + OSNAME:=$(shell uname -s) +EOL + make clean make echo $? > ~/install-exit-status From 7f2643f7a734bf7146d1bcb20e92ff5a8119968c Mon Sep 17 00:00:00 2001 From: Ettore Chimenti Date: Fri, 12 Sep 2025 19:58:03 +0200 Subject: [PATCH 3/3] pts/byte-1.4.0: optimize test run times Run multi-core test only and for 1 iteration, delegating multiple run iteration to pts. Signed-off-by: Ettore Chimenti --- pts/byte-1.4.0/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pts/byte-1.4.0/install.sh b/pts/byte-1.4.0/install.sh index 4b585261..85907d88 100644 --- a/pts/byte-1.4.0/install.sh +++ b/pts/byte-1.4.0/install.sh @@ -25,5 +25,5 @@ cd ~ echo "#!/bin/sh rm -f result cd byte-unixbench-6.0.0/UnixBench -./Run \$1 > \$LOG_FILE" > byte +./Run -i 1 -c \$(nproc) \$1 > \$LOG_FILE" > byte chmod +x byte