[Mesa-dev] clover: Fix build after llvm r325155 and r325160
Jan Vesely
jan.vesely at rutgers.edu
Mon Feb 19 22:21:49 UTC 2018
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(M, Out->os());
> ^~~~~~~~~~~~~~~~~~
> /usr/local/include/llvm/Bitcode/BitcodeWriter.h:129:8: note: candidate
> function not viable: no known
> conversion from 'llvm::Module *' to 'const llvm::Module' for 1st
> argument; dereference the
> argument with *
> void WriteBitcodeToFile(const Module &M, raw_ostream &Out,
> ^
patch is now posted at:
https://lists.llvm.org/pipermail/libclc-dev/2018-February/002800.html
Jan
>
> Greetings,
> Dieter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180219/54b000d1/attachment-0001.sig>
More information about the mesa-dev
mailing list