Bug#541842: libcloog-ppl-dev: Missing development headers

Matthias Klose doko at debian.org
Wed Aug 19 16:01:44 UTC 2009


On 19.08.2009 16:03, John David Anglin wrote:
>>> When I built and installed libcloog on hpux11.11, an additional
>>> header was installed that defined CLOOG_PPL_BACKEND.
>>
>> which one? At least the header which is included by GCC doesn't define this
>
> /* include/cloog/cloog-config.h.  Generated by configure.  */
> /* include/cloog/cloog-config.h.in.  Generated from configure.in by autoheader.  */
>
> * Use the PPL backend */
> #define CLOOG_PPL_BACKEND 1
> ...

hmm, the Debian package doesn't build this file. We have sources with an 
cloog.h.in, which reads:

#ifndef CLOOG_H
#define CLOOG_H

#ifdef CLOOG_PPL_BACKEND
# define GNUMP
# include<cloog/ppl_backend.h>
#else
# include <polylib/@cl_cv_polylib at .h>
# include<cloog/polylib_backend.h>
#endif
[...]

> The header cloog.h included it as follows:
>
> #ifndef CLOOG_H
> #define CLOOG_H
> #include "cloog-config.h"
> #ifdef CLOOG_PPL_BACKEND
> ...
>
>> macro and the configury seems to take care of this, if the configure option is
>> used. See the thread starting at http://gcc.gnu.org/ml/gcc/2009-08/msg00296.html
>
> It may be that defining CLOOG_PPL_BACKEND in the configure machinary
> is sufficient, but that's not clear as the define may affect the way
> cloog was built.
>
> Dave







More information about the Ubuntu-devel-discuss mailing list