1 |
commit: 4aba3bc16d6a3ed6e4d4e1203126933267373195 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 27 23:04:55 2018 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 28 02:06:58 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aba3bc1 |
7 |
|
8 |
app-benchmarks/iozone: bump to v3.484 |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
12 |
|
13 |
app-benchmarks/iozone/Manifest | 1 + |
14 |
app-benchmarks/iozone/iozone-3.484.ebuild | 77 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 78 insertions(+) |
16 |
|
17 |
diff --git a/app-benchmarks/iozone/Manifest b/app-benchmarks/iozone/Manifest |
18 |
index a9b5c023d55..b4e1bf07cb7 100644 |
19 |
--- a/app-benchmarks/iozone/Manifest |
20 |
+++ b/app-benchmarks/iozone/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST iozone3_471.tar 1853440 BLAKE2B 280c821a439ad1bacbd749278385481678d644a59c14395482c8a088b0578285f389f376fb32ce3c3abde598f50d693fb0c7c9a3d6597765547a71c76d21ea1c SHA512 c61b2b8b5af3dccdb99b26aef8a0a4f2f5f467fc3985ac72ed4bb4fb36e4b7684ca6dbaa5bbc05ae0a4e73852e048e9fd2495eda9313f5abc4e631499d683aec |
23 |
+DIST iozone3_484.tar 1863680 BLAKE2B 72d3d3125aec2dfc504bb00684ef325e85edffe0d6efcd519cd692cfa2b9b792a44c00313dc96eabbbb3ab850a7a440b3ca3d5b955c4f6092b08f92ebe5c332b SHA512 bb1ac0c1724a5d3c20e90c56c0b4a438b4aa50384cddc76f4b77f2c465f052fd3fae9217b77688a2c6caf5e90611123a97ea0cd8074b3678068a90e6dd7857b7 |
24 |
|
25 |
diff --git a/app-benchmarks/iozone/iozone-3.484.ebuild b/app-benchmarks/iozone/iozone-3.484.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..cc8b0d30da9 |
28 |
--- /dev/null |
29 |
+++ b/app-benchmarks/iozone/iozone-3.484.ebuild |
30 |
@@ -0,0 +1,77 @@ |
31 |
+# Copyright 1999-2018 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI="7" |
35 |
+ |
36 |
+# TODO |
37 |
+# -> linux-arm (32bit) <- |
38 |
+# -> linux-AMD64 (64bit) <- |
39 |
+# -> linux-ia64 (64bit) <- |
40 |
+# -> linux-powerpc (32bit) <- |
41 |
+# -> linux-powerpc64 (64bit) <- |
42 |
+# -> linux-S390 (32bit) <- |
43 |
+# -> linux-S390X (64bit) <- |
44 |
+# |
45 |
+# -> freebsd (32bit) <- |
46 |
+# -> macosx (32bit) <- |
47 |
+# -> netbsd (32bit) <- |
48 |
+# -> openbsd (32bit) <- |
49 |
+# -> openbsd-threads (32bit) <- |
50 |
+# |
51 |
+# ~ia64 ~s390 alpha(?) x86-fbsd |
52 |
+ |
53 |
+inherit toolchain-funcs |
54 |
+ |
55 |
+DESCRIPTION="Filesystem benchmarking program" |
56 |
+HOMEPAGE="http://www.iozone.org/" |
57 |
+SRC_URI="http://www.iozone.org/src/current/${PN}${PV/./_}.tar" |
58 |
+ |
59 |
+LICENSE="freedist" |
60 |
+SLOT="0" |
61 |
+KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
62 |
+IUSE="" |
63 |
+ |
64 |
+S=${WORKDIR}/${PN}${PV/./_} |
65 |
+ |
66 |
+src_prepare() { |
67 |
+ default |
68 |
+ |
69 |
+ # Options FIX |
70 |
+ sed -i -e "s:CC =.*:CC =$(tc-getCC):g" \ |
71 |
+ -e "s:-O3:${CFLAGS}:g" src/current/makefile || die |
72 |
+} |
73 |
+ |
74 |
+src_configure() { |
75 |
+ case ${ARCH} in |
76 |
+ x86|alpha) PLATFORM="linux";; |
77 |
+ arm) PLATFORM="linux-arm";; |
78 |
+ ppc) PLATFORM="linux-powerpc";; |
79 |
+ ppc64) PLATFORM="linux-powerpc64";; |
80 |
+ amd64) PLATFORM="linux-AMD64";; |
81 |
+ ia64) PLATFORM="linux-ia64";; |
82 |
+ s390) PLATFORM="linux-S390";; |
83 |
+ x86-fbsd) PLATFORM="freebsd";; |
84 |
+ *) PLATFORM="linux-${ARCH}";; |
85 |
+ esac |
86 |
+} |
87 |
+ |
88 |
+src_compile() { |
89 |
+ emake -C src/current ${PLATFORM} |
90 |
+} |
91 |
+ |
92 |
+src_test() { |
93 |
+ cd "${T}" || die |
94 |
+ "${S}"/src/current/iozone testfile || die "self test failed" |
95 |
+} |
96 |
+ |
97 |
+src_install() { |
98 |
+ dosbin src/current/{iozone,fileop} |
99 |
+ |
100 |
+ # decompress pre-compressed file to make QA check happy |
101 |
+ gzip -d docs/Iozone_ps.gz || die |
102 |
+ |
103 |
+ dodoc docs/I* docs/Run_rules.doc src/current/Changes.txt |
104 |
+ doman docs/iozone.1 |
105 |
+ cd src/current || die |
106 |
+ dodoc Generate_Graphs Gnuplot.txt gengnuplot.sh gnu3d.dem |
107 |
+} |