diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-benchmarks/acovea |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-benchmarks/acovea')
-rw-r--r-- | app-benchmarks/acovea/Manifest | 12 | ||||
-rw-r--r-- | app-benchmarks/acovea/acovea-5.1.1-r1.ebuild | 48 | ||||
-rw-r--r-- | app-benchmarks/acovea/acovea-5.1.1.ebuild | 47 | ||||
-rw-r--r-- | app-benchmarks/acovea/files/acovea-5.1.1-asneeded.patch | 16 | ||||
-rw-r--r-- | app-benchmarks/acovea/files/acovea-5.1.1-free-fix.patch | 12 | ||||
-rw-r--r-- | app-benchmarks/acovea/files/acovea-5.1.1-gcc44.patch | 14 | ||||
-rw-r--r-- | app-benchmarks/acovea/files/acovea-5.1.1-glibc-212.patch | 12 | ||||
-rw-r--r-- | app-benchmarks/acovea/files/acovea-5.1.1-libevocosm.patch | 119 | ||||
-rw-r--r-- | app-benchmarks/acovea/files/acovea-5.1.1-underlinking.patch | 10 | ||||
-rw-r--r-- | app-benchmarks/acovea/metadata.xml | 8 |
10 files changed, 298 insertions, 0 deletions
diff --git a/app-benchmarks/acovea/Manifest b/app-benchmarks/acovea/Manifest new file mode 100644 index 000000000000..24cb884f28e6 --- /dev/null +++ b/app-benchmarks/acovea/Manifest @@ -0,0 +1,12 @@ +AUX acovea-5.1.1-asneeded.patch 365 SHA256 f588beca58a484c73cb7430ba2315d61cb7de8bb0655a63046d28fb4fecb4a42 SHA512 be35c0d09951819c757508043de1d73ffa9465ed959413c396bf6d66fd9f1bfaef6c179b4de7179f8ae01fab916162ddb939845c3dc9eb66c9248687a5490e66 WHIRLPOOL 9ea592f20cdbbd6350cb438f3ac263b260d4247a008050af706d29032c3cf0ec998925f7b17f400ffbb07264898c66edf8c036023e36514d9f5039e475e49e87 +AUX acovea-5.1.1-free-fix.patch 267 SHA256 ecfa5e0620ad8d07c67fa4cd1dc49291b935fce36231814d378e5af8520dc76c SHA512 29cf58e1cb2c7b81237aba22965f3d9265e2b9267336537757e20f54c60ba1dc45760d7d74f16797edc1205b24c0a174d4cd8a986b7e8886afe494a1ef1d7fff WHIRLPOOL 35e23663ae0fa84f90477693e577fd4a10a2fc3d09a9b96e7c1e9c1a84c238843b6b0334961788a913a2706d2752814dae04731c5a9c2b5e31f72439aa17ee06 +AUX acovea-5.1.1-gcc44.patch 281 SHA256 f492170e2b95eedd669ce23ba69dafa500b746c2936fb2be5e0ff88dfcbe86ca SHA512 90b5d7237cb1387248b4e1a688df228bb7c258830654fea661b121a481e81bc201391be11eeaea7bb05a537fa59fdac5d278f6f5fdb596c228d8ed10ce05d267 WHIRLPOOL 049d999e7a669a47f07fc35f751a1a18f91c5a84822dab5e95d369e6001aa805f8da858eb924511471c75b71ba4e7c075adf761ee6a5214134b05b8ec401e6f2 +AUX acovea-5.1.1-glibc-212.patch 231 SHA256 6f0e34d65bf4a4938357f04489360ff555192c13f66eda1244ceaeaddf7fce83 SHA512 c126096e8d92a8954136ef30f29aef110c427079d1fcf5b836ac2e53a9c6903b76675e3c5e2f3caf18ef73754fdd5d314d55665fa94c6bdd782faa4b97770775 WHIRLPOOL 119d32d85921c31efee79f5d5b467ad5d70b304a87987ee4554577ea2abc0d227fe8fcc61cb8b6254d009a622f65350d8830f7975e7c816f8160a166eadae528 +AUX acovea-5.1.1-libevocosm.patch 3527 SHA256 18ae32d3cfb70265d5a30b48d6111fc177ccb446b16416d39f3de425a1a40ee0 SHA512 f5161d0b9b76dbaea3708c3a2947966e13da12e9430c347efe75e069dff769812628c6225f42263e3a735ca829e38e4329ab14e80d1cfffce98ca8b61b03cafb WHIRLPOOL a9e75d01836053f5ac2eb0a7a835c2e9c313d016eb9cff97433d0e1d53a7c93d208b75aeded1b6a617f328e7c140d49027c1b6d65be4cabaa94fd46f9252e6c2 +AUX acovea-5.1.1-underlinking.patch 327 SHA256 4bcf41bd35dc04048eaef383c2beb67306850ddc9499e8afe70cdcd1ddf8094d SHA512 cc185181899cef9a6e1b830663a179b61170a47cbc1568ee6fd71756cee3ccc605a4568528384b9b24a7b7b4758e70f5bcf523d4ea044b31667bb024293eb883 WHIRLPOOL 9068015e8133626d9d170f46e009c79ae498ccb680b5657f6ff8e2d6094f6fdbccb7f07ef54ed8402fa7a33e55cbcb3b4b98beb57b0c33e3f395ac23c7ee3a74 +DIST libacovea-5.1.1.tar.gz 363048 SHA256 e84167ac683e6bf7720bd3edf1fc60e77961eb489d31fa2c1d0a34e7d67ae079 SHA512 47ac88d713004ccdbf31c29bd5ead3e9d869eee262f2c12e12bf9aa7ec177d2c1e175908704cd5463b314752692edcd98d69408dbeb5873caff1745535a3a365 WHIRLPOOL 420b6ec243a0e94a532091c1efebd37e42775db7c3402066849003f5325bf81ff0b87c64e6d0771dc1ccd6615484aebe1d40fec5e7ab19879596454a3cb95a4f +EBUILD acovea-5.1.1-r1.ebuild 1099 SHA256 6c8d20deac5b49b696d2cf1aca5980d331888c671bab09b4e809c62f20240acd SHA512 8738f812088fd73c3583f17cce6af8885f87a65de608a688592c19d941505239719cda161eb2062215704d1b5380842f7b92cdc1a0966ed7b983415e2a0af82c WHIRLPOOL c7f7d93719981e56d3e96db923fc8a42caedcaf96593d5c4a6efce2278911a5ec872608c9abf4b0ddc57fa2b1d5d0e6715b7d1db4b1f8a0eda11bd82d7d9cc43 +EBUILD acovea-5.1.1.ebuild 1057 SHA256 5f63e0c902ba5683273062d0fb955f5eda265422f3835998eee004a6d776a030 SHA512 54def173fd2bd5049bb044ce6e648ecdaee76ee9e0930bf41d1875105b2395554edcb31398c538f33db1b94ded703128287922cef38511d3b532472429ec272c WHIRLPOOL 672c32c4bb928be55a5469e9c72e5fbc8929fd04e6c7dbe06a09955d86f376cbc6a2b61c0f7fff4b6f27c2dc7b35587e7d8e811d959868f7fc779fa05eb32c18 +MISC ChangeLog 2712 SHA256 a69345c84bdd814e338c6efaac4479f263b361dc18fbb81eef931d4d07ba3598 SHA512 1a020272ba4692566175723483617abaa2e0c21b66692ad8e9fef641775b81562ecddd34bdd791164c2ade827376cd809be1b33f2b50ae030919805aa221ae7b WHIRLPOOL 07140dc545ee7f3e4fda7641e377d7542489847ff9a08e2fc4b39d23bd957ca80a61e68028724e6bc36b87682fc9838a532afd1f7d6dfdbb700b6cabbce17477 +MISC ChangeLog-2015 3142 SHA256 b47ba0f5059970e5ae2bb779038d8330be0b6b898557bfa2b807994b908f61ab SHA512 35bdf9143a45c22ef00c6a9d9b4d8d3ffd525ebacc64c59aaa87f04d5df24fe469180a740f54989240de4f172c7e805b08bd93ab6f7a5235407b07968dee0ce9 WHIRLPOOL 9b20374629b5051f0e68345affc328e04bdd646ff72ab928ee3d0e3c4acf99a33fcd33c3a008fe6942243d0cdc38a313dd8472054d6a7940aeed24a0d6960587 +MISC metadata.xml 247 SHA256 0deec0776f26fb762fdf7711f4589b14f52a2456436ef557eec62a2cf2fb2bb7 SHA512 29cf52c16b0cce69899d9c2da8acd9144b7d760442aa323b854dceadb42459e009545193b1df7911ac2241b59f4819b4a6bb1d206d6f57953f770031433bb6b7 WHIRLPOOL a135fa622e99d3dcdb432bc6b3c366076b3d86b4bfd9a76c852d781b8e9152541c7e7a2c7c6d6a3c4d2200dce792847a08166aaf7c17c22b6299dfe868234dec diff --git a/app-benchmarks/acovea/acovea-5.1.1-r1.ebuild b/app-benchmarks/acovea/acovea-5.1.1-r1.ebuild new file mode 100644 index 000000000000..5e0202450e7d --- /dev/null +++ b/app-benchmarks/acovea/acovea-5.1.1-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=2 +WANT_AUTOMAKE=1.9 +inherit autotools eutils + +DESCRIPTION="Analysis of Compiler Options via Evolutionary Algorithm" +HOMEPAGE="http://www.coyotegulch.com/products/acovea/" +SRC_URI="http://www.coyotegulch.com/distfiles/lib${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="static-libs" + +RDEPEND=">=dev-libs/libcoyotl-3.1.0 + >=dev-libs/libevocosm-3.1.0 + dev-libs/expat" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/lib${P} + +src_prepare() { + epatch "${FILESDIR}"/${P}-asneeded.patch \ + "${FILESDIR}"/${P}-free-fix.patch \ + "${FILESDIR}"/${P}-gcc44.patch \ + "${FILESDIR}"/${P}-glibc-212.patch \ + "${FILESDIR}"/${P}-underlinking.patch + + if has_version ">=dev-libs/libevocosm-3.3.0"; then + epatch "${FILESDIR}"/${P}-libevocosm.patch + fi + + eautomake +} + +src_configure() { + econf \ + --disable-dependency-tracking \ + $(use_enable static-libs static) +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc ChangeLog NEWS README + find "${D}" -name '*.la' -exec rm -f '{}' + +} diff --git a/app-benchmarks/acovea/acovea-5.1.1.ebuild b/app-benchmarks/acovea/acovea-5.1.1.ebuild new file mode 100644 index 000000000000..63623ba07e28 --- /dev/null +++ b/app-benchmarks/acovea/acovea-5.1.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +WANT_AUTOMAKE=1.9 +inherit autotools eutils + +DESCRIPTION="Analysis of Compiler Options via Evolutionary Algorithm" +HOMEPAGE="http://www.coyotegulch.com/products/acovea/" +SRC_URI="http://www.coyotegulch.com/distfiles/lib${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="static-libs" + +RDEPEND=">=dev-libs/libcoyotl-3.1.0 + >=dev-libs/libevocosm-3.1.0 + dev-libs/expat" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/lib${P} + +src_prepare() { + epatch "${FILESDIR}"/${P}-asneeded.patch \ + "${FILESDIR}"/${P}-free-fix.patch \ + "${FILESDIR}"/${P}-gcc44.patch \ + "${FILESDIR}"/${P}-glibc-212.patch + + if has_version ">=dev-libs/libevocosm-3.3.0"; then + epatch "${FILESDIR}"/${P}-libevocosm.patch + fi + + eautomake +} + +src_configure() { + econf \ + --disable-dependency-tracking \ + $(use_enable static-libs static) +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc ChangeLog NEWS README + find "${D}" -name '*.la' -exec rm -f '{}' + +} diff --git a/app-benchmarks/acovea/files/acovea-5.1.1-asneeded.patch b/app-benchmarks/acovea/files/acovea-5.1.1-asneeded.patch new file mode 100644 index 000000000000..8bfb8a175550 --- /dev/null +++ b/app-benchmarks/acovea/files/acovea-5.1.1-asneeded.patch @@ -0,0 +1,16 @@ +--- cmdline/Makefile.am ++++ cmdline/Makefile.am +@@ -7,4 +7,4 @@ + + runacovea_SOURCES = runacovea.cpp + +-LIBS = -L../libacovea -lacovea -lcoyotl -levocosm -lexpat ++LIBS = -L../libacovea -lacovea -lcoyotl -levocosm +--- libacovea/Makefile.am ++++ libacovea/Makefile.am +@@ -16,3 +16,5 @@ + library_include_HEADERS = $(h_sources) + + DEFS=-I. -I$(srcdir) ++ ++LIBS = -lexpat diff --git a/app-benchmarks/acovea/files/acovea-5.1.1-free-fix.patch b/app-benchmarks/acovea/files/acovea-5.1.1-free-fix.patch new file mode 100644 index 000000000000..55b3b00e8897 --- /dev/null +++ b/app-benchmarks/acovea/files/acovea-5.1.1-free-fix.patch @@ -0,0 +1,12 @@ +--- benchmarks/treebench.c ++++ benchmarks/treebench.c +@@ -201,8 +201,8 @@ + if (page->m_links[n] != NULL) + recursive_destroy_page(page->m_links[n]); + +- free(page); + } ++ free(page); + } + + static void free_btree(btree * btree) diff --git a/app-benchmarks/acovea/files/acovea-5.1.1-gcc44.patch b/app-benchmarks/acovea/files/acovea-5.1.1-gcc44.patch new file mode 100644 index 000000000000..c5e5392b2f99 --- /dev/null +++ b/app-benchmarks/acovea/files/acovea-5.1.1-gcc44.patch @@ -0,0 +1,14 @@ +--- libacovea/acovea.cpp ++++ libacovea/acovea.cpp +@@ -44,10 +44,11 @@ + #include <unistd.h> + #include <sys/types.h> + #include <sys/wait.h> + + #include <vector> ++#include <cstdio> + #include <cstring> + #include <sstream> + #include <iostream> + #include <iomanip> + #include <stdexcept> diff --git a/app-benchmarks/acovea/files/acovea-5.1.1-glibc-212.patch b/app-benchmarks/acovea/files/acovea-5.1.1-glibc-212.patch new file mode 100644 index 000000000000..9763951a672a --- /dev/null +++ b/app-benchmarks/acovea/files/acovea-5.1.1-glibc-212.patch @@ -0,0 +1,12 @@ +http://bugs.gentoo.org/336260 + +--- libacovea/acovea.cpp ++++ libacovea/acovea.cpp +@@ -44,6 +44,7 @@ + #include <unistd.h> + #include <sys/types.h> + #include <sys/wait.h> ++#include <sys/stat.h> + + #include <vector> + #include <cstring> diff --git a/app-benchmarks/acovea/files/acovea-5.1.1-libevocosm.patch b/app-benchmarks/acovea/files/acovea-5.1.1-libevocosm.patch new file mode 100644 index 000000000000..f801b8c68bcb --- /dev/null +++ b/app-benchmarks/acovea/files/acovea-5.1.1-libevocosm.patch @@ -0,0 +1,119 @@ +--- libacovea/acovea.cpp ++++ libacovea/acovea.cpp +@@ -86,7 +86,7 @@ + // randomize settings of this option + void option::randomize() + { +- m_enabled = (g_random.get_rand_real2() < 0.5); ++ m_enabled = (g_random.get_real() < 0.5); + } + + // mutate this option +@@ -246,7 +246,7 @@ + m_step = 1; + + // possibly adjust value to randomize populations +- size_t choice = g_random.get_rand_index(3); ++ size_t choice = g_random.get_index(3); + + switch (choice) + { +@@ -304,12 +304,12 @@ + void tuning_option::mutate() + { + // select our mutation +- if (g_random.get_rand_real2() < 0.5) ++ if (g_random.get_real() < 0.5) + option::mutate(); + else + { + // mutate value of this option, up or down randomly +- if (g_random.get_rand_real2() < 0.5) ++ if (g_random.get_real() < 0.5) + m_value -= m_step; + else + m_value += m_step; +@@ -335,7 +335,7 @@ + enum_option::enum_option(const vector<string> & a_choices, bool a_enabled) + : option(a_enabled), + m_choices(a_choices), +- m_setting(g_random.get_rand_index(a_choices.size())) ++ m_setting(g_random.get_index(a_choices.size())) + { + // nada + } +@@ -344,7 +344,7 @@ + enum_option::enum_option(const char ** a_choices, size_t a_num_choices, bool a_enabled) + : option(a_enabled), + m_choices(), +- m_setting(g_random.get_rand_index(a_num_choices)) ++ m_setting(g_random.get_index(a_num_choices)) + { + for (int n = 0; n < a_num_choices; ++n) + m_choices.push_back(string(a_choices[n])); +@@ -369,7 +369,7 @@ + token = strtok(NULL,"|"); + } + +- m_setting = g_random.get_rand_index(m_choices.size()); ++ m_setting = g_random.get_index(m_choices.size()); + + free(choices); + } +@@ -407,17 +407,17 @@ + void enum_option::randomize() + { + // randomize enabled +- m_enabled = (g_random.get_rand_real2() < 0.5); ++ m_enabled = (g_random.get_real() < 0.5); + + // randomize setting +- m_setting = g_random.get_rand_index(m_choices.size()); ++ m_setting = g_random.get_index(m_choices.size()); + } + + // mutate this option + void enum_option::mutate() + { + // select our mutation +- if (g_random.get_rand() & 1) ++ if (g_random.get_real() < 0.5) + option::mutate(); + else + { +@@ -435,7 +435,7 @@ + + // find a different setting + while (new_setting == m_setting) +- new_setting = g_random.get_rand_index(m_choices.size()); ++ new_setting = g_random.get_index(m_choices.size()); + + m_setting = new_setting; + } +@@ -915,7 +915,7 @@ + // randomly pick an option from one of the parents + for (int n = 0; n < a_parent1.size(); ++n) + { +- if (g_random.get_rand() & 1) ++ if (g_random.get_real() < 0.5) + child.push_back(a_parent1[n]->clone()); + else + child.push_back(a_parent2[n]->clone()); +@@ -931,7 +931,7 @@ + { + for (int n = 0; n < a_options.size(); ++n) + { +- if (g_random.get_rand_real2() < a_mutation_chance) ++ if (g_random.get_real() < a_mutation_chance) + a_options[n]->mutate(); + } + } +@@ -1096,7 +1096,7 @@ + acovea_organism * child; + + // do we crossover? +- if (g_random.get_rand_real2() <= m_crossover_rate) ++ if (g_random.get_real() <= m_crossover_rate) + { + // select a second parent + size_t second_index = first_index; diff --git a/app-benchmarks/acovea/files/acovea-5.1.1-underlinking.patch b/app-benchmarks/acovea/files/acovea-5.1.1-underlinking.patch new file mode 100644 index 000000000000..06ef410b6cc6 --- /dev/null +++ b/app-benchmarks/acovea/files/acovea-5.1.1-underlinking.patch @@ -0,0 +1,10 @@ +diff --git a/cmdline/Makefile.am b/cmdline/Makefile.am +index f3c763e..8e18d9c 100644 +--- a/cmdline/Makefile.am ++++ b/cmdline/Makefile.am +@@ -7,4 +7,4 @@ bin_PROGRAMS = runacovea + + runacovea_SOURCES = runacovea.cpp + +-LIBS = -L../libacovea -lacovea -lcoyotl -levocosm ++LIBS = -L../libacovea -lacovea -lcoyotl -levocosm -lbrahe diff --git a/app-benchmarks/acovea/metadata.xml b/app-benchmarks/acovea/metadata.xml new file mode 100644 index 000000000000..40aa45df2b01 --- /dev/null +++ b/app-benchmarks/acovea/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>patrick@gentoo.org</email> + <name>Patrick Lauer</name> + </maintainer> +</pkgmetadata> |