diff mbox series

[yocto-autobuilder-helper,3/3] Add meta-clang builders

Message ID 20230607192811.601343-3-ross.burton@arm.com
State New
Headers show
Series [yocto-autobuilder-helper,1/3] scripts/layer-config: remove unused imports | expand

Commit Message

Ross Burton June 7, 2023, 7:28 p.m. UTC
From: Ross Burton <ross.burton@arm.com>

Add a meta-clang builder that runs testimage on core-image-sato-sdk for
both qemux86-64 and qemuarm64, and add meta-clang to the nightly
check-layer builder.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 config.json | 29 ++++++++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)

Comments

Khem Raj June 7, 2023, 8:20 p.m. UTC | #1
yay thanks for doing it.

On Wed, Jun 7, 2023 at 12:28 PM Ross Burton <ross.burton@arm.com> wrote:
>
> From: Ross Burton <ross.burton@arm.com>
>
> Add a meta-clang builder that runs testimage on core-image-sato-sdk for
> both qemux86-64 and qemuarm64, and add meta-clang to the nightly
> check-layer builder.
>
> Signed-off-by: Ross Burton <ross.burton@arm.com>
> ---
>  config.json | 29 ++++++++++++++++++++++++++++-
>  1 file changed, 28 insertions(+), 1 deletion(-)
>
> diff --git a/config.json b/config.json
> index 92c9443..eb492ee 100644
> --- a/config.json
> +++ b/config.json
> @@ -444,6 +444,24 @@
>                  "BBTARGETS": "aws-iot-device-sdk-cpp-v2"
>              }
>          },
> +        "meta-clang" : {
> +            "NEEDREPOS" : ["poky", "meta-clang"],
> +            "extravars" : [
> +                "TOOLCHAIN = 'clang'"
> +            ],
> +            "step1": {
> +                "shortname": "Build for qemux86-64",
> +                "MACHINE": "qemux86-64",
> +                "BBTARGETS": "core-image-sato-sdk",
> +                "SANITYTARGETS" : "core-image-sato-sdk:do_testimage"
> +            },
> +            "step2": {
> +                "shortname": "Build for qemuarm64",
> +                "MACHINE": "qemuarm64",
> +                "BBTARGETS": "core-image-sato-sdk",
> +                "SANITYTARGETS" : "core-image-sato-sdk:do_testimage"
> +            }
> +        },
>         "bringup" : {
>              "SSTATEDIR" : ["SSTATE_DIR ?= '${HELPERBUILDDIR}/sstate'"],
>              "TEMPLATE" : "bringup"
> @@ -911,7 +929,7 @@
>              }
>          },
>          "check-layer-nightly" : {
> -            "NEEDREPOS" : ["poky", "meta-agl", "meta-arm", "meta-aws", "meta-intel", "meta-ti", "meta-openembedded", "meta-virtualization"],
> +            "NEEDREPOS" : ["poky", "meta-agl", "meta-arm", "meta-aws", "meta-intel", "meta-ti", "meta-openembedded", "meta-virtualization", "meta-clang"],
>              "step1" : {
>                  "shortname" : "Test meta-agl YP Compatibility",
>                  "EXTRACMDS" : ["yocto-check-layer-wrapper ../meta-agl/meta-agl-core ../meta-agl/meta-netboot ../meta-agl/meta-pipewire --dependency ../meta-openembedded/meta-oe ../meta-openembedded/meta-networking ../meta-openembedded/meta-python --no-auto-dependency"]
> @@ -940,6 +958,10 @@
>              "step7" : {
>                  "shortname" : "Test meta-virtualization YP Compatibility",
>                  "EXTRACMDS" : ["yocto-check-layer-wrapper ../meta-virtualization --dependency ../meta-openembedded/meta-oe ../meta-openembedded/meta-networking ../meta-openembedded/meta-python ../meta-openembedded/meta-filesystems --no-auto-dependency"]
> +            },
> +            "step8" : {
> +                "shortname" : "Test meta-clang YP Compatibility",
> +                "EXTRACMDS" : ["yocto-check-layer-wrapper ../meta-clang --no-auto-dependency"]
>              }
>          },
>          "metrics" : {
> @@ -1272,6 +1294,11 @@
>              "revision" : "HEAD",
>              "no-layer-add" : true
>          },
> +        "meta-clang": {
> +            "url" : "https://github.com/kraj/meta-clang.git",
> +            "branch" : "master",
> +            "revision" : "HEAD"
> +        },
>          "meta-ti" : {
>              "url" : "git://git.yoctoproject.org/meta-ti",
>              "branch" : "master",
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> You automatically follow any topics you start or reply to.
> View/Reply Online (#60215): https://lists.yoctoproject.org/g/yocto/message/60215
> Mute This Topic: https://lists.yoctoproject.org/mt/99392195/1997914
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/leave/6692173/1997914/1837948400/xyzzy [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/config.json b/config.json
index 92c9443..eb492ee 100644
--- a/config.json
+++ b/config.json
@@ -444,6 +444,24 @@ 
                 "BBTARGETS": "aws-iot-device-sdk-cpp-v2"
             }
         },
+        "meta-clang" : {
+            "NEEDREPOS" : ["poky", "meta-clang"],
+            "extravars" : [
+                "TOOLCHAIN = 'clang'"
+            ],
+            "step1": {
+                "shortname": "Build for qemux86-64",
+                "MACHINE": "qemux86-64",
+                "BBTARGETS": "core-image-sato-sdk",
+                "SANITYTARGETS" : "core-image-sato-sdk:do_testimage"
+            },
+            "step2": {
+                "shortname": "Build for qemuarm64",
+                "MACHINE": "qemuarm64",
+                "BBTARGETS": "core-image-sato-sdk",
+                "SANITYTARGETS" : "core-image-sato-sdk:do_testimage"
+            }
+        },
        "bringup" : {
             "SSTATEDIR" : ["SSTATE_DIR ?= '${HELPERBUILDDIR}/sstate'"],
             "TEMPLATE" : "bringup"
@@ -911,7 +929,7 @@ 
             }
         },
         "check-layer-nightly" : {
-            "NEEDREPOS" : ["poky", "meta-agl", "meta-arm", "meta-aws", "meta-intel", "meta-ti", "meta-openembedded", "meta-virtualization"],
+            "NEEDREPOS" : ["poky", "meta-agl", "meta-arm", "meta-aws", "meta-intel", "meta-ti", "meta-openembedded", "meta-virtualization", "meta-clang"],
             "step1" : {
                 "shortname" : "Test meta-agl YP Compatibility",
                 "EXTRACMDS" : ["yocto-check-layer-wrapper ../meta-agl/meta-agl-core ../meta-agl/meta-netboot ../meta-agl/meta-pipewire --dependency ../meta-openembedded/meta-oe ../meta-openembedded/meta-networking ../meta-openembedded/meta-python --no-auto-dependency"]
@@ -940,6 +958,10 @@ 
             "step7" : {
                 "shortname" : "Test meta-virtualization YP Compatibility",
                 "EXTRACMDS" : ["yocto-check-layer-wrapper ../meta-virtualization --dependency ../meta-openembedded/meta-oe ../meta-openembedded/meta-networking ../meta-openembedded/meta-python ../meta-openembedded/meta-filesystems --no-auto-dependency"]
+            },
+            "step8" : {
+                "shortname" : "Test meta-clang YP Compatibility",
+                "EXTRACMDS" : ["yocto-check-layer-wrapper ../meta-clang --no-auto-dependency"]
             }
         },
         "metrics" : {
@@ -1272,6 +1294,11 @@ 
             "revision" : "HEAD",
             "no-layer-add" : true
         },
+        "meta-clang": {
+            "url" : "https://github.com/kraj/meta-clang.git",
+            "branch" : "master",
+            "revision" : "HEAD"
+        },
         "meta-ti" : {
             "url" : "git://git.yoctoproject.org/meta-ti",
             "branch" : "master",