Yocto Project Discussions
 help / color / mirror / Atom feed
From: Alexander Kanavin <alex.kanavin@gmail.com>
To: yocto@lists.yoctoproject.org
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Subject: [RFC PATCH yocto-autobuilder-helper] config.json: prebuild key native items after pre-fetching but before the test matrix
Date: Mon, 24 Jul 2023 20:31:00 +0200	[thread overview]
Message-ID: <20230724183100.217177-1-alex.kanavin@gmail.com> (raw)

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 --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" : {
-- 
2.41.0



                 reply	other threads:[~2023-07-24 18:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230724183100.217177-1-alex.kanavin@gmail.com \
    --to=alex.kanavin@gmail.com \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox