diff options
| author | Ankur Tyagi <ankur.tyagi85@gmail.com> | 2025-11-14 22:47:03 +1300 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-11-14 07:39:48 -0800 |
| commit | fe8d5e0cc0abbe19aa267ab7f9e78cbb5adc153b (patch) | |
| tree | 18b9366c8fe50441bfcbd30f53db597d3ba342cf /meta-oe/recipes-support/liburing/liburing_2.12.bb | |
| parent | c050aeebccee9f18db1be62703b4452c3fb25e8f (diff) | |
| download | meta-openembedded-fe8d5e0cc0abbe19aa267ab7f9e78cbb5adc153b.tar.gz | |
liburing: upgrade 2.9 -> 2.12
Dropped patch which is now merged upstream.
Changelog:
https://github.com/axboe/liburing/releases/tag/liburing-2.10
https://github.com/axboe/liburing/releases/tag/liburing-2.11
https://github.com/axboe/liburing/releases/tag/liburing-2.12
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/liburing/liburing_2.12.bb')
| -rw-r--r-- | meta-oe/recipes-support/liburing/liburing_2.12.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/liburing/liburing_2.12.bb b/meta-oe/recipes-support/liburing/liburing_2.12.bb new file mode 100644 index 0000000000..2519d650a6 --- /dev/null +++ b/meta-oe/recipes-support/liburing/liburing_2.12.bb | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | SUMMARY = "This is the io_uring library, liburing." | ||
| 2 | DESCRIPTION = "liburing provides helpers to setup and teardown io_uring \ | ||
| 3 | instances, and also a simplified interface for applications that don't need \ | ||
| 4 | (or want) to deal with the full kernel side implementation." | ||
| 5 | HOMEPAGE = "https://github.com/axboe/liburing" | ||
| 6 | BUGTRACKER = "https://github.com/axboe/liburing/issues" | ||
| 7 | SECTION = "libs" | ||
| 8 | |||
| 9 | LICENSE = "LGPL-2.1-only | MIT" | ||
| 10 | LIC_FILES_CHKSUM = "file://README;beginline=41;endline=44;md5=2b0e9926530c269f5ae95560370195af" | ||
| 11 | |||
| 12 | SRC_URI = "git://github.com/axboe/liburing.git;branch=master;protocol=https" | ||
| 13 | SRCREV = "e907d6a342e80b70874f93abd440b92b8a40b7bc" | ||
| 14 | |||
| 15 | |||
| 16 | DEPENDS:append:libc-musl = " libucontext" | ||
| 17 | XCFLAGS = "-pthread" | ||
| 18 | XCFLAGS:append:libc-musl = " -lucontext" | ||
| 19 | |||
| 20 | USELIBC = "" | ||
| 21 | # clang-18+ on RV64 emits memset for arch/riscv64/syscall.h provided __do_syscall4 macro | ||
| 22 | # this does not happen for gcc or older clang, so link with libc since we need memset API | ||
| 23 | # -fno-builtin-memset does not help | ||
| 24 | USELIBC:riscv64:toolchain-clang = "--use-libc" | ||
| 25 | USELIBC:riscv32 = "--use-libc" | ||
| 26 | EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'LDFLAGS=${LDFLAGS}' 'XCFLAGS=${XCFLAGS}' 'BUILDDIR=${S}'" | ||
| 27 | do_configure() { | ||
| 28 | ${S}/configure --prefix=${prefix} --libdir=${libdir} --libdevdir=${libdir} --mandir=${mandir} --datadir=${datadir} --includedir=${includedir} ${USELIBC} | ||
| 29 | } | ||
| 30 | do_install () { | ||
| 31 | oe_runmake install DESTDIR=${D} | ||
| 32 | } | ||
| 33 | |||
| 34 | BBCLASSEXTEND = "native nativesdk" | ||
