[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 09:02:04 UTC 2017


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

--- Comment #8 from Anonymous Helper <anonymous at dodgeit.com> ---
(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. With Mesa on the other hand using Scons which is an
alternative to Msbuild I can get away, by just using the toolset. I'd rather
wait for this to be fixed, then reinstalling Visual Studio 2015 to see if it
works, it was horribly bloated, forcing me to install .NET and Azure SDKs just
to tell everything is up-to-date although I never used them.    
> Or perhaps we need to update mesa/scons/llvm.py with a special case for LLVM
> 4.0 with additional libraries?
> 
> 
> I installed all the MSVC components, but still haven't figured out how to
> repro the build logs you attached.
> 
> 
> At any rate, your xtime fix is on the right track.  So I tweaked a bit and
> pushed it.

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

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


More information about the mesa-dev mailing list