summaryrefslogtreecommitdiff
path: root/app-benchmarks
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-23 06:31:00 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-23 06:31:00 +0000
commit338095605b6c9c82690f77f27a32490c9a57bdcb (patch)
tree72a4d7ec7ba10ea6da4d4f7d25b68915b12edde6 /app-benchmarks
parent5a2cecfc8661e1d3a762adf05cf8eb142cd41710 (diff)
gentoo auto-resync : 23:12:2024 - 06:31:00
Diffstat (limited to 'app-benchmarks')
-rw-r--r--app-benchmarks/Manifest.gzbin4849 -> 4853 bytes
-rw-r--r--app-benchmarks/iozone/Manifest1
-rw-r--r--app-benchmarks/iozone/iozone-3.506-r1.ebuild78
3 files changed, 79 insertions, 0 deletions
diff --git a/app-benchmarks/Manifest.gz b/app-benchmarks/Manifest.gz
index 7135393ee98e..9bff68722c87 100644
--- a/app-benchmarks/Manifest.gz
+++ b/app-benchmarks/Manifest.gz
Binary files differ
diff --git a/app-benchmarks/iozone/Manifest b/app-benchmarks/iozone/Manifest
index 6d3d83acac46..9aba03b07066 100644
--- a/app-benchmarks/iozone/Manifest
+++ b/app-benchmarks/iozone/Manifest
@@ -3,5 +3,6 @@ AUX iozone-3.506-include-function-parameters.patch 813 BLAKE2B b52be1c19d8fe6005
DIST iozone3_488.tar 1873920 BLAKE2B 60e97d588a273c1af7a8c83ec207593fcf43766f92171774b974aa04a8df690a1a84aae4b448e4a6f9e4e9c7dc3cd98ad327a0ea196779e6dbe3a88326314eaf SHA512 033f9e6e7395fe84ae6f4ae8737544e399ac0f16e82ba95eed2a2d0df52b7efcbe0c9282abc68d3c5b53d859073c74bff2e8c34bc35e1e1cc887ed36ad5d840b
DIST iozone3_506.tar 1894400 BLAKE2B 7434b691114aa5fabe10d659d47abe60b7efd76b75dff1c6cd0fc9205807f48cb3452022dc300b454acfbcf07df26f972ffa5ff62b51fa858eecb0340fb26402 SHA512 908919aef957ee587e23ab1d29c0e7cdb985caa1ec80ddee0d3fcdad8aa78978de0f8fc83161b37223237119c50e0626a8366ce6b29debefbfee00240e97105e
EBUILD iozone-3.488.ebuild 1610 BLAKE2B 2d7de136d82ccebe3935cb9df1a91debb6d3a678c0487bb27ad724c639f834af09d324644f0faa964df8f02db69d0cb63f529153083ca6ee8129357c82ce9aa2 SHA512 4d9b5796c2b765a0b932c0062d8ab7e04082f713265ee0b7bd8cef7321d25d34eca628b9b9a003707a19f32a13fcfbe706be4914f7b6bdeb7394d89e5e4abd72
+EBUILD iozone-3.506-r1.ebuild 1822 BLAKE2B 00b26b01e530bdcad117e108482afdc1fc529ce13bc87f8211a13bc745f214fb479d175c20629a646acf3bc93c6429f540d7f99665e9b90d773fd1738a532459 SHA512 213f9b3a4ae513d7c7f6a64874ccb135f1fd59e24658ef792f26e8a4b822561cec5e84e3c1e603a8adec25fa6d859ac41a8b0b9b7063fe2a847e257114f90ca5
EBUILD iozone-3.506.ebuild 1756 BLAKE2B b9932a33468a46984ad9509affb9989bd496c808fc33619478b06ab5f2c6a9241a9052e9caab9bfe1a058a6498fbf4a47c873c9183c2d18487548c741c00cf18 SHA512 268a89369f9fac5a9ac35f7327ad36ba66ef61376f3b041d01e37c68c3e7490298ca0d1f511aa653b749ee8538b179667b590ffd930cf8f2e1d850f722dd0d7a
MISC metadata.xml 250 BLAKE2B 0bf33d84e86ff8a3136c4f1c212083d26c325637069dc3fe836c3dc8f14ea05f81c3b00fa9af13ed95009d827254ac3e56267f890575ae56119bc603ed5666b7 SHA512 6adc5af98e2cbdadd61377d191bdf9ce50e9f0b29c87e611b4bb2afc0824878a3fe20e06db970b59e04360d930a333eaf0b6191933f52d9dcffedb59943fe6aa
diff --git a/app-benchmarks/iozone/iozone-3.506-r1.ebuild b/app-benchmarks/iozone/iozone-3.506-r1.ebuild
new file mode 100644
index 000000000000..fb3c81a83541
--- /dev/null
+++ b/app-benchmarks/iozone/iozone-3.506-r1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Filesystem benchmarking program"
+HOMEPAGE="http://www.iozone.org/"
+SRC_URI="http://www.iozone.org/src/current/${PN}${PV/./_}.tar"
+S="${WORKDIR}/${PN}${PV/./_}"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.506-include-function-parameters.patch
+)
+
+src_prepare() {
+ default
+
+ # Options FIX
+ sed -e '/CC =.*/d' \
+ -e 's:-O[23]:$(CFLAGS):g' \
+ -e 's:-Dlinux:$(LDFLAGS) -Dlinux:g' \
+ -i src/current/makefile || die
+}
+
+src_configure() {
+ tc-export CC
+
+ case ${ARCH} in
+ x86|alpha|riscv) PLATFORM="linux";;
+ arm) PLATFORM="linux-arm";;
+ ppc) PLATFORM="linux-powerpc";;
+ ppc64) PLATFORM="linux-powerpc64";;
+ amd64) PLATFORM="linux-AMD64";;
+ ia64) PLATFORM="linux-ia64";;
+ s390) PLATFORM="linux-S390";;
+ *) PLATFORM="linux-${ARCH}";;
+ esac
+
+ # makefile uses $(GCC) in a few places, probably
+ # by mistake.
+ export GCC="$(tc-getCC)"
+
+ # bug #942587
+ append-lfs-flags
+
+ append-cflags -std=gnu17
+
+ # Otherwise it uses K&R function declaration where ints are sometimes omited
+ # https://bugs.gentoo.org/894334
+ append-cppflags -DHAVE_ANSIC_C
+}
+
+src_compile() {
+ emake -C src/current ${PLATFORM}
+}
+
+src_test() {
+ cd "${T}" || die
+ "${S}"/src/current/iozone testfile || die "self test failed"
+}
+
+src_install() {
+ dosbin src/current/{iozone,fileop}
+
+ # decompress pre-compressed file to make QA check happy
+ gunzip docs/Iozone_ps.gz || die
+
+ dodoc docs/I* docs/Run_rules.doc src/current/Changes.txt
+ doman docs/iozone.1
+ cd src/current || die
+ dodoc Generate_Graphs Gnuplot.txt gengnuplot.sh gnu3d.dem
+}