We do not use the staging_dir ccache on buildbots (config seed contains
CONFIG_CCACHE=n), only the host tool if present.
Also only execute this step if 'ccache_command' is set.
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
name = "ccachestat",
description = "Reporting ccache stats",
command=["ccache", "-s"],
- env = MakeEnv(overrides={ 'PATH': ["${PATH}", "./staging_dir/host/bin"] }),
logEnviron = False,
want_stderr = False,
haltOnFailure = False,
flunkOnFailure = False,
warnOnFailure = False,
- hideStepIf = lambda r, s: r==results.FAILURE,
+ doStepIf = util.Transform(bool, Property("ccache_command")),
))
for brname in branchNames: