From 1f3ebffe181f1b7285b9bd734e187bc718c5c236 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 16 Sep 2014 16:39:14 +0200 Subject: [PATCH] cloog-ppl: Move to compat-cloog-ppl GCC 4.9 uses ISL as a backend for cloog. Therefore, we move the cloog-ppl library into the compat section so that older versions of GCC can still be used. --- .../compat-cloog-ppl.nm | 28 +++++++++++++------ .../cloog-ppl-0.15.11-ppl-verfix.patch | 0 2 files changed, 20 insertions(+), 8 deletions(-) rename cloog-ppl/cloog-ppl.nm => compat-cloog-ppl/compat-cloog-ppl.nm (60%) rename {cloog-ppl => compat-cloog-ppl}/patches/cloog-ppl-0.15.11-ppl-verfix.patch (100%) diff --git a/cloog-ppl/cloog-ppl.nm b/compat-cloog-ppl/compat-cloog-ppl.nm similarity index 60% rename from cloog-ppl/cloog-ppl.nm rename to compat-cloog-ppl/compat-cloog-ppl.nm index 9fed814a8..42511e6d0 100644 --- a/cloog-ppl/cloog-ppl.nm +++ b/compat-cloog-ppl/compat-cloog-ppl.nm @@ -3,21 +3,23 @@ # Copyright (C) - IPFire Development Team # ############################################################################### -name = cloog-ppl +name = compat-cloog-ppl version = 0.15.11 release = 2 +thisapp = cloog-ppl-%{version} maintainer = Michael Tremer groups = System/Libraries url = http://www.cloog.org license = GPLv2+ -summary = The Chunky Loop Generator. +summary = The Chunky Loop Generator description - CLooG is a software which generates loops for scanning Z-polyhedra. That is, \ - CLooG finds the code or pseudo-code where each integral point of one or more \ - parametrized polyhedron or parametrized polyhedra union is reached. CLooG is \ - designed to avoid control overhead and to produce a very efficient code. + CLooG is a software which generates loops for scanning Z-polyhedra. + That is, CLooG finds the code or pseudo-code where each integral point + of one or more parametrized polyhedron or parametrized polyhedra union + is reached. CLooG is designed to avoid control overhead and to produce + a very efficient code. end source_dl += ftp://gcc.gnu.org/pub/gcc/infrastructure/ @@ -42,13 +44,23 @@ build test make check end + + install + mkdir -pv %{BUILDROOT}%{libdir} + install -v -m 755 .libs/libcloog.so.0.0.0 %{BUILDROOT}%{libdir} + ln -svf libcloog.so.0.0.0 %{BUILDROOT}%{libdir}/libcloog.so.0 + end end packages package %{name} + provides + cloog-ppl = %{thisver} + end - package %{name}-devel - template DEVEL + obsoletes + cloog-ppl <= %{thisver} + end end package %{name}-debuginfo diff --git a/cloog-ppl/patches/cloog-ppl-0.15.11-ppl-verfix.patch b/compat-cloog-ppl/patches/cloog-ppl-0.15.11-ppl-verfix.patch similarity index 100% rename from cloog-ppl/patches/cloog-ppl-0.15.11-ppl-verfix.patch rename to compat-cloog-ppl/patches/cloog-ppl-0.15.11-ppl-verfix.patch -- 2.39.2