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 32-bit compilation:
./configure --prefix=/usr \ --libdir=/usr/lib32 \ CC="gcc -m32"
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
Clean up the build directory before moving on to the next platform:
make clean
Prepare CLooG for x32 ABI compilation:
./configure --prefix=/usr \ --libdir=/usr/libx32 \ CC="gcc -mx32"
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
Clean up the build directory before moving on to the next platform:
make clean
Prepare CLooG for 64-bit compilation:
./configure --prefix=/usr
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