Once downloaded and unpacked (e.g. using the "tar -zxvf cloog-0.14.1.tar.gz" command),
you can compile CLooG by typing the following commands on the CLooG's root directory:
./configure
make
And as root: make install
Depending on the location of the PolyLib, you may need to set the option
--with-polylib of the configure script (e.g.
"./configure --with-polylib=PATH_TO_POLYLIB"). See the user's manual for
more details and more options.
The current version is still under evaluation, and there is no guarantee that
the upward compatibility will be respected. A lot of reports are needed to
freeze the library API and the input file shape. So you are very welcome and
encouraged to send reports on bugs, wishes, critics, comments, suggestions or
successful experiences to the according mailing list, see the
documentation page.
To successfully install CLooG (up to 0.14.1 version, for the development
version see below), you need to install PolyLib version
5.22.3 or above first (any version: 32 bits, 64 bits or GMP is
satisfactory). Once downloaded and unpacked (e.g., using the
"tar -zxvf polylib-5.22.3.tar.gz" command),
you can compile it by typing the following commands on PolyLib's root directory:
./configure
make
And as root: make install
CLooG makes intensive calls to polyhedral operations, and PolyLib functions do
the job. Polylib is a free library written in C for the manipulation of
polyhedra. The library is operating on objects like vectors, matrices, lattices,
polyhedra, Z-polyhedra, unions of polyhedra and a lot of other intermediary
structures. It provides functions for all the important operations on these
structures.
To benefit from the latest improvements and bug fixes you can try the
development version of CLooG:
A major upcoming improvement is the support of multiple backends, not
only PolyLib. CLooG will support
PPL and already supports in
the development version the
isl
(Integer Set Library) backend that should become the default backend.
Because isl does not rely on rationals, CLooG is able to generate
significantly better codes, with low control overhead. To compile the
development version of CLooG with the isl backend: