phase2: report ccache stats at end of build
authorThibaut VARÈNE <hacks@slashdirt.org>
Tue, 14 Nov 2023 10:20:34 +0000 (11:20 +0100)
committerPetr Štetiar <ynezz@true.cz>
Thu, 16 Nov 2023 08:57:19 +0000 (09:57 +0100)
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
phase2/master.cfg

index 3d0ac1192d357c3d6c2ec222bcedef03c2ea7b43..14378259c0c2cbaf2ea1e606345bf0bf9970e320 100644 (file)
@@ -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] ]))