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

--- Comment #9 from Jose Fonseca <[email protected]> ---
(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.
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to