IDF: Reduce time between consecutive builds by enabling implicit build cache

This commit is contained in:
valeros
2023-08-03 13:56:50 +03:00
parent fc336a9b99
commit bd031b8c99
+1
View File
@@ -624,6 +624,7 @@ def prepare_build_envs(config, default_env, debug_allowed=True):
defines = extract_defines(cg)
compile_commands = cg.get("compileCommandFragments", [])
build_env = default_env.Clone()
build_env.SetOption("implicit_cache", 1)
for cc in compile_commands:
build_flags = cc.get("fragment")
if not build_flags.startswith("-D"):