Message ID | 20250414170015.90559-1-nguyenthaithuanalg@gmail.com |
---|---|
State | New |
Headers | show |
Series | [meta-oe] 1. libsimplelog: add recipe for lightweight high-performance logging library | expand |
On Mon, Apr 14, 2025 at 1:58 PM 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. > Thanks for reworking this. I think commit message can be made a bit more consistent with respect to formatting we use recipe: Short summary of change Long description of the change Signed-off-by For details I would encourage to go through https://docs.yoctoproject.org/dev/contributor-guide/submit-changes.html > Signed-off-by: Thuan Nguyen Thai <nguyenthaithuanalg@gmail.com> > --- > .../libsimplelog/libsimplelog_git.bb | 21 +++++++++++++++++++ > 1 file changed, 21 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..0415bf485 > --- /dev/null > +++ b/meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb > @@ -0,0 +1,21 @@ > + > +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 (#116854): https://lists.openembedded.org/g/openembedded-devel/message/116854 > 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 --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..0415bf485 --- /dev/null +++ b/meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb @@ -0,0 +1,21 @@ + +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. 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 | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb