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..85907d88 --- /dev/null +++ b/pts/byte-1.4.0/install.sh @@ -0,0 +1,29 @@ +#!/bin/sh +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 +cd ~ +echo "#!/bin/sh +rm -f result +cd byte-unixbench-6.0.0/UnixBench +./Run -i 1 -c \$(nproc) \$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 + + + + +