diff mbox series

[meta-oe] 1. libsimplelog: add recipe for lightweight high-performance logging library

Message ID 20250413160127.57261-1-nguyenthaithuanalg@gmail.com
State New
Headers show
Series [meta-oe] 1. libsimplelog: add recipe for lightweight high-performance logging library | expand

Commit Message

Thuận Nguyễn-Thái April 13, 2025, 4:01 p.m. UTC
2. libsimplelog is a portable, minimal, and extremely fast logging library written in ANSI C.

3. It supports multi-threading, high throughput (up to millions log records/sec with PC 8 CPU - see report from README.md)

4. And works on embedded Linux platforms without external dependencies.

5. Follow KISS principle.

6. A Tribute to W. Richard Stevens (1951 - 1999).

7. This recipe adds libsimplelog to meta-openembedded under recipes-support.

Signed-off-by: Thuan Nguyen Thai <nguyenthaithuanalg@gmail.com>
---
 .../libsimplelog/libsimplelog_git.bb          | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb

Comments

Khem Raj April 13, 2025, 10:17 p.m. UTC | #1
On Sun, Apr 13, 2025 at 9:17 AM Thuận Nguyễn-Thái via
lists.openembedded.org
<nguyenthaithuanalg=gmail.com@lists.openembedded.org> wrote:
>
> 2. libsimplelog is a portable, minimal, and extremely fast logging library written in ANSI C.
>
> 3. It supports multi-threading, high throughput (up to millions log records/sec with PC 8 CPU - see report from README.md)
>
> 4. And works on embedded Linux platforms without external dependencies.
>
> 5. Follow KISS principle.
>
> 6. A Tribute to W. Richard Stevens (1951 - 1999).
>
> 7. This recipe adds libsimplelog to meta-openembedded under recipes-support.
>
> Signed-off-by: Thuan Nguyen Thai <nguyenthaithuanalg@gmail.com>
> ---
>  .../libsimplelog/libsimplelog_git.bb          | 26 +++++++++++++++++++
>  1 file changed, 26 insertions(+)
>  create mode 100644 meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb
>
> diff --git a/meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb b/meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb
> new file mode 100644
> index 000000000..7a27fd302
> --- /dev/null
> +++ b/meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb
> @@ -0,0 +1,26 @@
> +# Recipe created by recipetool
> +# This is the basis of a recipe and may need further editing in order to be fully functional.
> +# (Feel free to remove these comments when editing.)

Remove these comments, they are autogenerated for author to improve
upon what recipetool generated for recipe.

> +
> +# WARNING: the following LICENSE and LIC_FILES_CHKSUM values are best guesses - it is
> +# your responsibility to verify that the values are complete and correct.

delete these comments

> +SUMMARY = "simplelog-topc - Simple, STABLE, powerful of logging library in ANSI C/C++. Ready for billion records."
> +DESCRIPTION = "Async and Fast C/C++ multi-thread logger with topics. No external dependencies."
> +HOMEPAGE = "https://github.com/thuanalg/simplelog-topic"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=22cdd382a6275cb4c2e75c517952ac7c"
> +
> +SRC_URI = "git://github.com/thuanalg/simplelog-topic.git;branch=main;protocol=https"
> +
> +# Modify these as desired
> +PV = "1.0+git"
> +SRCREV = "ff30ba71807db1d7e1962dd014c2bb0a060572a3"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit cmake
> +
> +# Specify any options you want to pass to cmake using EXTRA_OECMAKE:
> +EXTRA_OECMAKE += "-DUNIX_LINUX=1"
> +
> +
> --
> 2.47.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#116833): https://lists.openembedded.org/g/openembedded-devel/message/116833
> Mute This Topic: https://lists.openembedded.org/mt/112243212/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb b/meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb
new file mode 100644
index 000000000..7a27fd302
--- /dev/null
+++ b/meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb
@@ -0,0 +1,26 @@ 
+# Recipe created by recipetool
+# This is the basis of a recipe and may need further editing in order to be fully functional.
+# (Feel free to remove these comments when editing.)
+
+# WARNING: the following LICENSE and LIC_FILES_CHKSUM values are best guesses - it is
+# your responsibility to verify that the values are complete and correct.
+SUMMARY = "simplelog-topc - Simple, STABLE, powerful of logging library in ANSI C/C++. Ready for billion records."
+DESCRIPTION = "Async and Fast C/C++ multi-thread logger with topics. No external dependencies."
+HOMEPAGE = "https://github.com/thuanalg/simplelog-topic"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=22cdd382a6275cb4c2e75c517952ac7c"
+
+SRC_URI = "git://github.com/thuanalg/simplelog-topic.git;branch=main;protocol=https"
+
+# Modify these as desired
+PV = "1.0+git"
+SRCREV = "ff30ba71807db1d7e1962dd014c2bb0a060572a3"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+# Specify any options you want to pass to cmake using EXTRA_OECMAKE:
+EXTRA_OECMAKE += "-DUNIX_LINUX=1"
+
+