[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" \
|
---|
[98b3f45] | 34 | ./configure --prefix=/usr --enable-shared --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 |
|
---|
| 44 | <important os="e">
|
---|
[84b164e] | 45 | <para>The test suite for CLooG is considered
|
---|
[9470388] | 46 | critical. Do not skip it under any circumstance.</para>
|
---|
| 47 | </important>
|
---|
| 48 |
|
---|
| 49 | <para os="f">Test the results:</para>
|
---|
| 50 |
|
---|
[686839b] | 51 | <screen os="g"><userinput remap="test">make check</userinput></screen>
|
---|
[9470388] | 52 |
|
---|
| 53 | <para os="h">Install the package:</para>
|
---|
| 54 |
|
---|
| 55 | <screen os="i"><userinput>make install</userinput></screen>
|
---|
| 56 |
|
---|
| 57 | </sect2>
|
---|
| 58 |
|
---|
[84b164e] | 59 | <sect2 id="contents-cloog" role="content">
|
---|
| 60 | <title>Contents of CLooG</title>
|
---|
[9470388] | 61 |
|
---|
| 62 | <segmentedlist>
|
---|
[2b220db9] | 63 | <segtitle>Installed program</segtitle>
|
---|
[f4ab0fd] | 64 | <segtitle>Installed libraries</segtitle>
|
---|
[2b220db9] | 65 | <segtitle>Installed directories</segtitle>
|
---|
[9470388] | 66 |
|
---|
| 67 | <seglistitem>
|
---|
[2c70b19] | 68 | <seg>cloog</seg>
|
---|
[98b3f45] | 69 | <seg>libcloog-isl.[a,so]</seg>
|
---|
| 70 | <seg>/usr/include/cloog</seg>
|
---|
[9470388] | 71 | </seglistitem>
|
---|
| 72 | </segmentedlist>
|
---|
| 73 |
|
---|
| 74 | <variablelist>
|
---|
| 75 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 76 | <?dbfo list-presentation="list"?>
|
---|
| 77 | <?dbhtml list-presentation="table"?>
|
---|
| 78 |
|
---|
[2cca6fd] | 79 | <varlistentry id="cloog">
|
---|
| 80 | <term><command>cloog</command></term>
|
---|
| 81 | <listitem>
|
---|
| 82 | <para>Loop generator for scanning Z-polyhedra</para>
|
---|
[84b164e] | 83 | <indexterm zone="ch-system-cloog cloog">
|
---|
[2cca6fd] | 84 | <primary sortas="b-cloog">cloog</primary>
|
---|
| 85 | </indexterm>
|
---|
| 86 | </listitem>
|
---|
| 87 | </varlistentry>
|
---|
| 88 |
|
---|
[2b220db9] | 89 | <varlistentry id="libcloog-isl">
|
---|
| 90 | <term><filename class="libraryfile">libcloog-isl</filename></term>
|
---|
[9470388] | 91 | <listitem>
|
---|
[2b220db9] | 92 | <para>Isl backend for CLooG.</para>
|
---|
| 93 | <indexterm zone="ch-system-cloog libcloog-isl">
|
---|
| 94 | <primary sortas="c-libcloog-isl">libcloog-isl</primary>
|
---|
| 95 | </indexterm>
|
---|
| 96 | </listitem>
|
---|
| 97 | </varlistentry>
|
---|
| 98 |
|
---|
[9470388] | 99 | </variablelist>
|
---|
| 100 |
|
---|
| 101 | </sect2>
|
---|
| 102 |
|
---|
| 103 | </sect1>
|
---|