[Mesa-dev] [Bug 109443] Build failure with MSVC when using Scons >= 3.0.2
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Feb 26 18:38:50 UTC 2019
https://bugs.freedesktop.org/show_bug.cgi?id=109443
--- Comment #6 from Jose Fonseca <jfonseca at vmware.com> ---
How about this as workaround:
diff --git a/scons/gallium.py b/scons/gallium.py
index 963834a5fbc..565f19f3f1a 100755
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -308,7 +308,10 @@ def generate(env):
if env.GetOption('num_jobs') <= 1:
env.SetOption('num_jobs', num_jobs())
- env.Decider('MD5-timestamp')
+ scons_version = distutils.version.StrictVersion(SCons.__version__)
+ if scons_version < distutils.version.StrictVersion('3.0.2') or \
+ scons_version >= distutils.version.StrictVersion('3.0.4'):
+ env.Decider('MD5-timestamp')
env.SetOption('max_drift', 60)
# C preprocessor options
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190226/437a72cd/attachment.html>
More information about the mesa-dev
mailing list