6.8. CLooG-PPL-0.15.3

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.8.1. Environment Settings

This package requires compiler variables to be set for the target in the environment.

export CC="${CLFS_TARGET}-gcc"
export CXX="${CLFS_TARGET}-g++"
export AR="${CLFS_TARGET}-ar"
export AS="${CLFS_TARGET}-as"
export RANLIB="${CLFS_TARGET}-ranlib"
export LD="${CLFS_TARGET}-ld"
export STRIP="${CLFS_TARGET}-strip"

6.8.2. Installation of CLooG-PPL

Prepare CLooG-PPL for compilation:

LDFLAGS="-Wl,-rpath-link,${CLFS}/cross-tools/${CLFS_TARGET}/lib" \
    ./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
    --prefix=/usr --enable-shared \
    --with-gmp --with-ppl

Compile the package:

make

Install the package:

make DESTDIR=${CLFS} install

At this time, Libtool does not support searching a sysroot for libraries. Leaving the .la files in place will cause Libtool to look in the wrong place for libraries. These files are not required for linking on Linux. Remove them with the following command:

rm -v ${CLFS}/usr/lib/libcloog.la

6.8.3. Contents of CLooG-PPL

Installed Libraries: libcloog.[a,so]

Short Descriptions

cloog

Loop generator for scanning Z-polyhedra

libcloog

The Chunky Loop Generator.