Re: [Mesa-dev] clover: Fix build after llvm r325155 and r325160

2018-02-20 Thread Jan Vesely
On Wed, 2018-02-21 at 00:50 +0100, Dieter Nützel wrote: > Thank you Jan, > > much appreciated, but now I get this: > > LLVM-CC amdgcn--/lib/math/half_exp.cl.tahiti.bc > ./amdgcn/lib/workitem/get_global_offset.cl:6:3: error: casting > '__attribute__((address_space(4))) >unsigned char *' t

Re: [Mesa-dev] clover: Fix build after llvm r325155 and r325160

2018-02-20 Thread Dieter Nützel
Thank you Jan, much appreciated, but now I get this: LLVM-CC amdgcn--/lib/math/half_exp.cl.tahiti.bc ./amdgcn/lib/workitem/get_global_offset.cl:6:3: error: casting '__attribute__((address_space(4))) unsigned char *' to type '__attribute__((address_space(2))) uint *' (aka '__attribu

Re: [Mesa-dev] clover: Fix build after llvm r325155 and r325160

2018-02-19 Thread Jan Vesely
On Fri, 2018-02-16 at 05:49 +0100, Dieter Nützel wrote: > Hello Jan, > > something semilar is needed fro libclc, too. > > LLVM-CC nvptx64--nvidiacl/lib/geometric/dot.cl.bc > ./utils/prepare-builtins.cpp:108:3: error: no matching function for call > to 'WriteBitcodeToFile' >WriteBitcodeToFile

Re: [Mesa-dev] clover: Fix build after llvm r325155 and r325160

2018-02-15 Thread Dieter Nützel
Hello Jan, something semilar is needed fro libclc, too. LLVM-CC nvptx64--nvidiacl/lib/geometric/dot.cl.bc ./utils/prepare-builtins.cpp:108:3: error: no matching function for call to 'WriteBitcodeToFile' WriteBitcodeToFile(M, Out->os()); ^~ /usr/local/include/llvm/Bitcode/Bi