blob: 9e0d715b295cf1d10601613ece5414dce80763f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
#
# Do NOT Edit the Auto-generated Part!
# Generated by: spectacle version 0.22
#
# >> macros
# << macros
Name: cloog
Summary: The Chunky Loop Generator
Version: 0.16.1
Release: 1
Group: System/Libraries
License: GPLv2+
URL: http://www.cloog.org
Source0: %{name}-parma-%{version}.tar.gz
BuildRequires: ppl-devel >= 0.10.2
BuildRequires: gmp-devel >= 4.1.3
BuildRequires: libtool
%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.
%package ppl-devel
Summary: Development tools for the ppl based version of Chunky Loop Generator
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: %{name}-ppl = %{version}-%{release}
Requires: ppl-devel >= 0.10, gmp-devel >= 4.1.3
%description ppl-devel
The header files and dynamic shared libraries of the Chunky Loop Generator.
%package ppl
Summary: Parma Polyhedra Library backend (ppl) based version of the Cloog binaries
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
%description ppl
The dynamic shared libraries of the Chunky Loop Generator
%prep
%setup -q -n %{name}-parma-%{version}
# >> setup
# << setup
%build
# >> build pre
# << build pre
%configure --disable-static --with-ppl=system
make %{?jobs:-j%jobs}
# >> build post
# << build post
%install
rm -rf %{buildroot}
# >> install pre
# << install pre
%make_install
find %{buildroot} -name '*.la' -exec rm -f {} \;
# >> install post
rm -rf %{buildroot}/%{_infodir}
# << install post
%post ppl -p /sbin/ldconfig
%postun ppl -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
# >> files
# << files
%files ppl-devel
%defattr(-,root,root,-)
# >> files ppl-devel
%{_includedir}/cloog
%{_libdir}/libcloog-ppl.so
%{_libdir}/pkgconfig/cloog-ppl.pc
# << files ppl-devel
%files ppl
%defattr(-,root,root,-)
# >> files ppl
%{_bindir}/cloog
%{_libdir}/libcloog-ppl.so.*
# << files ppl
|