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} \
    --with-isl=system

The meaning of the new configure option:

--with-isl=system

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:

make

Install the package:

make install

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