source: BOOK/final-system/common/cloog.xml@ 577e1379

clfs-3.0.0-systemd systemd
Last change on this file since 577e1379 was 9420398, checked in by William Harrington <kb0iic@…>, 11 years ago

Add a sed to cloog which attempts to install a cloog-isl.cmake file for pkg-config. Quite strange.

  • Property mode set to 100644
File size: 3.1 KB
Line 
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" \
33LDFLAGS="-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 <important os="e">
45 <para>The test suite for CLooG is considered
46 critical. Do not skip it under any circumstance.</para>
47 </important>
48
49 <para os="f">Test the results:</para>
50
51<screen os="g"><userinput remap="test">make check</userinput></screen>
52
53 <para os="h">Install the package:</para>
54
55<screen os="i"><userinput>make install</userinput></screen>
56
57 </sect2>
58
59 <sect2 id="contents-cloog" role="content">
60 <title>Contents of CLooG</title>
61
62 <segmentedlist>
63 <segtitle>Installed program</segtitle>
64 <segtitle>Installed libraries</segtitle>
65 <segtitle>Installed directories</segtitle>
66
67 <seglistitem>
68 <seg>cloog</seg>
69 <seg>libcloog-isl.[a,so]</seg>
70 <seg>/usr/include/cloog</seg>
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
79 <varlistentry id="cloog">
80 <term><command>cloog</command></term>
81 <listitem>
82 <para>Loop generator for scanning Z-polyhedra</para>
83 <indexterm zone="ch-system-cloog cloog">
84 <primary sortas="b-cloog">cloog</primary>
85 </indexterm>
86 </listitem>
87 </varlistentry>
88
89 <varlistentry id="libcloog-isl">
90 <term><filename class="libraryfile">libcloog-isl</filename></term>
91 <listitem>
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
99 </variablelist>
100
101 </sect2>
102
103</sect1>
Note: See TracBrowser for help on using the repository browser.