phase1, phase2: add unified ccache handling
[buildbot.git] / phase1 / master.cfg
index ae69309ecef9464a3879bd2cb577856609a21be6..bc21f809543e62cb3ad5c26692cec38090666475 100644 (file)
@@ -454,6 +454,20 @@ for target in targets:
                command=["./scripts/feeds", "install", "-a"],
                env = MakeEnv()))
 
+       # ccache helper
+       factory.addStep(FileDownload(
+               mastersrc = "ccache.sh",
+               slavedest = "ccache.sh",
+               mode = 0755
+       ))
+
+       # ccache prepare
+       factory.addStep(ShellCommand(
+                name = "prepccache",
+                description = "Preparing ccache",
+                command = ["./ccache.sh"]
+       ))
+
        # seed config
        factory.addStep(FileDownload(
                mastersrc = "config.seed",