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,
       ^

Greetings,
Dieter
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to