* [PATCH] fmt: disable buiding the tests
@ 2025-01-17 13:04 Ross Burton
2025-01-20 11:42 ` [OE-core] " Ross Burton
0 siblings, 1 reply; 2+ messages in thread
From: Ross Burton @ 2025-01-17 13:04 UTC (permalink / raw)
To: openembedded-core
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 <ross.burton@arm.com>
---
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"
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [OE-core] [PATCH] fmt: disable buiding the tests
2025-01-17 13:04 [PATCH] fmt: disable buiding the tests Ross Burton
@ 2025-01-20 11:42 ` Ross Burton
0 siblings, 0 replies; 2+ messages in thread
From: Ross Burton @ 2025-01-20 11:42 UTC (permalink / raw)
To: openembedded-core@lists.openembedded.org
I retract this, the problem has now been fixed upstream and there is some value on building the tests even if we don’t run them. I shall backport the fix instead.
Ross
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-01-20 11:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-17 13:04 [PATCH] fmt: disable buiding the tests Ross Burton
2025-01-20 11:42 ` [OE-core] " Ross Burton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox