1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <sect1 id="ch-system-cloog" role="wrap">
|
---|
9 | <?dbhtml filename="cloog.html"?>
|
---|
10 |
|
---|
11 | <title>CLooG-&cloog-version;</title>
|
---|
12 |
|
---|
13 | <indexterm zone="ch-system-cloog">
|
---|
14 | <primary sortas="a-CLooG">CLooG</primary>
|
---|
15 | </indexterm>
|
---|
16 |
|
---|
17 | <sect2 role="package">
|
---|
18 | <title/>
|
---|
19 |
|
---|
20 | <para>CLooG is a library to generate code for scanning Z-polyhedra.
|
---|
21 | In other words, it finds code that reaches each integral point of one or
|
---|
22 | more parameterized polyhedra. GCC links with this library in order to
|
---|
23 | enable the new loop generation code known as Graphite.</para>
|
---|
24 |
|
---|
25 | </sect2>
|
---|
26 |
|
---|
27 | <sect2 role="installation">
|
---|
28 | <title>Installation of CLooG</title>
|
---|
29 |
|
---|
30 | <para os="a">Prepare CLooG for compilation:</para>
|
---|
31 |
|
---|
32 | <screen os="b"><userinput>CC="gcc -isystem /usr/include" \
|
---|
33 | LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \
|
---|
34 | ./configure --prefix=/usr --enable-shared --with-isl=system</userinput></screen>
|
---|
35 |
|
---|
36 | <para os="s1">Apply a <command>sed</command> which prevents the attempted installation of an invalid file:</para>
|
---|
37 |
|
---|
38 | <screen os="s2"><userinput>sed -i '/cmake/d' Makefile</userinput></screen>
|
---|
39 |
|
---|
40 | <para os="c">Compile the package:</para>
|
---|
41 |
|
---|
42 | <screen os="d"><userinput>make</userinput></screen>
|
---|
43 |
|
---|
44 | <para os="e">Test the results:</para>
|
---|
45 |
|
---|
46 | <screen os="f"><userinput remap="test">make check</userinput></screen>
|
---|
47 |
|
---|
48 | <para os="g">Install the package:</para>
|
---|
49 |
|
---|
50 | <screen os="h"><userinput>make install</userinput></screen>
|
---|
51 |
|
---|
52 | </sect2>
|
---|
53 |
|
---|
54 | <sect2 id="contents-cloog" role="content">
|
---|
55 | <title>Contents of CLooG</title>
|
---|
56 |
|
---|
57 | <segmentedlist>
|
---|
58 | <segtitle>Installed program</segtitle>
|
---|
59 | <segtitle>Installed libraries</segtitle>
|
---|
60 | <segtitle>Installed directories</segtitle>
|
---|
61 |
|
---|
62 | <seglistitem>
|
---|
63 | <seg>cloog</seg>
|
---|
64 | <seg>libcloog-isl.[a,so]</seg>
|
---|
65 | <seg>/usr/include/cloog</seg>
|
---|
66 | </seglistitem>
|
---|
67 | </segmentedlist>
|
---|
68 |
|
---|
69 | <variablelist>
|
---|
70 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
71 | <?dbfo list-presentation="list"?>
|
---|
72 | <?dbhtml list-presentation="table"?>
|
---|
73 |
|
---|
74 | <varlistentry id="cloog">
|
---|
75 | <term><command>cloog</command></term>
|
---|
76 | <listitem>
|
---|
77 | <para>Loop generator for scanning Z-polyhedra</para>
|
---|
78 | <indexterm zone="ch-system-cloog cloog">
|
---|
79 | <primary sortas="b-cloog">cloog</primary>
|
---|
80 | </indexterm>
|
---|
81 | </listitem>
|
---|
82 | </varlistentry>
|
---|
83 |
|
---|
84 | <varlistentry id="libcloog-isl">
|
---|
85 | <term><filename class="libraryfile">libcloog-isl</filename></term>
|
---|
86 | <listitem>
|
---|
87 | <para>Isl backend for CLooG.</para>
|
---|
88 | <indexterm zone="ch-system-cloog libcloog-isl">
|
---|
89 | <primary sortas="c-libcloog-isl">libcloog-isl</primary>
|
---|
90 | </indexterm>
|
---|
91 | </listitem>
|
---|
92 | </varlistentry>
|
---|
93 |
|
---|
94 | </variablelist>
|
---|
95 |
|
---|
96 | </sect2>
|
---|
97 |
|
---|
98 | </sect1>
|
---|