Patchwork [3/6] gcc-4.6: Enable PPL and ClooG support

login
register
mail settings
Submitter Khem Raj
Date Dec. 6, 2011, 5:21 a.m.
Message ID <e5ce46588b46dfc85f307e4113faaef1543b7e43.1323148566.git.raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/16193/
State New
Headers show

Comments

Khem Raj - Dec. 6, 2011, 5:21 a.m.
This will enable graphite framework in gcc
For more information
http://gcc.gnu.org/wiki/Graphite

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/gcc/gcc-4.6.inc              |   13 ++++++++-----
 .../recipes-devtools/gcc/gcc-cross-canadian_4.6.bb |    4 ++--
 2 files changed, 10 insertions(+), 7 deletions(-)

Patch

diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc b/meta/recipes-devtools/gcc/gcc-4.6.inc
index 7cd0850..bc655fe 100644
--- a/meta/recipes-devtools/gcc/gcc-4.6.inc
+++ b/meta/recipes-devtools/gcc/gcc-4.6.inc
@@ -1,6 +1,6 @@ 
 require gcc-common.inc
 
-PR = "r18"
+PR = "r19"
 
 # Third digit in PV should be incremented after a minor release
 # happens from this branch on gcc e.g. currently its 4.6.0
@@ -22,8 +22,8 @@  SRCREV = 181430
 BRANCH = "gcc-4_6-branch"
 FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.6' ], d)}"
 
-DEPENDS =+ "mpfr gmp libmpc"
-NATIVEDEPS = "mpfr-native gmp-native libmpc-native"
+DEPENDS =+ "mpfr gmp libmpc ppl cloog-ppl"
+NATIVEDEPS = "mpfr-native gmp-native libmpc-native ppl-native cloog-ppl-native"
 
 LICENSE="GPL-3.0-with-GCC-exception & GPLv3"
 
@@ -89,13 +89,16 @@  JAVA = ""
 #			--disable-bootstrap \
 #			--disable-libgomp \
 #			--disable-libmudflap"
-EXTRA_OECONF_BASE = " --enable-lto \
+EXTRA_OECONF_BASE = "   --enable-lto \
 			--enable-libssp \
 			--disable-bootstrap \
 			--disable-libgomp \
 			--disable-libmudflap \
 			--with-linker-hash-style=${LINKER_HASH_STYLE} \
-			--enable-cheaders=c_global "
+			--enable-cheaders=c_global \
+			--with-ppl \
+			--with-cloog \
+			"
 
 EXTRA_OECONF_INITIAL = "--disable-libmudflap \
 			--disable-libgomp \
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian_4.6.bb b/meta/recipes-devtools/gcc/gcc-cross-canadian_4.6.bb
index da3210f..600d58f 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian_4.6.bb
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian_4.6.bb
@@ -5,8 +5,8 @@  require gcc-cross-canadian.inc
 require gcc-configure-sdk.inc
 require gcc-package-sdk.inc
 
-DEPENDS += "gmp-nativesdk mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk"
-RDEPENDS_${PN} += "mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk"
+DEPENDS += "gmp-nativesdk mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk ppl-nativesdk cloog-ppl-nativesdk"
+RDEPENDS_${PN} += "mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk ppl-nativesdk cloog-ppl-nativesdk"
 
 SYSTEMHEADERS = "/usr/include"
 SYSTEMLIBS = "/lib/"