[9470388] | 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 |
|
---|
[84b164e] | 8 | <sect1 id="ch-system-cloog" role="wrap">
|
---|
| 9 | <?dbhtml filename="cloog.html"?>
|
---|
[9470388] | 10 |
|
---|
[84b164e] | 11 | <title>CLooG-&cloog-version;</title>
|
---|
[9470388] | 12 |
|
---|
[84b164e] | 13 | <indexterm zone="ch-system-cloog">
|
---|
| 14 | <primary sortas="a-CLooG">CLooG</primary>
|
---|
[9470388] | 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
[84b164e] | 20 | <para>CLooG is a library to generate code for scanning Z-polyhedra.
|
---|
[9470388] | 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">
|
---|
[84b164e] | 28 | <title>Installation of CLooG</title>
|
---|
[9470388] | 29 |
|
---|
[84b164e] | 30 | <para os="a">Prepare CLooG for compilation:</para>
|
---|
[9470388] | 31 |
|
---|
[b6831b6] | 32 | <screen os="b"><userinput>CC="gcc -isystem /usr/include" \
|
---|
| 33 | LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \
|
---|
[f24530ff] | 34 | ./configure --prefix=/usr --with-isl=system</userinput></screen>
|
---|
[9470388] | 35 |
|
---|
[9420398] | 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 |
|
---|
[9470388] | 40 | <para os="c">Compile the package:</para>
|
---|
| 41 |
|
---|
| 42 | <screen os="d"><userinput>make</userinput></screen>
|
---|
| 43 |
|
---|
[ac7dfaa] | 44 | <para os="e">Test the results:</para>
|
---|
[9470388] | 45 |
|
---|
[ac7dfaa] | 46 | <screen os="f"><userinput remap="test">make check</userinput></screen>
|
---|
[9470388] | 47 |
|
---|
[ac7dfaa] | 48 | <para os="g">Install the package:</para>
|
---|
[9470388] | 49 |
|
---|
[ac7dfaa] | 50 | <screen os="h"><userinput>make install</userinput></screen>
|
---|
[9470388] | 51 |
|
---|
| 52 | </sect2>
|
---|
| 53 |
|
---|
[84b164e] | 54 | <sect2 id="contents-cloog" role="content">
|
---|
| 55 | <title>Contents of CLooG</title>
|
---|
[9470388] | 56 |
|
---|
| 57 | <segmentedlist>
|
---|
[2b220db9] | 58 | <segtitle>Installed program</segtitle>
|
---|
[f4ab0fd] | 59 | <segtitle>Installed libraries</segtitle>
|
---|
[2b220db9] | 60 | <segtitle>Installed directories</segtitle>
|
---|
[9470388] | 61 |
|
---|
| 62 | <seglistitem>
|
---|
[2c70b19] | 63 | <seg>cloog</seg>
|
---|
[98b3f45] | 64 | <seg>libcloog-isl.[a,so]</seg>
|
---|
| 65 | <seg>/usr/include/cloog</seg>
|
---|
[9470388] | 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 |
|
---|
[2cca6fd] | 74 | <varlistentry id="cloog">
|
---|
| 75 | <term><command>cloog</command></term>
|
---|
| 76 | <listitem>
|
---|
| 77 | <para>Loop generator for scanning Z-polyhedra</para>
|
---|
[84b164e] | 78 | <indexterm zone="ch-system-cloog cloog">
|
---|
[2cca6fd] | 79 | <primary sortas="b-cloog">cloog</primary>
|
---|
| 80 | </indexterm>
|
---|
| 81 | </listitem>
|
---|
| 82 | </varlistentry>
|
---|
| 83 |
|
---|
[2b220db9] | 84 | <varlistentry id="libcloog-isl">
|
---|
| 85 | <term><filename class="libraryfile">libcloog-isl</filename></term>
|
---|
[9470388] | 86 | <listitem>
|
---|
[2b220db9] | 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 |
|
---|
[9470388] | 94 | </variablelist>
|
---|
| 95 |
|
---|
| 96 | </sect2>
|
---|
| 97 |
|
---|
| 98 | </sect1>
|
---|