[buildbot] phase2: report ccache stats at end of build
LEDE Commits
lede-commits at lists.infradead.org
Thu Nov 16 03:48:37 PST 2023
ynezz pushed a commit to buildbot.git, branch master:
https://git.openwrt.org/32c36de026a501af18384f20a316f76f07229c06
commit 32c36de026a501af18384f20a316f76f07229c06
Author: Thibaut VARÈNE <hacks at slashdirt.org>
AuthorDate: Tue Nov 14 11:20:34 2023 +0100
phase2: report ccache stats at end of build
Signed-off-by: Thibaut VARÈNE <hacks at slashdirt.org>
---
phase2/master.cfg | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/phase2/master.cfg b/phase2/master.cfg
index 3d0ac11..1437825 100644
--- a/phase2/master.cfg
+++ b/phase2/master.cfg
@@ -784,6 +784,17 @@ for arch in arches:
alwaysRun = True
))
+ factory.addStep(ShellCommand(
+ name = "ccachestat",
+ description = "Reporting ccache stats",
+ command=["ccache", "-s"],
+ want_stderr = False,
+ haltOnFailure = False,
+ flunkOnFailure = False,
+ warnOnFailure = False,
+ alwaysRun = True,
+ ))
+
c['builders'].append(BuilderConfig(name=arch[0], workernames=workerNames, factory=factory))
c['schedulers'].append(schedulers.Triggerable(name="trigger_%s" % arch[0], builderNames=[ arch[0] ]))
More information about the lede-commits
mailing list