summaryrefslogtreecommitdiff
path: root/app-benchmarks/interbench
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-03-03 13:42:34 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-03-03 13:42:34 +0000
commit066d27181e9a797ad9f8fc43b49fc9a10ff2f707 (patch)
tree3cb05783d73b2c33589ba305144a31c718e123cd /app-benchmarks/interbench
parent16449a80e28af2209916cc66d19c9a44ca2b90d9 (diff)
gentoo resync : 03.03.2019
Diffstat (limited to 'app-benchmarks/interbench')
-rw-r--r--app-benchmarks/interbench/Manifest4
-rw-r--r--app-benchmarks/interbench/files/interbench-0.31-makefile.patch16
-rw-r--r--app-benchmarks/interbench/interbench-0.31.ebuild37
-rw-r--r--app-benchmarks/interbench/metadata.xml22
4 files changed, 79 insertions, 0 deletions
diff --git a/app-benchmarks/interbench/Manifest b/app-benchmarks/interbench/Manifest
new file mode 100644
index 000000000000..5356cc6907aa
--- /dev/null
+++ b/app-benchmarks/interbench/Manifest
@@ -0,0 +1,4 @@
+AUX interbench-0.31-makefile.patch 449 BLAKE2B 3c9c0dcbc35c8294ab87e8ba4bd72c5fec4a01a49857de753a95b4eb436bc72657e569ed4f9dfbb759c078a053b47830a65a2e0d72747166815cb99ba54ac8af SHA512 2f4b648bcc879bd67dca83e22198cb18ac267ecf6e923cf23fbbc00b29cf36b57d37844e8095ae6c05c74f9ed538b3ee746e0f8d391349921f4514918a71f36a
+DIST interbench-0.31.tar.gz 38791 BLAKE2B 8f5605c763be6be0fcb5b240d5022c578af98d470a8bdf61f0ebc2abe56e6439fa37b5ac4e3eae16c7aab902cc08fab25f0cb34a92c0eea05b287b7bef2abbb4 SHA512 ccad7f5a7ea10c3c56809725145bad17970c4fa8aafc4b962e4e79c56bfa05025fee140e5b70ec407158aca59bba47e6bbff14329516d9383801ffe4c0797a23
+EBUILD interbench-0.31.ebuild 607 BLAKE2B a510bbc056fda151fc77623c4c0a31308bba1ed52598627d534486a2dbcca00f33ecac961a9205daea2bad2a4fd25fb8bdf43a2be5540b01cbfdd7992c8c84be SHA512 b834ff22c11eebe0082b54071e3641d23dc7998dca6db360a84f08a9046ea621c30441516b6bfc0525be7a57475bcd54b59eec25c2a968aa1accb19eec95e3dc
+MISC metadata.xml 872 BLAKE2B fcccf6de8afd8bc7e50413fd70a604d790ed698b8cb45a2687e4e5e12b7820055d6c4bce8f355561605037331b9211a5e2f0346a663a54b4b7ba68355a5147c5 SHA512 12a54c9af0464b5732dd771eb67f52480161f7755de3c0e80975c90ba2d2887be3fcee82d6d4d8193e1a8929d1553acd9f9c9b2d892271c6bfbeffefafcc18bf
diff --git a/app-benchmarks/interbench/files/interbench-0.31-makefile.patch b/app-benchmarks/interbench/files/interbench-0.31-makefile.patch
new file mode 100644
index 000000000000..712c54f482c8
--- /dev/null
+++ b/app-benchmarks/interbench/files/interbench-0.31-makefile.patch
@@ -0,0 +1,16 @@
+--- a/Makefile 2016-10-21 04:28:00.000000000 +0200
++++ b/Makefile 2018-11-01 16:56:36.000000000 +0100
+@@ -1,8 +1,9 @@
+-CC=gcc
+-CFLAGS=-W -Wall -g -O2 -s -pipe
+-LDFLAGS=-lrt -lm -pthread
++CC ?= gcc
++CFLAGS+=-W -Wall
++LDFLAGS+=-lrt -lm -pthread
+
+-interbench: interbench.o hackbench.o -lm
++interbench: interbench.o hackbench.o
++ $(CC) $(CFLAGS) -o interbench interbench.o hackbench.o $(LDFLAGS)
+ interbench.o: interbench.c
+ hackbench.o: hackbench.c
+
diff --git a/app-benchmarks/interbench/interbench-0.31.ebuild b/app-benchmarks/interbench/interbench-0.31.ebuild
new file mode 100644
index 000000000000..bab121c0d448
--- /dev/null
+++ b/app-benchmarks/interbench/interbench-0.31.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="A Linux interactivity benchmark"
+HOMEPAGE="
+ http://interbench.kolivas.org/
+ https://github.com/ckolivas/interbench/
+"
+SRC_URI="https://github.com/ckolivas/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="GPL-2+"
+SLOT="0"
+
+PATCHES=( "${FILESDIR}/${P}-makefile.patch" )
+
+DOCS=(
+ "readme"
+ "readme.interactivity"
+)
+
+src_prepare() {
+ default
+
+ tc-export CC
+}
+
+src_install() {
+ dobin interbench
+ doman interbench.8
+
+ einstalldocs
+}
diff --git a/app-benchmarks/interbench/metadata.xml b/app-benchmarks/interbench/metadata.xml
new file mode 100644
index 000000000000..f86ed635b546
--- /dev/null
+++ b/app-benchmarks/interbench/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ck+gentoo@bl4ckb0x.de</email>
+ <name>Conrad Kostecki</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ This benchmark application is designed to benchmark interactivity in Linux.
+ It is designed to measure the effect of changes in Linux kernel design or system
+ configuration changes such as CPU, I/O scheduler and filesystem changes and options.
+ With careful benchmarking, different hardware can be compared.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://github.com/ckolivas/interbench/issues</bugs-to>
+ <remote-id type="github">ckolivas/interbench</remote-id>
+ </upstream>
+</pkgmetadata>