diff mbox

[v6,2/3] cloog: new package

Message ID BLU436-SMTP138DD11D602CDEACC161440A8320@phx.gbl
State Accepted
Headers show

Commit Message

Steve Thomas May 19, 2014, 7:48 p.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>
---
Changes v6 -> v7:
    - no change

Changes v4 -> v5:
    - no change

Changes v3 -> v4:
    - removing the parts not needed

Changes v2 -> v3:
    - removed packages from Config.in
    - disabled target builds
    - added empty line to commit messages
    - removed isl patch as different version used

Changes v1 -> v2:
    - added more lucid and verbose description in commit messages
    - fixed the url and removed the sources files
    - add complete graphite as three commits yet a single patch
---
 package/cloog/cloog.mk | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 package/cloog/cloog.mk

Comments

Thomas Petazzoni June 9, 2014, 9:57 a.m. UTC | #1
Dear Steve Thomas,

On Mon, 19 May 2014 19:48:12 +0000, Steve Thomas wrote:
> 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>

Patch applied, with a few changes, see below.

> +CLOOG_VERSION = 0.18.1

Bumped to 0.18.2. I had to add a patch adding missing CMake-related
files.

> +CLOOG_SITE = http://www.bastoul.net/cloog/pages/download/
> +CLOOG_INSTALL_STAGING = YES

Dropped, it's a host-only package.

> +CLOOG_LICENSE = LGPLv2.1

License is LGPLv2.1+

> +CLOOG_LICENSE_FILES = LICENSE

This file did not exist in 0.18.2.

> +CLOOG_DEPENDENCIES = gmp isl
> +
> +HOST_CLOOG_CONF_OPT = --with-isl=system --with-polylib=no
> +
> +$(eval $(host-autotools-package))

Like for isl, I also had to disable the libtool patch.

Thanks!

Thomas
diff mbox

Patch

diff --git a/package/cloog/cloog.mk b/package/cloog/cloog.mk
new file mode 100644
index 0000000..9308e8f
--- /dev/null
+++ b/package/cloog/cloog.mk
@@ -0,0 +1,16 @@ 
+################################################################################
+#
+# 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
+
+HOST_CLOOG_CONF_OPT = --with-isl=system --with-polylib=no
+
+$(eval $(host-autotools-package))