From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-libs/cloog/Manifest | 13 ++++ dev-libs/cloog/cloog-0.18.0.ebuild | 40 ++++++++++++ dev-libs/cloog/cloog-0.18.1.ebuild | 41 ++++++++++++ dev-libs/cloog/cloog-0.18.3.ebuild | 64 ++++++++++++++++++ dev-libs/cloog/cloog-0.18.4.ebuild | 62 ++++++++++++++++++ dev-libs/cloog/cloog-9999.ebuild | 62 ++++++++++++++++++ dev-libs/cloog/files/cloog-0.18.3-isl-0.15.patch | 82 ++++++++++++++++++++++++ dev-libs/cloog/metadata.xml | 7 ++ 8 files changed, 371 insertions(+) create mode 100644 dev-libs/cloog/Manifest create mode 100644 dev-libs/cloog/cloog-0.18.0.ebuild create mode 100644 dev-libs/cloog/cloog-0.18.1.ebuild create mode 100644 dev-libs/cloog/cloog-0.18.3.ebuild create mode 100644 dev-libs/cloog/cloog-0.18.4.ebuild create mode 100644 dev-libs/cloog/cloog-9999.ebuild create mode 100644 dev-libs/cloog/files/cloog-0.18.3-isl-0.15.patch create mode 100644 dev-libs/cloog/metadata.xml (limited to 'dev-libs/cloog') diff --git a/dev-libs/cloog/Manifest b/dev-libs/cloog/Manifest new file mode 100644 index 000000000000..f828d5ac473e --- /dev/null +++ b/dev-libs/cloog/Manifest @@ -0,0 +1,13 @@ +AUX cloog-0.18.3-isl-0.15.patch 2621 SHA256 ac4cddf2cc35384a62083e963fddfe594b51718f760c0157639f15001834d252 SHA512 bace93aa2ae345f4b7a0261cf3b195e070c99f08494dad66b15576c35a0269893fc4f250a941be4af9505d13d5c9cb7b9b157afb0af6c83016c4e868add83735 WHIRLPOOL 7bf6fc28619e8f7d5dd7c164c11f506893c2d2eecdabb2823cb6fba272fca7c62f1d904e9ffdacc1d8b3125b77ef94200263957f91459483a13ef9530afbeaaf +DIST cloog-0.18.0.tar.gz 3776262 SHA256 1c4aa8dde7886be9cbe0f9069c334843b21028f61d344a2d685f88cb1dcf2228 SHA512 34404984c4269dfc19673712271b08f220b6b49e451e7479cefbc5d2f27ab8e780f5d51fbbc7cecb974dab655673d8348f2a1ece3a60feaeeb9413fccf16eb1d WHIRLPOOL e079de53e876448f1e9b783c864b820ebae39fca4f51d59e2528b1b68530910c48b23719e3fd760bf105e03838651e15f367709a2c8dde022627fe3f158134ea +DIST cloog-0.18.1.tar.gz 3857324 SHA256 02500a4edd14875f94fe84cbeda4290425cb0c1c2474c6f75d75a303d64b4196 SHA512 0b12d9f3c39a2425e28e1d7c0a2b3787287fe3e6e3052f094d2ab6cffeb205ce19044100cbfd805659b3e6b3d21ac2f5a3c92848f476de54edfe6b1cbd2172e9 WHIRLPOOL 7e5497cdc6d3df14305f848f0222ab41890c9a1a4668e1ccb8afc2b9f14b8c8b65f80a2fec6d6a94d1b91cf83b741d0108815707eb29aa59a439ed2c07f27378 +DIST cloog-0.18.3.tar.gz 4577597 SHA256 460c6c740acb8cdfbfbb387156b627cf731b3837605f2ec0001d079d89c69734 SHA512 14fc2af0da62cd17b1a9f5a7a1704da6bfe5dc78639928637588203e61847795a652ff788c313c34b6e7dd85fb329678eb4f72e0e1c9c149be6619ebf046cff8 WHIRLPOOL b35a16151c209500af836cb8ad32ec6479a01d2994860a379599e7a2183eab452dcffa757bad8c2af867cb71716c588415924b8c91db895372de88131b650490 +DIST cloog-0.18.4.tar.gz 4796456 SHA256 325adf3710ce2229b7eeb9e84d3b539556d093ae860027185e7af8a8b00a750e SHA512 d35d67b08ffe13c1a010b65bfe4dd02b0ae013d5b489e330dc950bd3514defca8f734bd37781856dcedf0491ff6122c34eecb4b0fe32a22d7e6bdadea98c8c23 WHIRLPOOL 0b82eec2d91bcdf839c71fd58e14562aabd837236303ffd95ee105d9c59bc728ad795deab3fb78855dc34abdf08a62b61f0587e85c1b84c6fa7f23fed35d7850 +EBUILD cloog-0.18.0.ebuild 862 SHA256 db20b50ed25d34348fb5f8f74bbf3405fd99b2fcf500df7908bf65144f673ad9 SHA512 f0d9140ac09082aa481163f47ec368fa1be4cbf032a5d7cbaf1eb7759ef503a2bbe7d175f3efe52e160c9ea6a7d941be094cce7781003f5fedbbcc4af32e4ba0 WHIRLPOOL 0874bf86f7eae7103f323151a7889c45c63e4bb0366b64adca92ea809f243bf9e311c5f775cd3c69c2db7706418f894c918f1bd479cc97e4db52d89c2ef8c9b2 +EBUILD cloog-0.18.1.ebuild 1001 SHA256 e38e43c280242b19336ed50ec4367b53088f94a1d0e34bd51e2ef9fe51eba90d SHA512 2ed2b561eb6acd33db2b55d54e15f01c95d9554f31ebe8af703fbbb26e81bb30c4775d3545f8e67e68db815294a6c994cc67bd0084b89dc6406e749388a4c1e3 WHIRLPOOL b450fefe6005f132c6bcf8a18cd7bc0d603cb6120ec4908d301e4af0664108ec958c877561283bbf3ea4e8864be16a4269c04bee11be8ba0f4073906b219a3f8 +EBUILD cloog-0.18.3.ebuild 1481 SHA256 83bdf0add7785fd247214045f9682c2fe58f08449dd77e2b908fd77242009fc8 SHA512 9fbbb121b3f08f862fc078591b28617eb52f1bfab24ba6434e815b42ac3c6aa802ece00746fa483655d1d036c1f895b50ba429bbd047692516f3f09994120afa WHIRLPOOL 4c11fa7d77586f37602cd07ceaa69263ae85e9908d4d08914ab598f8d1abb1d8884af206b68d73971a76209166da7f929632874aec3cf36a0ea5d120c849532a +EBUILD cloog-0.18.4.ebuild 1426 SHA256 876f4ed8ddcffb6ba96a9534b09ba3089772e9e1645381886af6b20de458e335 SHA512 04037adc21eb71f87d4cb3e8daeeb4525780f6e0252367d33fcee80ab9435cd8053a7b2a6660e4b211feee50b00f26b042078ad546fd8e221c4e75c412a0ef30 WHIRLPOOL 8e828e646ad82d9939041148f11811c6aca4e24494434e38acda1927f1e29ef07e1bc089dff6922d0352bc1e50b1a0b269a054e0c9762e903e7875b9ede722c4 +EBUILD cloog-9999.ebuild 1435 SHA256 2276ff81424f5d9854850ad7dc107805cf765afdc21ac550e18323537fcba419 SHA512 91d34eaaccec4d1e3cb72d67b5e51fdd63faf3aee08a473c389afdbc4cc95d321e714015426594cbb7a48020fa6cef9f64044887eb2c462982942d0e3c596365 WHIRLPOOL 8965855ec71b36d2af7fb7dd6317cc51c5f9682f01967b2ab9cc924867d223787b55126e1d19ab34aa32914e8fc6e2340e61aea10e296ebbfc883363567b19fa +MISC ChangeLog 4428 SHA256 3bf4f3bc8cd1b47125cc73b76ccec9df85003630f8b9f21e77ab42d78d8cf472 SHA512 f47346d3faee87381bcae50d01fe6c85c25cef594fa2a755e02b406a79c2067826b56a6941160b998f5c97726b4e2e374041cd970f57a2667cec4172c129ac1b WHIRLPOOL e8e560981a5ee97a1a556a7d182940bd9ae5a38813ec1e921000fcf9795d5a517899e994e3f2a8e2e265a36cd917db3844d2a7b55b369c08b9ae1341a0af1ab4 +MISC ChangeLog-2015 4930 SHA256 f743b0f04c5a9b90a32f3500029d2b09e7734d978a51d1e82ad8f780883412d5 SHA512 a63a880e3b45fcf4cf475352cd4214a68059ea3818cb61a7861f632f17d43f740b82427ff9865901b7e7027e28a7f49a55253b841f6019a6dd16b2de3da498ee WHIRLPOOL 292d0add607d11ca0e916b65ec7ba335f6fe07bda600c4441bc67e03d4024b00b8764daa116f7239bbce509c9a6f3eb2ba3ade9e46d9fdae8dcc0e0d32deb9f9 +MISC metadata.xml 221 SHA256 5f1067fecbad0f03b8f0bda76aa6aeb2334bd0194f44f741df6eb94065fcc34a SHA512 edb14bd2dae6ad57f77c07fc601cf2782589165c7e48e1e123eff7e47044febfdb1e19d18cd0b240fd2ca494e3401b5aa1f1243480769e0faf5dbfa377d20a3b WHIRLPOOL 8d9477151de9fa0453a07cbba0f7e48d800a6a59c62ceb663d89869d0e94c8e92fe8148425d3fe4281fd12a5de40355f2e33ec357efdc4daf282664907370846 diff --git a/dev-libs/cloog/cloog-0.18.0.ebuild b/dev-libs/cloog/cloog-0.18.0.ebuild new file mode 100644 index 000000000000..b8484bae5fd1 --- /dev/null +++ b/dev-libs/cloog/cloog-0.18.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit eutils + +DESCRIPTION="A loop generator for scanning polyhedra" +HOMEPAGE="http://www.bastoul.net/cloog/" +SRC_URI="http://www.bastoul.net/cloog/pages/download/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="static-libs" + +DEPEND="dev-libs/gmp + >> Test phase [check]: ${CATEGORY}/${PF}" + emake -j1 check +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files +} diff --git a/dev-libs/cloog/cloog-0.18.4.ebuild b/dev-libs/cloog/cloog-0.18.4.ebuild new file mode 100644 index 000000000000..755aa3decf73 --- /dev/null +++ b/dev-libs/cloog/cloog-0.18.4.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils multilib-minimal + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://repo.or.cz/cloog.git" + inherit autotools git-2 +else + KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" + SRC_URI="http://www.bastoul.net/cloog/pages/download/${P}.tar.gz" +fi + +DESCRIPTION="A loop generator for scanning polyhedra" +HOMEPAGE="http://www.bastoul.net/cloog/" + +LICENSE="LGPL-2.1" +SLOT="0/4" +IUSE="static-libs" + +RDEPEND=">=dev-libs/gmp-6.0.0[${MULTILIB_USEDEP}] + >=dev-libs/isl-0.15:0=[${MULTILIB_USEDEP}] + !dev-libs/cloog-ppl" +DEPEND="${DEPEND} + virtual/pkgconfig" + +DOCS=( README ) + +src_prepare() { + if [[ ${PV} == "9999" ]] ; then + ./get_submodules.sh + eautoreconf -i + else + # m4/ax_create_pkgconfig_info.m4 includes LDFLAGS + # sed to avoid eautoreconf + sed -i -e '/Libs:/s:@LDFLAGS@ ::' configure || die + fi + + # Make sure we always use the system isl. + rm -rf isl +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + --with-gmp=system \ + --with-isl=system \ + --with-osl=no \ + $(use_enable static-libs static) +} + +# The default src_test() fails, so we'll just run these directly +multilib_src_test () { + echo ">>> Test phase [check]: ${CATEGORY}/${PF}" + emake -j1 check +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files +} diff --git a/dev-libs/cloog/cloog-9999.ebuild b/dev-libs/cloog/cloog-9999.ebuild new file mode 100644 index 000000000000..43209f571e5c --- /dev/null +++ b/dev-libs/cloog/cloog-9999.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils multilib-minimal + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://repo.or.cz/cloog.git" + inherit autotools git-2 +else + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" + SRC_URI="http://www.bastoul.net/cloog/pages/download/${P}.tar.gz" +fi + +DESCRIPTION="A loop generator for scanning polyhedra" +HOMEPAGE="http://www.bastoul.net/cloog/" + +LICENSE="LGPL-2.1" +SLOT="0/4" +IUSE="static-libs" + +RDEPEND=">=dev-libs/gmp-6.0.0[${MULTILIB_USEDEP}] + >=dev-libs/isl-0.15:0=[${MULTILIB_USEDEP}] + !dev-libs/cloog-ppl" +DEPEND="${DEPEND} + virtual/pkgconfig" + +DOCS=( README ) + +src_prepare() { + if [[ ${PV} == "9999" ]] ; then + ./get_submodules.sh + eautoreconf -i + else + # m4/ax_create_pkgconfig_info.m4 includes LDFLAGS + # sed to avoid eautoreconf + sed -i -e '/Libs:/s:@LDFLAGS@ ::' configure || die + fi + + # Make sure we always use the system isl. + rm -rf isl +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + --with-gmp=system \ + --with-isl=system \ + --with-osl=no \ + $(use_enable static-libs static) +} + +# The default src_test() fails, so we'll just run these directly +multilib_src_test () { + echo ">>> Test phase [check]: ${CATEGORY}/${PF}" + emake -j1 check +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files +} diff --git a/dev-libs/cloog/files/cloog-0.18.3-isl-0.15.patch b/dev-libs/cloog/files/cloog-0.18.3-isl-0.15.patch new file mode 100644 index 000000000000..70ce3b86ec02 --- /dev/null +++ b/dev-libs/cloog/files/cloog-0.18.3-isl-0.15.patch @@ -0,0 +1,82 @@ +add support for isl-0.15+ + +--- a/source/isl/domain.c ++++ b/source/isl/domain.c +@@ -68,25 +68,39 @@ + void cloog_domain_print_constraints(FILE *foo, CloogDomain *domain, + int print_number) + { ++ isl_printer *printer; + isl_basic_set *bset; + isl_set *set = isl_set_from_cloog_domain(domain); + +- if (print_number) +- isl_set_print(set, foo, 0, ISL_FORMAT_EXT_POLYLIB); +- else { ++ printer = isl_printer_to_file(isl_set_get_ctx(set), foo); ++ printer = isl_printer_set_indent(printer, 0); ++ printer = isl_printer_set_prefix(printer, NULL); ++ printer = isl_printer_set_suffix(printer, NULL); ++ ++ if (print_number) { ++ printer = isl_printer_set_output_format(printer, ISL_FORMAT_EXT_POLYLIB); ++ printer = isl_printer_print_set(printer, set); ++ } else { + assert(isl_set_n_basic_set(set) == 1); + bset = isl_set_copy_basic_set(set); +- isl_basic_set_print(bset, foo, +- 0, NULL, NULL, ISL_FORMAT_POLYLIB); ++ printer = isl_printer_set_output_format(printer, ISL_FORMAT_POLYLIB); ++ isl_printer_print_basic_set(printer, bset); + isl_basic_set_free(bset); + } ++ ++ isl_printer_free(printer); + } + + + void cloog_scattering_print_constraints(FILE *foo, CloogScattering *scattering) + { ++ isl_printer *printer; + isl_map *map = isl_map_from_cloog_scattering(scattering); +- isl_map_print(map, foo, 0, ISL_FORMAT_EXT_POLYLIB); ++ printer = isl_printer_to_file(isl_map_get_ctx(map), foo); ++ printer = isl_printer_set_indent(printer, 0); ++ printer = isl_printer_set_output_format(printer, ISL_FORMAT_EXT_POLYLIB); ++ printer = isl_printer_print_map(printer, map); ++ isl_printer_free(printer); + } + + +@@ -343,6 +357,7 @@ + void cloog_domain_print_structure(FILE *file, CloogDomain *domain, int level, + const char *name) + { ++ isl_printer *printer; + int i ; + isl_set *set = isl_set_from_cloog_domain(domain); + +@@ -358,7 +373,11 @@ + for (i = 0; i < level+1; ++i) + fprintf(file, "|\t"); + +- isl_set_print(set, file, 0, ISL_FORMAT_ISL); ++ printer = isl_printer_to_file(isl_set_get_ctx(set), file); ++ printer = isl_printer_set_indent(printer, 0); ++ printer = isl_printer_set_output_format(printer, ISL_FORMAT_EXT_POLYLIB); ++ printer = isl_printer_print_set(printer, set); ++ isl_printer_free(printer); + + fprintf(file, "\n"); + } +--- a/source/isl/constraints.c ++++ b/source/isl/constraints.c +@@ -450,7 +450,7 @@ CloogConstraintSet *cloog_constraint_set_copy(CloogConstraintSet *constraints) + { + isl_basic_set *bset; + bset = cloog_constraints_set_to_isl(constraints); +- return cloog_constraint_set_from_isl_basic_set(isl_basic_set_dup(bset)); ++ return cloog_constraint_set_from_isl_basic_set(isl_basic_set_copy(bset)); + } + + diff --git a/dev-libs/cloog/metadata.xml b/dev-libs/cloog/metadata.xml new file mode 100644 index 000000000000..fa331094dd33 --- /dev/null +++ b/dev-libs/cloog/metadata.xml @@ -0,0 +1,7 @@ + + + + + toolchain@gentoo.org + + -- cgit v1.2.3