Skip to content

Commit

Permalink
fmt: disable buiding the tests
Browse files Browse the repository at this point in the history
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 fmtlib/fmt#4313.

(From OE-Core rev: d1e0cdfc57afccbe289bceebe80d319aa6cb3b55)

Signed-off-by: Ross Burton <[email protected]>
Signed-off-by: Mathieu Dubois-Briand <[email protected]>
  • Loading branch information
rossburton authored and mbriand committed Jan 20, 2025
1 parent 496f779 commit 4d33263
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions meta/recipes-devtools/fmt/fmt_11.1.1.bb
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 4d33263

Please sign in to comment.