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