diff options
| author | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2024-09-06 18:36:09 +0200 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-09-17 08:57:45 +0200 |
| commit | d51be1f68daa2876a82558f8186ad379f33e0b94 (patch) | |
| tree | 1e4ead9341e1242a178d87f8d9743362df5a987a /SConstruct | |
| parent | 3fac9e43af2ff81bf1882193c1f26dabd431551d (diff) | |
| download | redot-engine-d51be1f68daa2876a82558f8186ad379f33e0b94.tar.gz | |
[Buildsystem] Improve cache handling
Prevents cache issues by not purging cache before starting a build.
Splits cache purge related code from progress code and delays the purge
until after final build is done.
(cherry picked from commit acffc53e01df0fdc41cfd42cd8a361e86d0a54e3)
Diffstat (limited to 'SConstruct')
| -rw-r--r-- | SConstruct | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index 0ae8f1a387..5262a69821 100644 --- a/SConstruct +++ b/SConstruct @@ -1070,7 +1070,6 @@ if "check_c_headers" in env: env.AppendUnique(CPPDEFINES=[headers[header]]) -# FIXME: This method mixes both cosmetic progress stuff and cache handling... methods.show_progress(env) # TODO: replace this with `env.Dump(format="json")` # once we start requiring SCons 4.0 as min version. @@ -1102,3 +1101,5 @@ def purge_flaky_files(): atexit.register(purge_flaky_files) + +methods.clean_cache(env) |
