diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-02-08 15:35:13 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-02-08 15:45:22 +0100 |
commit | d4553c51262e347b8c877d57ca251d94faf4dc30 (patch) | |
tree | f33f6d17c22876a01fcd63fdd3973088461d9ac9 /editor/editor_help.cpp | |
parent | 4a2f22daf47c275a7839c0f85924366d1162c8f0 (diff) |
SCons: Add `fast_unsafe` option for faster rebuilds
This reverts #53828 which had caused a significant drop in incremental
rebuild time for debug builds (from 10s to 23s on my laptop).
The "faster but unsafe" options are re-added, as well as adding
`max_drift=60` which we didn't use previously.
These options speed up SCons' own processing of the codebase to decide
what to build/rebuild (i.e. the first step before actually calling the
compiler). This will therefore not make much difference for scratch
builds, and is mostly useful for incremental rebuilds (including "null"
rebuilds with no change).
These options are enabled automatically for `debug` builds, unless
`fast_unsafe=no` is passed.
They are disabled by default for `release` and `release_debug` builds,
unless `fast_unsafe=yes` is passed.
Diffstat (limited to 'editor/editor_help.cpp')
0 files changed, 0 insertions, 0 deletions