diff mbox series

[RFC,yocto-autobuilder-helper] config.json: prebuild key native items after pre-fetching but before the test matrix

Message ID 20230724183100.217177-1-alex.kanavin@gmail.com
State New
Headers show
Series [RFC,yocto-autobuilder-helper] config.json: prebuild key native items after pre-fetching but before the test matrix | expand

Commit Message

Alexander Kanavin July 24, 2023, 6:31 p.m. UTC
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.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 config.json | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/config.json b/config.json
index f271ffa..355a5bb 100644
--- a/config.json
+++ b/config.json
@@ -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" : {