From a40b1fa392d20ebb29e38374d0f7ce1494bb797f Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Thu, 2 May 2024 10:48:26 -0400 Subject: spdlog: upgrade 1.13.0 -> 1.14.0 Changelog: =========== -Updated bundled fmt to version 10.2.1. -Mapped Diagnostic Context (MDC) support -MDC is a simple map of key->string values stored in thread local storage whose content will be printed by the loggers. -spdlog::mdc::put("mdc_key_1", "mdc_value_1"); -spdlog::info("Hello, {}", "World!"); // => [2024-04-26 02:08:05.040] [info] [mdc_key_1:mdc_value_1] Hello, World! -Add milliseconds support to stopwatch -Add std::string_view overloads for logger accessor -Make async_logger::flush() synchronous - wait for the flush operation to complete before returning -Use _stat() on Windows to be more UTF8 friendly -Add details about how compile time macros work -Fix typos found by codespell -Expose the flusher thread object to user in order to allow setting of thread name and thread affinity when needed -Fix the problem of compilation failure under MINGW -Add missing include in circular_q.h -Don't remove previous defaullt logger from registry in set_default_logger. -Remove the legacy AnalyzeTemporaryDtors option from .clang-tidy. -Updated INSTALL.md has to better reflect compiler info -Fixed README.md example Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-oe/recipes-support/spdlog/spdlog_1.13.0.bb | 18 ------------------ meta-oe/recipes-support/spdlog/spdlog_1.14.0.bb | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 meta-oe/recipes-support/spdlog/spdlog_1.13.0.bb create mode 100644 meta-oe/recipes-support/spdlog/spdlog_1.14.0.bb (limited to 'meta-oe') diff --git a/meta-oe/recipes-support/spdlog/spdlog_1.13.0.bb b/meta-oe/recipes-support/spdlog/spdlog_1.13.0.bb deleted file mode 100644 index c6a0881db9..0000000000 --- a/meta-oe/recipes-support/spdlog/spdlog_1.13.0.bb +++ /dev/null @@ -1,18 +0,0 @@ -DESCRIPTION = "Very fast, header only, C++ logging library." -HOMEPAGE = "https://github.com/gabime/spdlog/wiki" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=9573510928429ad0cbe5ba4de77546e9" - -SRCREV = "7c02e204c92545f869e2f04edaab1f19fe8b19fd" -SRC_URI = "git://github.com/gabime/spdlog.git;protocol=https;branch=v1.x" - -DEPENDS = "fmt" - -S = "${WORKDIR}/git" - -inherit cmake - -# no need to build example & tests & benchmarks on pure yocto -EXTRA_OECMAKE += "-DSPDLOG_INSTALL=on -DSPDLOG_BUILD_SHARED=on -DSPDLOG_BUILD_EXAMPLE=off -DSPDLOG_FMT_EXTERNAL=on" - -BBCLASSEXTEND = "native" diff --git a/meta-oe/recipes-support/spdlog/spdlog_1.14.0.bb b/meta-oe/recipes-support/spdlog/spdlog_1.14.0.bb new file mode 100644 index 0000000000..aa55171f31 --- /dev/null +++ b/meta-oe/recipes-support/spdlog/spdlog_1.14.0.bb @@ -0,0 +1,18 @@ +DESCRIPTION = "Very fast, header only, C++ logging library." +HOMEPAGE = "https://github.com/gabime/spdlog/wiki" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=9573510928429ad0cbe5ba4de77546e9" + +SRCREV = "238c9ffa5d1a14226eeabe10c9b63ffff3ed8b8e" +SRC_URI = "git://github.com/gabime/spdlog.git;protocol=https;branch=v1.x" + +DEPENDS = "fmt" + +S = "${WORKDIR}/git" + +inherit cmake + +# no need to build example & tests & benchmarks on pure yocto +EXTRA_OECMAKE += "-DSPDLOG_INSTALL=on -DSPDLOG_BUILD_SHARED=on -DSPDLOG_BUILD_EXAMPLE=off -DSPDLOG_FMT_EXTERNAL=on" + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf