6.7. 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.

6.7.1. Installation of CLooG

Prepare CLooG for compilation:

./configure --prefix=/tools \
    --build=${CLFS_HOST} --host=${CLFS_TARGET}  --libdir=/tools/lib64 \

The meaning of the new configure option:


This ensures that CLooG will use the version of Isl that was just installed into /tools, rather than the copy in its own source tree.

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:


Install the package:

make install

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