[Mesa-dev] [Bug 100201] llvmpipe Windows scons build with MSVC toolchain and LLVM 4.0 fails

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 29 10:20:22 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=100201

--- Comment #9 from Jose Fonseca <jfonseca at vmware.com> ---
(In reply to Anonymous Helper from comment #8)
> (In reply to Jose Fonseca from comment #7)
> > The links errors are possibly due to Mesa and LLVM not being built exactly
> > with the same compiler as Mesa, no?
> LLVM 4.0 was built with MSVC 2017 toolset. I get linker errors regardless of
> what toolset I use to build Mesa (MSVC 2015 or 2017). Building LLVM with
> MSVC 2015 toolset requires the whole Viual Studio 2015 because CMake uses
> Msbuild tool which backward compatibility toolsets like MSVC 2015 toolset on
> MSVC 2017 don't have access to. 

FWIW, you can use also use CMake with Ninja which enables you to use any
vcvarsall.bat file you want.  The process there

  call path\to\vcvarsall.bat
  cmake -G Ninja -Hpath\to\llvm-src -Bpath\to\llvm-bld ...
  ninja -C path\to\llvm-bld

> The log I posted in all attachments is from this script:
> https://github.com/pal1000/mesa-dist-win/tree/master/buildscript

Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170329/363c200e/attachment.html>


More information about the mesa-dev mailing list