[Beignet] [PATCH] Compile against upstream LLVM 3.3

Steven Newbury steve at snewbury.org.uk
Sun Apr 21 08:51:13 PDT 2013


On Sun, 2013-04-21 at 12:27 +0100, Steven Newbury wrote:
> "LLVM_33" isn't exactly future-proof, but this is enough to build
> against LLVM trunk.  Currently, it's not working at run-time possibly
> due to changes to the clang frontend arguments/backend selection?  Or
> perhaps it's my clang build..?  It was working for me against an earlier
> clang/llvm checkout.
> 
I'm pretty convinced it's something weird with my local clang/llvm
install.

Errors all look something like this:

compiler_clod:
/tmp/fileA0M1gZ.cl:198:38: error: expected identifier or '('
typedef __texture struct _image2d_t* image2d_t;

It seems the headers that define the standard CL types aren't getting
included???  It would be good if somebody else could test, I'm not sure
where to look.



More information about the Beignet mailing list