diff mbox

[2/3] cloog: new package

Message ID BLU436-SMTP12157778C8A3B0E57CD5BF6A8320@phx.gbl
State Superseded
Headers show

Commit Message

Steve Thomas May 19, 2014, 9:28 a.m. UTC
CLooG is a free software and library to generate code for scanning
Z-polyhedra.

cloog is needed for the optional graphite optimisations that are
supported by gcc since version 4.5. Therefore this package is required
for the toolchain to support graphite.

Graphite optimisations primarily involve loop blocking flattening and
interchage so are probably of mimimal use in an embedded system where
small sizes are favoured.

cloog depends on isl.

Signed-off-by: Steve Thomas <scjthm@live.com>
---
 package/Config.in       |  1 +
 package/cloog/Config.in |  8 ++++++++
 package/cloog/cloog.mk  | 17 +++++++++++++++++
 3 files changed, 26 insertions(+)
 create mode 100644 package/cloog/Config.in
 create mode 100644 package/cloog/cloog.mk
diff mbox

Patch

diff --git a/package/Config.in b/package/Config.in
index 1248eeb..5a6c2e8 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -771,6 +771,7 @@  source "package/apr-util/Config.in"
 source "package/argp-standalone/Config.in"
 source "package/boost/Config.in"
 source "package/classpath/Config.in"
+source "package/cloog/Config.in"
 source "package/cppcms/Config.in"
 source "package/eigen/Config.in"
 source "package/elfutils/Config.in"
diff --git a/package/cloog/Config.in b/package/cloog/Config.in
new file mode 100644
index 0000000..db99242
--- /dev/null
+++ b/package/cloog/Config.in
@@ -0,0 +1,8 @@ 
+config BR2_PACKAGE_CLOOG
+	bool "cloog"
+    select BR2_PACKAGE_GMP
+    select BR2_PACKAGE_ISL
+	help
+	  Chunky LOOp Generator - Library which generates loops for scanning Z-polyhedra.
+
+	  http://clooglib.org/
diff --git a/package/cloog/cloog.mk b/package/cloog/cloog.mk
new file mode 100644
index 0000000..dea1cfd
--- /dev/null
+++ b/package/cloog/cloog.mk
@@ -0,0 +1,17 @@ 
+################################################################################
+#
+# cloog
+#
+################################################################################
+
+CLOOG_VERSION = 0.18.1
+CLOOG_SITE = http://www.bastoul.net/cloog/pages/download/
+CLOOG_INSTALL_STAGING = YES
+CLOOG_LICENSE = LGPLv2.1
+CLOOG_LICENSE_FILES = LICENSE
+CLOOG_DEPENDENCIES = gmp isl
+
+CLOOG_CONF_OPT = --with-isl=system --with-polylib=no
+
+$(eval $(autotools-package))
+$(eval $(host-autotools-package))