[Beignet] a question about gen-backend

Rashid Kaleem rashid.kaleem at gmail.com
Fri Dec 20 09:59:26 PST 2013


I had the same problem when i was building the gen-backend. Make sure you
are using clang 3.3 when you compile. In my case, even though i had the
path to LLVM 3.3 setup, an older version of clang was also in my path, and
cmake was associating that as the C/C++ compiler.

-Rashid


On Sat, Dec 14, 2013 at 12:08 AM, Freeman Liu <liuyuxi.dlut at gmail.com>wrote:

> Hi All,
>
> When I tried to build gen-backend using llvm 3.3 and clang 3.3, I came
> across such a mistake:
>
> Scanning dependencies of target pch_object
> [  2%] Generating ocl_stdlib.h
> [  5%] Generating ocl_stdlib.h.pch
> error: unknown target triple 'ptx32', please use -triple or -arch
> make[2]: *** [src/ocl_stdlib.h.pch] Error 1
> make[1]: *** [src/CMakeFiles/pch_object.dir/all] Error 2
> make: *** [all] Error 2
>
> I could not fix it. Could anyone give me a help?
>
> Thank you so much!!
>
> --
> Sincerely,
>
> Freeman Liu
>
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/beignet/attachments/20131220/ec0de293/attachment.html>


More information about the Beignet mailing list