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 <[email protected]>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 > [email protected] > http://lists.freedesktop.org/mailman/listinfo/beignet > >
_______________________________________________ Beignet mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/beignet
