diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-17 14:32:40 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-17 14:32:40 +0100 |
commit | b9d1ad143f4a37061059ce69b1251e23fd760f95 (patch) | |
tree | d0cddee7bc50409a792eb5b835bfff213eedaeb0 /app-benchmarks | |
parent | b785380f2fe77ee428bed67bf6a2d43212dda192 (diff) |
gentoo auto-resync : 17:08:2022 - 14:32:40
Diffstat (limited to 'app-benchmarks')
-rw-r--r-- | app-benchmarks/Manifest.gz | bin | 4686 -> 4682 bytes | |||
-rw-r--r-- | app-benchmarks/tiobench/Manifest | 4 | ||||
-rw-r--r-- | app-benchmarks/tiobench/files/tiobench-0.4.2-fix-perl-shebang.patch | 51 | ||||
-rw-r--r-- | app-benchmarks/tiobench/files/tiobench-0.4.2-gcc5.patch | 48 | ||||
-rw-r--r-- | app-benchmarks/tiobench/tiobench-0.4.2.ebuild | 44 |
5 files changed, 0 insertions, 147 deletions
diff --git a/app-benchmarks/Manifest.gz b/app-benchmarks/Manifest.gz Binary files differindex 5634a1bdceb2..5e31f2a45819 100644 --- a/app-benchmarks/Manifest.gz +++ b/app-benchmarks/Manifest.gz diff --git a/app-benchmarks/tiobench/Manifest b/app-benchmarks/tiobench/Manifest index bde62d4c8ed6..e19ca7ee2f21 100644 --- a/app-benchmarks/tiobench/Manifest +++ b/app-benchmarks/tiobench/Manifest @@ -1,7 +1,3 @@ -AUX tiobench-0.4.2-fix-perl-shebang.patch 1530 BLAKE2B c6800722dbd5edadd1ed37142d153639c73ddc2fdba50782ddf7dda1e658108a1826411b3e3ef3e49014d8e01237969bc50e0e59725536fccb3a7866699637ed SHA512 baba72c336006d3f2c69768720bb076b8f2750d72252cf19b74e4f5b9e0140e74de1edfc63da674f26d24d675f4e00201be61f98cd7fd164b1c13cfab49f3b38 -AUX tiobench-0.4.2-gcc5.patch 1309 BLAKE2B 7c432efee2225afe0f2e35688d19b735b7cff6f21605570b70be446d1e92d6feee477403a37d83351cacec56310a2e0bdc8dc08153b4dc0631b363419a3cf784 SHA512 f462c4eab88aa707a8383fec9e6e8c15f72237ef3d67f8481d2d6abef855f68b5a4281a7a1f1668b968df988e9ac283e4aabb2dfaf68b33cd3430a90e59f97a7 -DIST tiobench-0.4.2.tar.gz 32182 BLAKE2B f3c0f78daac0dc8c38de2049f8edfce7443fb43a6aacf31a0b5c12abf80ec0ae4c03b1bd25f954db261027c16dfb73fdffe970a730a853caf25763579c2e7170 SHA512 02e82d86ee889a366c1a00d4fb49f63d926e44ba6e2f297212479a5c13abe008b62c12d44483de7e971b5ebf875d5c07847f1d69dd11b2e87a050e27d8f9f09f DIST tiobench-0.5.0.tar.gz 32897 BLAKE2B 31abe72515b8fe9c846fb8406d47292a8068ab27a6a37d3544a65a84174c6e301e19b95740896e45689ffc2dbb5b12a0927ff5147f98f8b7820bba411957239c SHA512 5e21555b4f76153537eda3e2eb4a22e40b7223870126aee64e78f9ee417b9ba8555f186b46c1e1d71b15c8512970295d57029da4ae0ce438785476ce27d7c0b5 -EBUILD tiobench-0.4.2.ebuild 891 BLAKE2B b0d207e71b29c5c5c44f38b1921f5a990c3ef47991172e48327bdf36f3d67937474de727b362c00dc2bf88b6b1ffff5dfd0bfd05fcde57deeb5168a53a9bb5e5 SHA512 2749131275caa448748c0a3e9a7741ad5b7aa6d39915f526c0863203a67074fc4cec8422ecbe3167836fa292d218119cb837585c66b6e6b876e084fcc5a9aa0d EBUILD tiobench-0.5.0.ebuild 807 BLAKE2B ef07fcd3dbf95442a1e7d43cabf5b947229be19c2799de78eb98e4bd5007f288d94a824bc9048708dc43023a846fed878a953384848f7b34ec703bde697b8a66 SHA512 986f06a37bc4d1dcfa9a2c634a867406dee3220c3c66fb351c99428800e81525bf10d564405cd0aef4f0b8af54ccd824489306a26f149a5e30ba5aef0e3a2b4b MISC metadata.xml 333 BLAKE2B db394606ad6f6e99927cebeddca546c4f2662eabe9b9f8eb3af7b40bfab848e797013d075e79bb2e2102c90f440385566fa0e6d392b96459f6396ba9d851f160 SHA512 e0bbe6750c17b4559e7eb4877f35881f2313220404bb60bd139f6195672129606058de90c6176ef0e477082e855cc12521495be37de6d7288a3b885fe1557078 diff --git a/app-benchmarks/tiobench/files/tiobench-0.4.2-fix-perl-shebang.patch b/app-benchmarks/tiobench/files/tiobench-0.4.2-fix-perl-shebang.patch deleted file mode 100644 index 900472d80dd2..000000000000 --- a/app-benchmarks/tiobench/files/tiobench-0.4.2-fix-perl-shebang.patch +++ /dev/null @@ -1,51 +0,0 @@ -Fix perl shebangs, in order to be maximally compatible with Gentoo Prefix. -Rationale: https://blogs.gentoo.org/mgorny/2016/02/08/a-quick-note-on-portable-shebangs/ - ---- a/scripts/makeimages.pl -+++ b/scripts/makeimages.pl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - - # Author: James Manning <jmm@users.sf.net> - # This software may be used and distributed according to the terms of -@@ -8,6 +8,7 @@ - # Perl wrapper for calling tiobench.pl and displaying results - # graphically using gnuplot - -+use warnings; - use strict; - - my $args = join(" ",@ARGV); ---- a/scripts/tiosum.pl -+++ b/scripts/tiosum.pl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - # Author: Randy Hron <rwhron (at) earthlink dot net> - # This software may be used and distributed according to the terms of - # the GNU General Public License, http://www.gnu.org/copyleft/gpl.html -@@ -6,6 +6,7 @@ - # Summarize output of tiobench2.pl for multiple kernels/runs. - # Assumes logfiles created with: - # ./tiobench2.pl > tiobench-`uname -r` 2> tiobench-`uname -r`.err -+use warnings; - use strict; - $|++; - ---- a/tiobench.pl -+++ b/tiobench.pl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -w -+#!/usr/bin/env perl - - # Author: James Manning <jmm at users.sf.net> - # Author: Randy Hron <rwhron at earthlink dot net> -@@ -9,6 +9,7 @@ - # Perl wrapper for calling the tiotest executable multiple times - # with varying sets of parameters as instructed - -+use warnings; - use strict; - use Getopt::Long; - diff --git a/app-benchmarks/tiobench/files/tiobench-0.4.2-gcc5.patch b/app-benchmarks/tiobench/files/tiobench-0.4.2-gcc5.patch deleted file mode 100644 index e1bf89b87ec3..000000000000 --- a/app-benchmarks/tiobench/files/tiobench-0.4.2-gcc5.patch +++ /dev/null @@ -1,48 +0,0 @@ -diff --git a/crc32.c b/crc32.c -index bae7384..a22fc5d 100644 ---- a/crc32.c -+++ b/crc32.c -@@ -72,10 +72,9 @@ static const unsigned long crctab[256] = { - 0xA2F33668, 0xBCB4666D, 0xB8757BDA, 0xB5365D03, 0xB1F740B4 - }; - --inline --unsigned long crc32( const void* buffer, -- unsigned long length, -- unsigned long crc) -+unsigned long crc32(const void* buffer, -+ unsigned long length, -+ unsigned long crc) - { - const unsigned char* cp = (const unsigned char*)buffer; - -diff --git a/crc32.h b/crc32.h -index 62b3433..cb9b96f 100644 ---- a/crc32.h -+++ b/crc32.h -@@ -18,9 +18,8 @@ - #ifndef CRC32_H - #define CRC32_H - --inline --unsigned long crc32( const void* const buffer, -- unsigned long length, -- unsigned long crc); -+unsigned long crc32(const void* const buffer, -+ unsigned long length, -+ unsigned long crc); - - #endif -diff --git a/tiotest.c b/tiotest.c -index c23ceb4..bb73fcb 100644 ---- a/tiotest.c -+++ b/tiotest.c -@@ -1392,7 +1392,7 @@ static int do_mmap_read_operation(void *loc, ThreadData *d) - - if(crc != d->bufferCrc) - { -- fprintf(stderr, "Thread(%lu) mmap consistency check failed at 0x%x\n", d->myNumber, (unsigned int)loc); -+ fprintf(stderr, "Thread(%lu) mmap consistency check failed at 0x%p\n", d->myNumber, loc); - return -1; - } - } diff --git a/app-benchmarks/tiobench/tiobench-0.4.2.ebuild b/app-benchmarks/tiobench/tiobench-0.4.2.ebuild deleted file mode 100644 index 339da5860de9..000000000000 --- a/app-benchmarks/tiobench/tiobench-0.4.2.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -DESCRIPTION="Portable, robust, fully-threaded I/O benchmark program" -HOMEPAGE="https://github.com/mkuoppal/tiobench" -SRC_URI="https://github.com/mkuoppal/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc ppc64 x86" -IUSE="" - -RDEPEND="dev-lang/perl" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-gcc5.patch - "${FILESDIR}"/${P}-fix-perl-shebang.patch -) - -src_prepare() { - default - sed -i \ - -e "s:/usr/local/bin:${EPREFIX}/usr/sbin:" tiobench.pl \ - || die "sed tiobench.pl failed" -} - -src_compile() { - emake \ - CC="$(tc-getCC)" \ - LINK="$(tc-getCC)" \ - DEFINES="-DLARGEFILES" \ - CFLAGS="${CFLAGS}" \ - LDFLAGS="${LDFLAGS}" -} - -src_install() { - dosbin tiotest tiobench.pl scripts/tiosum.pl - einstalldocs -} |