diff options
author | Ryan Hill <dirtyepic@gentoo.org> | 2013-05-09 03:03:02 +0000 |
---|---|---|
committer | Ryan Hill <dirtyepic@gentoo.org> | 2013-05-09 03:03:02 +0000 |
commit | ddc13b70cf9293c1fad13f138e7cc42b6851a309 (patch) | |
tree | 25731f77fd2385123740a5bec23acfd4c76fce70 /eclass | |
parent | Initial import, ebuild by me. (diff) | |
download | gentoo-2-ddc13b70cf9293c1fad13f138e7cc42b6851a309.tar.gz gentoo-2-ddc13b70cf9293c1fad13f138e7cc42b6851a309.tar.bz2 gentoo-2-ddc13b70cf9293c1fad13f138e7cc42b6851a309.zip |
Drop graphite support for 4.4/4.5.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ChangeLog | 8 | ||||
-rw-r--r-- | eclass/toolchain.eclass | 41 |
2 files changed, 25 insertions, 24 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 80b034823acb..c10d1ea66a95 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for eclass directory # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.816 2013/05/08 10:25:48 pinkbyte Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.817 2013/05/09 03:03:02 dirtyepic Exp $ + + 09 May 2013; Ryan Hill <dirtyepic@gentoo.org> toolchain.eclass: + Drop support for graphite in 4.4/4.5 due to incompatibilities with newer ppl + versions. Update graphite dependencies for 4.8 based on upstream + recommendations. Also fixes some (harmless) configure flags getting applied + to incorrect versions. 08 May 2013; Sergey Popov <pinkbyte@gentoo.org> leechcraft.eclass: Restict supported EAPIs(due to pkg_pretend), some logic cleanup diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index fe1c835dbd89..b1d3f56e4eb8 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.585 2013/05/03 06:01:27 dirtyepic Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.586 2013/05/09 03:03:02 dirtyepic Exp $ # # Maintainer: Toolchain Ninjas <toolchain@gentoo.org> @@ -113,7 +113,7 @@ if [[ ${PN} != "kgcc64" && ${PN} != gcc-* ]] ; then tc_version_is_at_least "4.1" && IUSE+=" libssp objc++" tc_version_is_at_least "4.2" && IUSE+=" openmp" tc_version_is_at_least "4.3" && IUSE+=" fixed-point" - tc_version_is_at_least "4.4" && IUSE+=" graphite" + tc_version_is_at_least "4.6" && IUSE+=" graphite" [[ ${GCC_BRANCH_VER} == 4.5 ]] && IUSE+=" lto" tc_version_is_at_least "4.7" && IUSE+=" go" fi @@ -150,8 +150,8 @@ if in_iuse graphite ; then if tc_version_is_at_least 4.8 ; then RDEPEND+=" graphite? ( - >=dev-libs/cloog-0.17.0 - >=dev-libs/isl-0.10 + >=dev-libs/cloog-0.18.0 + >=dev-libs/isl-0.11.1 )" else RDEPEND+=" @@ -1079,26 +1079,21 @@ gcc_do_configure() { # users to control this feature in the event they need the support. tc_version_is_at_least "4.3" && confgcc+=" $(use_enable fixed-point)" - # Graphite support was added in 4.4, which depends on external libraries - # for optimizations. Current versions use cloog-ppl (cloog fork with Parma - # PPL backend). Sometime in the future we will use upstream cloog with the - # ISL backend (note: PPL will still be a requirement). cloog-ppl's include - # path was modified to prevent collisions between the two packages (library - # names are different). - # - # We disable the PPL version check so we can use >=ppl-0.11. - if tc_version_is_at_least "4.4"; then - confgcc+=" $(use_with graphite ppl)" + # graphite was added in 4.4 but we only support it in 4.6+ due to external + # library issues. 4.6/4.7 uses cloog-ppl which is a fork of CLooG with a + # PPL backend. 4.8+ uses upstream CLooG with the ISL backend. We install + # cloog-ppl into a non-standard location to prevent collisions. + if tc_version_is_at_least "4.8" ; then confgcc+=" $(use_with graphite cloog)" - if use graphite; then - if tc_version_is_at_least "4.8"; then - confgcc+=" --disable-isl-version-check" - confgcc+=" --with-cloog" - else - confgcc+=" --disable-ppl-version-check" - confgcc+=" --with-cloog-include=/usr/include/cloog-ppl" - fi - fi + use graphite && confgcc+=" --disable-isl-version-check" + elif tc_version_is_at_least "4.6" ; then + confgcc+=" $(use_with graphite cloog)" + confgcc+=" $(use_with graphite ppl)" + use graphite && confgcc+=" --with-cloog-include=/usr/include/cloog-ppl" + use graphite && confgcc+=" --disable-ppl-version-check" + elif tc_version_is_at_least "4.4" ; then + confgcc+=" --without-cloog" + confgcc+=" --without-ppl" fi # LTO support was added in 4.5, which depends upon elfutils. This allows |