summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/fmt
Commit message (Collapse)AuthorAgeFilesLines
* fmt: Fix build with clang-21Khem Raj74 min.2-1/+49
| | | | | | | | | | Backport a fix from upstream master branch (From OE-Core rev: 325e93b7a987098657c2f0cb8a8e2ab5280d256b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: remove consecutive blank linesAlexander Kanavin2025-06-201-1/+0
| | | | | | | | | | | | | | | | | Some of them were introduced by mass-removal of S = WORKDIR/git assignments; rather than try to fix up (or redo) just these, I've run this sed command over the whole tree: sed -i -z -E 's/([ \t\f\v\r]*\n){3,}/\n\n/g' `find . -name *.bb -o -name *.inc` The rationale is that more than one empty line is wasting vertical screen space, and does nothing for readability. (From OE-Core rev: cedc4ff7c9bcfb22a20e43e47f9759f4007a4f1a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: remove S in recipes that fetch from git via setting ↵Alexander Kanavin2025-06-201-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BB_GIT_DEFAULT_DESTSUFFIX Removing all the S = ${WORKDIR}/git assignments works because BB_GIT_DEFAULT_DESTSUFFIX is set to match S from bitbake.conf (which itself is set to match typical tarball releases). A few recipes are setting S to a sub-directory of the git tree and need to be adjusted accordingly. bzip2 recipe is fetching a tarball and separately cloning tests; adjust the recipe to put the latter into 'bzip2-tests', instead of 'git'. devupstream.bbclass no longer needs to rewrite S, and is adjusted accordingly. Adjust scripts/lib/recipetool/append.py to not hardcode 'git' as unpack destination. Adjust kernel-yocto.bbclass to use the git unpack variable instead of hardcoding 'git' (there's also removal of repetition of string constants and a correction of workdir/unpackdir mismatch in one of the if-else branches). Ensure build-appliance-image recipe does not use 'git' as checkout directory for poky repo, but rather explicitly name it 'poky'. Ensure reproducible.py code that looks for git repositories does not hardcode 'git' but uses the destination set by BB_GIT_DEFAULT_DESTSUFFIX. Ensure recipetool does not write out unneeded S settings into newly created recipes that fetch from git. Adjust selftest to not hardcode 'git' as unpack directory. (From OE-Core rev: f80c07019ddadaf9c5fb890faabfda7920ecd15e) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fmt: upgrade 11.1.4 -> 11.2.0Wang Mingyu2025-05-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ============ - Added the 's' specifier for 'std::error_code'. It allows formatting an error message as a string. - Fixed formatting of 'std::chrono::local_time' and 'tm' - Added diagnostics for cases when timezone information is not available. - Deprecated 'fmt::localtime' in favor of 'std::localtime'. - Fixed compilation with GCC 15 and C++20 modules enabled - Fixed handling of named arguments in format specs - Added error reporting for duplicate named arguments - Fixed formatting of 'long' with 'FMT_BUILTIN_TYPES=0' - Optimized 'text_style' using bit packing - Added support for incomplete types - Fixed a flush issue in 'fmt::print' when using libstdc++ - Fixed 'fmt::println' usage with 'FMT_ENFORCE_COMPILE_STRING' and legacy - Removed legacy header 'fmt/core.h' from docs - Worked around limitations of '__builtin_strlen' during constant evaluation - Worked around a bug in MSVC v141 - Removed the 'fmt_detail' namespace - Removed specializations of 'std::is_floating_point' in tests - Fixed a CMake error when setting 'CMAKE_MODULE_PATH' in the pedantic mode - Updated the Bazel config (From OE-Core rev: 2f2ef80e7e037900d8d4afa3dc7bf01734cef229) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fmt: Backport patch to fix spdlog ABI issueKhem Raj2025-03-282-1/+37
| | | | | | | (From OE-Core rev: 47f5808d86c4721a16c8d7ae3d0d2b2bfe4d1247) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fmt: upgrade 11.1.3 -> 11.1.4Wang Mingyu2025-03-061-1/+1
| | | | | | | | | | | | | | | | | | | Changelog: =========== - Fixed ABI compatibility with earlier 11.x versions on Windows - Improved the logic of switching between fixed and exponential format for float - Moved is_compiled_string to the public API - Simplified implementation of operator""_cf - Fixed __builtin_strlen detection - Fixed handling of BMI paths with the Ninja generator - Fixed gcc 8.3 compile errors - Fixed a bogus MSVC warning (From OE-Core rev: 2f6bb073c6dd5e0ed64d161acc37d465c5fc2302) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fmt: upgrade 11.1.1 -> 11.1.3Wang Mingyu2025-02-182-29/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix-gcc9.patch removed since it's included in 11.1.3 Changelog: ========= - Fixed compilation on GCC 9.4 - Worked around an internal compiler error when using C++20 modules with GCC 14.2 and earlier - Worked around a bug in GCC 6 - Fixed an issue caused by instantiating 'formatter<const T>' - Fixed formatting into 'std::ostreambuf_iterator' when using format string compilation - Restored a constraint on the map formatter so that it correctly reports as unformattable when the element is - Reduced the size of format specs - Readded 'args()' to 'fmt::format_context' - Fixed a bogus MSVC warning - Fixed a pedantic mode error in the CMake config - Fixed ABI compatibility with earlier 11.x versions - Added 'wchar_t' support to the 'std::bitset' formatter - Prefixed CMake components with 'fmt-' to simplify usage of {fmt} via 'add_subdirectory' - Updated docs for meson - Fixed a compilation error in chrono on nvcc - Fixed various warnings (From OE-Core rev: cfe2d61fa142ae146abdb44a3de028b9804ddc91) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fmt: fix build with GCC 9.4Ross Burton2025-01-212-1/+28
| | | | | | | | | | | fmt-native is needed to build ccache-native, and the compile fails on hosts with GCC 9.4 (such as Ubuntu 20.04). Backport a patch to fix this issue. (From OE-Core rev: 7dbb984f86d04e79d2311411cd8b775e2674b5f3) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fmt: 11.0.2 -> 11.1.1Robert Yang2025-01-082-56/+2
| | | | | | | | | Remove backported patch 0001-Get-rid-of-std-copy.patch. (From OE-Core rev: 659d71114c3f2f12e4e3012d66580866486e14c0) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fmt: Get rid of std::copyKhem Raj2024-08-302-1/+55
| | | | | | | (From OE-Core rev: 9549d4aeb3dc1abb81fd6d01a340a2f99b69fdba) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fmt: update 10.2.1 -> 11.0.2Alexander Kanavin2024-08-281-2/+2
| | | | | | | (From OE-Core rev: f2d7d6ebeee9ef83ba6dde53f188e06e5c6a4941) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fmt: Add it from meta-oe for ccache 4.10Robert Yang2024-06-121-0/+16
It is required by ccache 4.10, from cmake/Dependencies.cmake: find_package(Fmt 8.0.0 MODULE REQUIRED) (From OE-Core rev: 473b80caab466538557796c188554ea1dc0a0480) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>