[Pkg-opencl-devel] Bug#806965: oclgrind: FTBFS on ppc64el -- conflict with altivec keyword bool
J Price
J.Price at bristol.ac.uk
Tue Dec 8 19:00:22 UTC 2015
On 8 December 2015 at 18:28, Andreas Beckmann <anbe at debian.org> wrote:
> BTW, why do you need your own copy of the opencl headers at all? Can't
> you just use the headers from opencl-headers? (I probably asked this
> before ...)
You're right. Upstream needs the local copy since many systems don't
have recent enough OpenCL headers, but for Debian I could add a patch
to remove the local copy and have a build-dependency on opencl-headers
instead.
> I don't really like the idea of manipulating unrelated defines in
> headers ...
OK, so how about if I do this from the .cpp files instead? e.g.
(in foo.cpp)
#include <CL/cl.h>
#undef vector
#undef bool
#undef pixel
James
More information about the Pkg-opencl-devel
mailing list