($INBOX_DIR/description missing)
 help / color / mirror / Atom feed
From: Ross Burton <ross.burton@arm.com>
To: meta-arm@lists.yoctoproject.org
Cc: nd@arm.com
Subject: [PATCH v2 5/5] CI: disable ptest in external-gccarm builds
Date: Mon, 29 Apr 2024 16:38:59 +0000	[thread overview]
Message-ID: <20240429163859.507226-5-ross.burton@arm.com> (raw)
In-Reply-To: <20240429163859.507226-1-ross.burton@arm.com>

We recently switched the CI to not disable ptest, but this breaks builds
that use the GCC binaries built by Arm (external-arm-toolchain). This is
because the external-arm-toolchain recipe can't build packages for the
target, and the standard oe-core gcc recipes assume that they're being
built with themselves and make assumptions, specifically that libunwind
was enabled and headers can be copied directly from the sysroot.

This is a bigger problem that should be solved somehow, but for now we
can just remove ptest in the external-gccarm CI jobs which removes gcc
from the builds (it comes in via elfutils-ptest RDEPENDS).

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 ci/external-gccarm.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ci/external-gccarm.yml b/ci/external-gccarm.yml
index 9c1eba9d..8985a1ba 100644
--- a/ci/external-gccarm.yml
+++ b/ci/external-gccarm.yml
@@ -8,3 +8,6 @@ local_conf_header:
     SKIP_RECIPE[gcc-cross-arm] = "Using external toolchain"
     TCMODE = "external-arm"
     EXTERNAL_TOOLCHAIN = "${TOPDIR}/toolchains/${TARGET_ARCH}"
+    # Disable ptest as this pulls target compilers, which don't
+    # work with external toolchain currently
+    DISTRO_FEATURES:remove = "ptest"
-- 
2.34.1



  parent reply	other threads:[~2024-04-29 16:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-29 16:38 [PATCH v2 1/5] CI: add Kas schema comments Ross Burton
2024-04-29 16:38 ` [PATCH v2 2/5] CI: temporarily backport the procps fix Ross Burton
2024-04-29 16:38 ` [PATCH v2 3/5] external-arm-toolchain: ignore warnings about 32-bit time types Ross Burton
2024-04-29 17:07   ` [meta-arm] " Denys Dmytriyenko
2024-04-29 16:38 ` [PATCH v2 4/5] CI: remove 32-bit time_t workaround Ross Burton
2024-04-29 16:38 ` Ross Burton [this message]
2024-04-30  3:21 ` [PATCH v2 1/5] CI: add Kas schema comments Jon Mason

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=20240429163859.507226-5-ross.burton@arm.com \
    --to=ross.burton@arm.com \
    --cc=meta-arm@lists.yoctoproject.org \
    --cc=nd@arm.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).