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.
Prepare CLooG for compilation:
CC="gcc -isystem /usr/include" \ LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \ ./configure --prefix=/usr --enable-shared --with-isl=system
Apply a sed which prevents the attempted installation of an invalid file:
sed -i '/cmake/d' Makefile
Compile the package:
make
The test suite for CLooG is considered critical. Do not skip it under any circumstance.
Test the results:
make check
Install the package:
make install