diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-07-08 11:03:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-08 11:03:28 +0200 |
commit | fdcac7be02e119e5fdc43bd650921d799e65b8ef (patch) | |
tree | a205d4be94904ddad46512f9e46ae1515b45c694 | |
parent | 9890b1ee4e594d5d16f70c629463649bb0332e27 (diff) | |
parent | 79815a48da5660e08e622e8a3658c9be892f935f (diff) |
Merge pull request #9538 from vnen/scons-rebuild-speed
Increase SCons rebuild speed
-rw-r--r-- | SConstruct | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index e745d7bb15..a403117065 100644 --- a/SConstruct +++ b/SConstruct @@ -87,6 +87,13 @@ env_base.disabled_modules = [] env_base.use_ptrcall = False env_base.split_drivers = False +# To decide whether to rebuild a file, use the MD5 sum only if the timestamp has changed. +# http://scons.org/doc/production/HTML/scons-user/ch06.html#idm139837621851792 +env_base.Decider('MD5-timestamp') +# Use cached implicit dependencies by default. Can be overridden by specifying `--implicit-deps-changed` in the command line. +# http://scons.org/doc/production/HTML/scons-user/ch06s04.html +env_base.SetOption('implicit_cache', 1) + env_base.__class__.android_add_maven_repository = methods.android_add_maven_repository env_base.__class__.android_add_dependency = methods.android_add_dependency |