[Libclc-dev] libclc building issue
peter at pcc.me.uk
Tue Jul 24 02:59:35 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.
r600 support is not yet in mainline LLVM, and it is not in mainline
libclc either. Are you using AMD's patched LLVM and libclc?
More information about the Libclc-dev