Skip to contentSkip to conversation

1. libsimplelog: add recipe for lightweight high-performance logging library

PATCH In review Thuận Nguyễn-Thái 2 participants 2 messages Apr 13, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 1. libsimplelog: add recipe for lightweight high-performance logging library

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.

---
 .../libsimplelog/libsimplelog_git.bb          | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb
meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb new file +26 -0
new file mode 100644
index 000000000..7a27fd302
@@ -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"
+
+
Signature · 1 line
2.47.1
#1 lore raw
Quoted 25 lines · Thuận Nguyễn-Thái via lists.openembedded.org

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.

---
 .../libsimplelog/libsimplelog_git.bb          | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb
meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb new file +0 -0
new file mode 100644
index 000000000..7a27fd302

meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb line 3

Quoted 3 lines
meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb new file +3 -0
@@ -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.

meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb line 6

Quoted 3 lines
meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb new file +3 -0
+
+# 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

Quoted 32 lines
meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb new file +20 -1
+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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-