All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Halstead <mhalstead@linuxfoundation.org>
To: yocto@yoctoproject.org
Cc: rpurdie@linuxfoundation.org
Subject: [yocto-autobuilder-helper][PATCH] config.json: Enable dedicated sstate during build and remove after
Date: Sat, 10 Nov 2018 04:25:32 -0800	[thread overview]
Message-ID: <20181110122532.4642-1-mhalstead@linuxfoundation.org> (raw)

Without any sstate available oe-selftest cannot run in parallel. Set sstate to a
location used only by these builds and remove it as the last step.

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
---
 config.json | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/config.json b/config.json
index 8a694d7..d898bf3 100644
--- a/config.json
+++ b/config.json
@@ -147,7 +147,7 @@
         },
        "nightly-bringup" : {
             "TEMPLATE" : "nightly-arch",
-            "SSTATEDIR" : [],
+            "SSTATEDIR" : ["${BUILDDIR}/../sstate"],
             "MACHINE" : "qemuarm64",
             "step2" : {
                 "MACHINE" : "qemux86-64"
@@ -168,6 +168,9 @@
                 ],
                 "EXTRACMDS" : ["${SCRIPTSDIR}/checkvnc; DISPLAY=:1 oe-selftest --skip-tests distrodata.Distrodata.test_checkpkg -j 15"],
                 "ADDLAYER" : ["${BUILDDIR}/../meta-selftest"]
+            },
+            "step7" : {
+               "EXTRACMDS" : ["rm -rf ${BUILDDIR}/../sstate"]
             }
         },
         "nightly-mips" : {
-- 
2.17.2



             reply	other threads:[~2018-11-10 12:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-10 12:25 Michael Halstead [this message]
2018-11-10 15:40 ` [yocto-autobuilder-helper][PATCH] config.json: Enable dedicated sstate during build and remove after Richard Purdie

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=20181110122532.4642-1-mhalstead@linuxfoundation.org \
    --to=mhalstead@linuxfoundation.org \
    --cc=rpurdie@linuxfoundation.org \
    --cc=yocto@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.