Merge pull request #53828 from akien-mga/scons-remove-md5-timestamp-implicit-cache

This commit is contained in:
Rémi Verschelde 2021-10-15 10:23:43 +02:00 committed by GitHub
commit 6990e10f3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -314,16 +314,6 @@ if env_base["use_precise_math_checks"]:
if env_base["target"] == "debug":
env_base.Append(CPPDEFINES=["DEBUG_MEMORY_ALLOC", "DISABLE_FORCED_INLINE"])
# The two options below speed up incremental builds, but reduce the certainty that all files
# will properly be rebuilt. As such, we only enable them for debug (dev) builds, not release.
# To decide whether to rebuild a file, use the MD5 sum only if the timestamp has changed.
# https://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.
# https://scons.org/doc/production/HTML/scons-user/ch06s04.html
env_base.SetOption("implicit_cache", 1)
if env_base["no_editor_splash"]:
env_base.Append(CPPDEFINES=["NO_EDITOR_SPLASH"])