From df5f16366942c503199ec315290a7109a321de03 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 16 Aug 2023 09:33:56 +0800 Subject: fmt: upgrade 10.0.0 -> 10.1.0 Changelog: ========= * Optimized format string compilation resulting in up to 40% speed up in compiled "format_to" and ~4x speed up in compiled "format_to_n" on a concatenation benchmark * Optimized storage of an empty allocator in "basic_memory_buffer" * Added formatters for proxy references to elements of "std::vector" and "std::bitset" * Fixed an ambiguous formatter specialization for containers that look like container adaptors such as "boost::flat_set" * Fixed compilation when formatting durations not convertible from "std::chrono::seconds" * Made the "formatter" specialization for "char*" const-correct * Made "{}" and "{:}" handled consistently during compile-time checks * Disallowed passing temporaries to "make_format_args" to improve API safety by preventing dangling references. * Improved the compile-time error for unformattable types * Improved the floating-point formatter * Fixed handling of precision for "long double" larger than 64 bits. * Made floating-point and chrono tests less platform-dependent * Removed the remnants of the Grisu floating-point formatter that has been replaced by Dragonbox in earlier versions. * Added "throw_format_error" to the public API * Made "FMT_THROW" assert even if assertions are disabled when compiling with exceptions disabled * Made "format_as" and "std::filesystem::path" formatter work with exotic code unit types. * Deprecated the wide stream overload of "printf". * Removed unused "basic_printf_parse_context". * Improved RTTI detection used when formatting exceptions * Improved compatibility with VxWorks7 * Improved documentation * Improved build and CI configurations * Fixed various warnings and compilation issues Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-oe/recipes-support/fmt/fmt_10.0.0.bb | 17 ----------------- meta-oe/recipes-support/fmt/fmt_10.1.0.bb | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 17 deletions(-) delete mode 100644 meta-oe/recipes-support/fmt/fmt_10.0.0.bb create mode 100644 meta-oe/recipes-support/fmt/fmt_10.1.0.bb diff --git a/meta-oe/recipes-support/fmt/fmt_10.0.0.bb b/meta-oe/recipes-support/fmt/fmt_10.0.0.bb deleted file mode 100644 index a8e6e563da..0000000000 --- a/meta-oe/recipes-support/fmt/fmt_10.0.0.bb +++ /dev/null @@ -1,17 +0,0 @@ -SUMMARY = "open-source formatting library for C++" -DESCRIPTION = "{fmt} is an open-source formatting library for C++. It can be used as a safe and fast alternative to (s)printf and iostreams." -HOMEPAGE = "https://fmt.dev" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=b9257785fc4f3803a4b71b76c1412729" - -SRC_URI = "git://github.com/fmtlib/fmt;branch=master;protocol=https" -SRCREV = "a0b8a92e3d1532361c2f7feb63babc5c18d00ef2" - -S = "${WORKDIR}/git" - -inherit cmake -inherit ptest - -EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-oe/recipes-support/fmt/fmt_10.1.0.bb b/meta-oe/recipes-support/fmt/fmt_10.1.0.bb new file mode 100644 index 0000000000..f8d7edcdfe --- /dev/null +++ b/meta-oe/recipes-support/fmt/fmt_10.1.0.bb @@ -0,0 +1,17 @@ +SUMMARY = "open-source formatting library for C++" +DESCRIPTION = "{fmt} is an open-source formatting library for C++. It can be used as a safe and fast alternative to (s)printf and iostreams." +HOMEPAGE = "https://fmt.dev" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=b9257785fc4f3803a4b71b76c1412729" + +SRC_URI = "git://github.com/fmtlib/fmt;branch=master;protocol=https" +SRCREV = "e57ca2e3685b160617d3d95fcd9e789c4e06ca88" + +S = "${WORKDIR}/git" + +inherit cmake +inherit ptest + +EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf