6.7. CLooG-PPL-0.15.11

CLooG-PPL 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-PPL

The following prevents the configure script from setting LD_LIBRARY_PATH when it finds PPL. This will prevent any conflicts with libraries from the host system:

cp -v configure{,.orig}
sed -e "/LD_LIBRARY_PATH=/d" \
    configure.orig > configure

Prepare CLooG-PPL for compilation:

CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
    --build=${CLFS_HOST} --host=${CLFS_TARGET} --with-bits=gmp \
    --libdir=/tools/lib64 --enable-shared \
    --with-gmp=/tools --with-ppl=/tools

Compile the package:

make

Install the package:

make install

Details on this package are located in Section 10.19.2, “Contents of CLooG-PPL.”