5.11. CLooG-0.18.2

CLooG is a library to generate code for scanning Z-polyhedra. In other words, it finds code that reaches each integral point of one or more parameterized polyhedra. GCC links with this library in order to enable the new loop generation code known as Graphite.

5.11.1. Installation of CLooG

Prepare CLooG for compilation:

LDFLAGS="-Wl,-rpath,/cross-tools/lib" \
    ./configure --prefix=/cross-tools --disable-static \
    --with-gmp-prefix=/cross-tools --with-isl-prefix=/cross-tools

Apply a sed which prevents the attempted installation of an invalid file:

cp -v Makefile{,.orig}
sed '/cmake/d' Makefile.orig > Makefile

Compile the package:

make

Install the package:

make install

Details on this package are located in Section 10.14.2, “Contents of CLooG.”