[Mesa-dev] [Bug 100202] llvmpipe Windows scons build can't detect Visual Studio 2017 toolchain

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 28 08:51:05 UTC 2017


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

--- Comment #3 from Anonymous Helper <anonymous at dodgeit.com> ---
(In reply to Anonymous Helper from comment #2)
> For now you can use either the normal VS2017 Native Tools and VS2015 Native
> Tools, but VS2017 toolset would stop working if bug 100201 gets fixed before
> this bug.
> This is because of the following confusion with Scons:
> - MSVC 2017 toolset has built-in xtime definition;
> - MSVC 2015 toolset doesn't;
> - LLVM 4.0 makes use of xtime;
> - LLVM 3.9.1 doesn't;
> - Scons, while it can use MSVC 2017 toolset if MSVC 2015 toolset is
> installed, it doesn't support it properly, it is unable to detect certain
> headers, mainly brand new ones like xtimec.h where xtime is defined. This
> leads to a no escape situation where you can only decide how you fail.
> 
> - If you remove xtime definition from Mesa codbase, you quickly get xtime
> undefined coming from Scons;
> - If you leave this unchanged, MSVC compiler encounters an xtime redifintion
> close to the end of the build like here:
> https://bugs.freedesktop.org/attachment.cgi?id=130219
Update: It turns out that LLVM 4.0 won't actually impact Scons interaction with
MSVC 2017 toolset as I stated above, also xtime was already defined in MSVC
2015 toolset, so it isn't actually brand new as I thought. Both toolchains
would be usable regardless of what's going to happpen with bug 100201.

-- 
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/20170328/f20983f3/attachment.html>


More information about the mesa-dev mailing list