Skip to contentSkip to conversation

config.json: prebuild key native items after pre-fetching but before the test matrix

RFC PATCH New Alexander Kanavin 1 participant 1 message Jul 24, 2023

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 config.json: prebuild key native items after pre-fetching but before the test matrix

Quite often the changes-under-test cause all of the builders in the matrix to build these items in parallel, which is enormously wasteful. The idea here is to speed things up by building them once at the start, and then serve them from sstate, so that test builds can quickly proceed to items specific to them.

---
 config.json | 4 ++++
 1 file changed, 4 insertions(+)
config.json +4 -0
index f271ffa..355a5bb 100644
@@ -274,6 +274,10 @@
                 "extravars" : [
                     "SOURCE_MIRROR_FETCH = '1'"
                 ]
+            },
+            "step2" : {
+                "shortname" : "Native items pre-building",
+                "BBTARGETS" : "binutils-native cargo-native qemu-system-native dnf-native apt-native opkg-native gtk+3-native gtk4-native gdk-pixbuf-native"
             }
         },
         "trigger-build-posttrigger" : {
Signature · 1 line
2.41.0