From patchwork Wed Jun 7 19:28:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 25234 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D0B7BC7EE43 for ; Wed, 7 Jun 2023 19:28:16 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.7527.1686166094868680324 for ; Wed, 07 Jun 2023 12:28:15 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2BCD1AB6; Wed, 7 Jun 2023 12:28:59 -0700 (PDT) Received: from oss-tx204.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 57EEF3F71E; Wed, 7 Jun 2023 12:28:13 -0700 (PDT) From: ross.burton@arm.com To: yocto@lists.yoctoproject.org Cc: nd@arm.com Subject: [PATCH yocto-autobuilder-helper 1/3] scripts/layer-config: remove unused imports Date: Wed, 7 Jun 2023 20:28:09 +0100 Message-Id: <20230607192811.601343-1-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 07 Jun 2023 19:28:16 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/60213 From: Ross Burton Signed-off-by: Ross Burton --- scripts/layer-config | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/layer-config b/scripts/layer-config index 6c194e8..cb16e60 100755 --- a/scripts/layer-config +++ b/scripts/layer-config @@ -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 From patchwork Wed Jun 7 19:28:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 25233 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D194DC7EE25 for ; Wed, 7 Jun 2023 19:28:16 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.7420.1686166095153034939 for ; Wed, 07 Jun 2023 12:28:15 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D478B1042; Wed, 7 Jun 2023 12:28:59 -0700 (PDT) Received: from oss-tx204.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 0E30D3F71E; Wed, 7 Jun 2023 12:28:13 -0700 (PDT) From: ross.burton@arm.com To: yocto@lists.yoctoproject.org Cc: nd@arm.com Subject: [PATCH yocto-autobuilder-helper 2/3] config.json: remove redundant oe-selftest-arm builder Date: Wed, 7 Jun 2023 20:28:10 +0100 Message-Id: <20230607192811.601343-2-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230607192811.601343-1-ross.burton@arm.com> References: <20230607192811.601343-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 07 Jun 2023 19:28:16 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/60214 From: Ross Burton This builder isn't run regularly, and is redundant now that oe-selftest-armhost uses MACHINE=qemuarm64. Signed-off-by: Ross Burton --- config.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/config.json b/config.json index aaf9077..92c9443 100644 --- a/config.json +++ b/config.json @@ -875,10 +875,6 @@ "oe-selftest-centos" : { "TEMPLATE" : "selftest" }, - "oe-selftest-arm" : { - "MACHINE": "qemuarm64", - "TEMPLATE" : "selftest" - }, "oe-selftest-armhost" : { "MACHINE": "qemuarm64", "SDKMACHINE": "aarch64", From patchwork Wed Jun 7 19:28:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 25235 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id CFB65C7EE23 for ; Wed, 7 Jun 2023 19:28:16 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.7528.1686166095483725275 for ; Wed, 07 Jun 2023 12:28:15 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 80F9F143D; Wed, 7 Jun 2023 12:29:00 -0700 (PDT) Received: from oss-tx204.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id B7CEB3F71E; Wed, 7 Jun 2023 12:28:14 -0700 (PDT) From: ross.burton@arm.com To: yocto@lists.yoctoproject.org Cc: nd@arm.com Subject: [PATCH yocto-autobuilder-helper 3/3] Add meta-clang builders Date: Wed, 7 Jun 2023 20:28:11 +0100 Message-Id: <20230607192811.601343-3-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230607192811.601343-1-ross.burton@arm.com> References: <20230607192811.601343-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 07 Jun 2023 19:28:16 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/60215 From: Ross Burton 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 --- 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",