From patchwork Fri Jan 17 13:04:02 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 55713 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 E973FC02183 for ; Fri, 17 Jan 2025 13:04:18 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.10130.1737119049781027908 for ; Fri, 17 Jan 2025 05:04:10 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 8E48A1476 for ; Fri, 17 Jan 2025 05:04:37 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.oss.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 C00333F73F for ; Fri, 17 Jan 2025 05:04:08 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH] fmt: disable buiding the tests Date: Fri, 17 Jan 2025 13:04:02 +0000 Message-ID: <20250117130402.130412-1-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 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 ; Fri, 17 Jan 2025 13:04:18 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/209988 We don't run or install the tests so there's limited value in building them, and one of the tests is currently failing to build in fmt-native on ubuntu 20.04 systems, presumably due the g++ 9.4 being old. Filed upstream as https://github.com/fmtlib/fmt/issues/4313. Signed-off-by: Ross Burton --- meta/recipes-devtools/fmt/fmt_11.1.1.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta/recipes-devtools/fmt/fmt_11.1.1.bb b/meta/recipes-devtools/fmt/fmt_11.1.1.bb index a99a377ad4a..19888366a4e 100644 --- a/meta/recipes-devtools/fmt/fmt_11.1.1.bb +++ b/meta/recipes-devtools/fmt/fmt_11.1.1.bb @@ -13,4 +13,9 @@ inherit cmake EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON" +# The tests fail to compile on ubuntu 20.04 in fmt 11.1, so disable building +# them as we don't run them. +# https://github.com/fmtlib/fmt/issues/4313 +EXTRA_OECMAKE += "-DFMT_TEST=OFF" + BBCLASSEXTEND = "native nativesdk"