All of lore.kernel.org
 help / color / mirror / Atom feed
* [yocto-autobuilder-helper][PATCH] config.json: Enable dedicated sstate during build and remove after
@ 2018-11-10 12:25 Michael Halstead
  2018-11-10 15:40 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Halstead @ 2018-11-10 12:25 UTC (permalink / raw)
  To: yocto; +Cc: rpurdie

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [yocto-autobuilder-helper][PATCH] config.json: Enable dedicated sstate during build and remove after
  2018-11-10 12:25 [yocto-autobuilder-helper][PATCH] config.json: Enable dedicated sstate during build and remove after Michael Halstead
@ 2018-11-10 15:40 ` Richard Purdie
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2018-11-10 15:40 UTC (permalink / raw)
  To: Michael Halstead, yocto; +Cc: rpurdie

On Sat, 2018-11-10 at 04:25 -0800, Michael Halstead wrote:
> 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" : {

Unfortunately this won't work as BUILDDIR is a shell variable in this
case. I've tweaked the scripts/config a little differently to try and
speed up the bringup tests and fired off another couple of test builds.

Cheers,

Richard



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-11-10 15:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-10 12:25 [yocto-autobuilder-helper][PATCH] config.json: Enable dedicated sstate during build and remove after Michael Halstead
2018-11-10 15:40 ` Richard Purdie

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.