Commit 838c0485 authored by Jose Fonseca's avatar Jose Fonseca

scons: Workaround failures with MSVC when using SCons 3.0.[2-4].

This change applies the workaround suggested by Bill Deegan on the
affected SCons versions.

It also adds a comment with the URL explaining why we were using
customizing the decider and max_drift in the first place, as I had
forgotten all about it.

Reviewed-by: default avatarRoland Scheidegger <>
Reviewed-by: Brian Paul's avatarBrian Paul <>
parent 87c2e8cb
......@@ -308,7 +308,13 @@ def generate(env):
if env.GetOption('num_jobs') <= 1:
env.SetOption('num_jobs', num_jobs())
# Speed up dependency checking. See
# -
# -
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.SetOption('max_drift', 60)
# C preprocessor options
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment