Skip to contentSkip to conversation

scripts/layer-config: remove unused imports

PATCH In review [email protected] 2 participants 4 messages Jun 7, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 scripts/layer-config: remove unused imports

From: Ross Burton <[email protected]>

---
 scripts/layer-config | 2 --
 1 file changed, 2 deletions(-)
scripts/layer-config +0 -2
index 6c194e8..cb16e60 100755
@@ -7,11 +7,9 @@
 # Move the repositories into the correct layout and generate bblayers.conf
 #
 
-import json
 import os
 import sys
 import subprocess
-import errno
 
 import utils
 
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/3 config.json: remove redundant oe-selftest-arm builder

From: Ross Burton <[email protected]>

This builder isn't run regularly, and is redundant now that oe-selftest-armhost uses MACHINE=qemuarm64.

---
 config.json | 4 ----
 1 file changed, 4 deletions(-)
config.json +0 -4
index aaf9077..92c9443 100644
@@ -875,10 +875,6 @@
         "oe-selftest-centos" : {
             "TEMPLATE" : "selftest"
         },
-        "oe-selftest-arm" : {
-            "MACHINE": "qemuarm64",
-            "TEMPLATE" : "selftest"
-        },
         "oe-selftest-armhost" : {
             "MACHINE": "qemuarm64",
             "SDKMACHINE": "aarch64",
Signature · 1 line
2.34.1
#2 lore raw

PATCH 3/3 Add meta-clang builders

In reply to [email protected]

From: Ross Burton <[email protected]>

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.

---
 config.json | 29 ++++++++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)
config.json +28 -1
index 92c9443..eb492ee 100644
@@ -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",
Signature · 1 line
2.34.1
#3 lore raw

Re: [yocto] [PATCH yocto-autobuilder-helper 3/3] Add meta-clang builders

yay thanks for doing it.

Quoted 86 lines · Ross Burton

From: Ross Burton <[email protected]>

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.

---
 config.json | 29 ++++++++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)
config.json +28 -2
index 92c9443..eb492ee 100644
@@ -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: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/leave/6692173/1997914/1837948400/xyzzy [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-