[Libclc-dev] libclc building issue

Tom Stellard thomas.stellard at amd.com
Tue Jul 24 05:31:06 PDT 2012


On Wed, Jul 18, 2012 at 03:18:48PM -0400, He Dong wrote:
> Hi libclc developers,
> 
> I was trying to build libclc, but encountered a building issue like this
> 
> [dhe at dve libclc]$ ./configure.py --with-llvm-config=/usr/bin/llvm-config && make
> CXX utils/prepare-builtins.o
> LINK utils/prepare-builtins
> LLVM-CC r600--/lib/workitem/get_global_id.cl.bc
> error: unknown target triple 'r600--', please use -triple or -arch
> make: *** [r600--/lib/workitem/get_global_id.cl.bc] Error 1
> 
> Really appreciate if you guys could spend some time on this to help me out.
>

It looks like you are using my version of libclc that has support for
R600.  In order to build this version, you will need to patch the 3.1
releases of clang and LLVM.  You can find the instructions here:
http://dri.freedesktop.org/wiki/GalliumCompute#How_to_Install

-Tom

 
> Regards,
> 
> Dong
> 
> _______________________________________________
> Libclc-dev mailing list
> Libclc-dev at pcc.me.uk
> http://www.pcc.me.uk/cgi-bin/mailman/listinfo/libclc-dev
> 





More information about the Libclc-dev mailing list