* [meta-oe][PATCH v2] liburing: add v0.7
@ 2020-08-24 6:43 Richard Leitner
0 siblings, 0 replies; 2+ messages in thread
From: Richard Leitner @ 2020-08-24 6:43 UTC (permalink / raw)
To: openembedded-devel; +Cc: raj.khem, Richard Leitner
Add initial support for liburing v0.7.
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
---
CHANGES v2:
+ rename recipe to include PV instead of "git"
+ remove "name=" from SRC_URI and SRCREV
---
.../recipes-support/liburing/liburing_0.7.bb | 20 +++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 meta-oe/recipes-support/liburing/liburing_0.7.bb
diff --git a/meta-oe/recipes-support/liburing/liburing_0.7.bb b/meta-oe/recipes-support/liburing/liburing_0.7.bb
new file mode 100644
index 000000000..9dfa0dfa1
--- /dev/null
+++ b/meta-oe/recipes-support/liburing/liburing_0.7.bb
@@ -0,0 +1,20 @@
+SUMMARY = "This is the io_uring library, liburing."
+DESCRIPTION = "liburing provides helpers to setup and teardown io_uring \
+instances, and also a simplified interface for applications that don't need \
+(or want) to deal with the full kernel side implementation."
+HOMEPAGE = "https://github.com/axboe/liburing"
+BUGTRACKER = "https://github.com/axboe/liburing/issues"
+SECTION = "libs"
+
+LICENSE = "LGPLv2.1 | MIT"
+LIC_FILES_CHKSUM = "file://README;beginline=41;endline=44;md5=d51b5805e2a675685e6a66ca50904cf9"
+
+SRC_URI = "git://github.com/axboe/liburing.git;branch=master;protocol=https"
+SRCREV = "45f0735219a615ae848033c47c7e2d85d101d43e"
+S = "${WORKDIR}/git"
+
+EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'BUILDDIR=${S}'"
+
+do_install () {
+ oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} INCLUDEDIR=${includedir}
+}
--
2.28.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [meta-oe][PATCH] v2 liburing: add v0.7
@ 2020-08-25 3:05 Khem Raj
0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2020-08-25 3:05 UTC (permalink / raw)
To: openembedded-devel; +Cc: Richard Leitner, Khem Raj
From: Richard Leitner <richard.leitner@skidata.com>
Add initial support for liburing v0.7.
Fix build with musl by linking and depending on libucontext
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
v2: Fix build with musl C library
.../recipes-support/liburing/liburing_0.7.bb | 23 +++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 meta-oe/recipes-support/liburing/liburing_0.7.bb
diff --git a/meta-oe/recipes-support/liburing/liburing_0.7.bb b/meta-oe/recipes-support/liburing/liburing_0.7.bb
new file mode 100644
index 0000000000..c66021156c
--- /dev/null
+++ b/meta-oe/recipes-support/liburing/liburing_0.7.bb
@@ -0,0 +1,23 @@
+SUMMARY = "This is the io_uring library, liburing."
+DESCRIPTION = "liburing provides helpers to setup and teardown io_uring \
+instances, and also a simplified interface for applications that don't need \
+(or want) to deal with the full kernel side implementation."
+HOMEPAGE = "https://github.com/axboe/liburing"
+BUGTRACKER = "https://github.com/axboe/liburing/issues"
+SECTION = "libs"
+
+LICENSE = "LGPLv2.1 | MIT"
+LIC_FILES_CHKSUM = "file://README;beginline=41;endline=44;md5=d51b5805e2a675685e6a66ca50904cf9"
+
+SRC_URI = "git://github.com/axboe/liburing.git;branch=master;protocol=https"
+SRCREV = "45f0735219a615ae848033c47c7e2d85d101d43e"
+S = "${WORKDIR}/git"
+
+DEPENDS_append_libc-musl = " libucontext"
+XCFLAGS_append_libc-musl = " -lucontext"
+
+EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'LDFLAGS=${LDFLAGS}' 'XCFLAGS=${XCFLAGS}' 'BUILDDIR=${S}'"
+
+do_install () {
+ oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} INCLUDEDIR=${includedir}
+}
--
2.28.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-08-25 3:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-24 6:43 [meta-oe][PATCH v2] liburing: add v0.7 Richard Leitner
2020-08-25 3:05 [meta-oe][PATCH] v2 " Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.