Skip to contentSkip to conversation

liburing: add v0.7

PATCH Superseded Richard Leitner 2 participants 4 messages Aug 24, 2020

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 liburing: add v0.7

Add initial support for liburing v0.7.

---
 .../recipes-support/liburing/liburing_git.bb  | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 meta-oe/recipes-support/liburing/liburing_git.bb
meta-oe/recipes-support/liburing/liburing_git.bb new file +21 -0
new file mode 100644
index 000000000..87c919e13
@@ -0,0 +1,21 @@
+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;name=git"
+PV = "0.7"
+SRCREV_git = "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}
+}
Signature · 1 line
2.28.0
#1 lore raw
Quoted 6 lines · Richard Leitner

Add initial support for liburing v0.7.

---
 .../recipes-support/liburing/liburing_git.bb  | 21 +++++++++++++++++++

better to embed the PV in recipe name, so call it liburing_0.7.bb

Quoted 11 lines
 1 file changed, 21 insertions(+)
 create mode 100644 meta-oe/recipes-support/liburing/liburing_git.bb
meta-oe/recipes-support/liburing/liburing_git.bb new file +2 -0
new file mode 100644
index 000000000..87c919e13
@@ -0,0 +1,21 @@
+SUMMARY = "This is the io_uring library, liburing."
+DESCRIPTION = "liburing provides helpers to setup and teardown io_uring \

meta-oe/recipes-support/liburing/liburing_git.bb line 12

Quoted 10 lines
meta-oe/recipes-support/liburing/liburing_git.bb new file +10 -0
+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;name=git"

No need of name=

Quoted 12 lines
meta-oe/recipes-support/liburing/liburing_git.bb new file +9 -1
+PV = "0.7"
+SRCREV_git = "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

#2 lore raw
Quoted 10 lines · Khem Raj
Quoted 6 lines · Richard Leitner

Add initial support for liburing v0.7.

---
 .../recipes-support/liburing/liburing_git.bb  | 21 +++++++++++++++++++

better to embed the PV in recipe name, so call it liburing_0.7.bb

Ok. So we're using PV in the recipe name also for recipes where the SRCREV is a git commit id?
Wasn't aware of that. Thanks.

Quoted 16 lines
Quoted 16 lines
 1 file changed, 21 insertions(+)
 create mode 100644 meta-oe/recipes-support/liburing/liburing_git.bb
meta-oe/recipes-support/liburing/liburing_git.bb new file +6 -0
new file mode 100644
index 000000000..87c919e13
@@ -0,0 +1,21 @@
+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"
Quoted 8 lines

meta-oe/recipes-support/liburing/liburing_git.bb line 12

Quoted 6 lines
meta-oe/recipes-support/liburing/liburing_git.bb new file +6 -0
+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;name=git"

No need of name=

Oh, you're right. Thanks. I'll send a v2 soon.

Quoted 13 lines
Quoted 13 lines
meta-oe/recipes-support/liburing/liburing_git.bb new file +9 -1
+PV = "0.7"
+SRCREV_git = "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

Signature · 9 lines
Richard Leitner
Hardware R&D / Senior Embedded Linux Engineer

SKIDATA | Driving Your Digital Future

SKIDATA GmbH
Untersbergstraße 40 | 5083 Grödig/Salzburg | Austria
[t] +43-6246-888-4245 | [m] +43-664-88616370
[w] www.skidata.com
#3 lore raw
Quoted 7 lines · Richard Leitner
Quoted 5 lines · Khem Raj
Quoted 3 lines · Richard Leitner

Add initial support for liburing v0.7.

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
---
 .../recipes-support/liburing/liburing_git.bb  | 21 +++++++++++++++++++

better to embed the PV in recipe name, so call it liburing_0.7.bb

Ok. So we're using PV in the recipe name also for recipes where the SRCREV is a git commit id?

right. its easy that way to bbappend it etc.

Quoted 53 lines

Wasn't aware of that. Thanks.

Quoted 16 lines
Quoted 16 lines
 1 file changed, 21 insertions(+)
 create mode 100644 meta-oe/recipes-support/liburing/liburing_git.bb
meta-oe/recipes-support/liburing/liburing_git.bb new file +6 -0
new file mode 100644
index 000000000..87c919e13
@@ -0,0 +1,21 @@
+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"
Quoted 8 lines

meta-oe/recipes-support/liburing/liburing_git.bb line 12

Quoted 6 lines
meta-oe/recipes-support/liburing/liburing_git.bb new file +6 -0
+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;name=git"

No need of name=

Oh, you're right. Thanks. I'll send a v2 soon.

Quoted 13 lines
Quoted 11 lines
meta-oe/recipes-support/liburing/liburing_git.bb new file +9 -1
+PV = "0.7"
+SRCREV_git = "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}
+}
--
Quoted 2 lines

2.28.0

--
Richard Leitner
Hardware R&D / Senior Embedded Linux Engineer

SKIDATA | Driving Your Digital Future

SKIDATA GmbH
Untersbergstraße 40 | 5083 Grödig/Salzburg | Austria
[t] +43-6246-888-4245 | [m] +43-664-88616370
[w] www.skidata.com