Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
4ceb2faec8
!18 [sync] PR-15: Update to liburing 2.4
From: @openeuler-sync-bot 
Reviewed-by: @liubo254 
Signed-off-by: @liubo254
2025-04-16 07:05:22 +00:00
yangchen
52c8cadb19 Update to liburing 2.4
(cherry picked from commit 896df988d2679c0019c0963acf30aefd2a781f6e)
2025-04-14 16:15:06 +08:00
openeuler-ci-bot
ed20000315
!7 升级至v2.3
From: @handsome_brother 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-12-20 12:44:21 +00:00
lihaoxiang
3e784951c7 upgrade to liburing v2.3 2022-12-12 04:47:34 -05:00
openeuler-ci-bot
0cbdaaa746
!4 添加sw架构
From: @wuzx065891 
Reviewed-by: @volcanodragon 
Signed-off-by: @volcanodragon
2022-11-17 14:14:22 +00:00
wzx
872d16350a Add sw64 architecture
Signed-off-by: wzx <wuzx1226@qq.com>
2022-11-10 14:56:31 +08:00
openeuler-ci-bot
096283b6f8 !3 cope with variable SIGSTKSZ
From: @Miaohe-Lin
Reviewed-by: @louhongxiang
Signed-off-by: @liuzhiqiang26
2021-08-10 09:01:43 +00:00
linmiaohe
8a5cd4dd03 liburing: cope with variable SIGSTKSZ
cope with variable SIGSTKSZ.

Signed-off-by: linmiaohe <linmiaohe@huawei.com>
2021-08-10 16:32:55 +08:00
openeuler-ci-bot
69a434c633 !1 liburing: init liburing package with v0.7
From: @liuzhiqiang26
Reviewed-by: @volcanodragon,@wubo009
Signed-off-by: @wubo009
2021-02-22 14:12:46 +08:00
Zhiqiang Liu
78ab4e9d0c liburing: init liburing package with v0.7
init liburing package with v0.7.

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
2021-02-22 10:39:38 +08:00
6 changed files with 96 additions and 73 deletions

22
0001-enable-libc.patch Normal file
View File

@ -0,0 +1,22 @@
diff --git a/configure b/configure
index 28f3eb0..9f7cff4 100755
--- a/configure
+++ b/configure
@@ -413,9 +413,15 @@ int main(void){
#endif
}
EOF
-if compile_prog "" "" "nolibc support"; then
- liburing_nolibc="yes"
-fi
+# Temporarily disable nolibc because false positives exist and compilation may
+# fail later. The issue is that compile_prog does not use the CFLAGS modified
+# for nolibc, so it cannot detect when nolibc won't work (e.g. due to the gcc
+# stack protector requiring __stack_chk_fail_local from libc on i686).
+#
+# if compile_prog "" "" "nolibc support"; then
+# liburing_nolibc="yes"
+# fi
+liburing_nolibc="no"
print_config "nolibc support" "$liburing_nolibc";
#############################################################################

View File

@ -1,36 +0,0 @@
# liburing
#### Description
liburing is the io_uring library, which provides helpers to setup and teardown io_uring instances, and also a simplified interface for applications that donnot need to deal with the full kernel side implementation.
#### Software Architecture
Software architecture description
#### Installation
1. xxxx
2. xxxx
3. xxxx
#### Instructions
1. xxxx
2. xxxx
3. xxxx
#### Contribution
1. Fork the repository
2. Create Feat_xxx branch
3. Commit your code
4. Create Pull Request
#### Gitee Feature
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
4. The most valuable open source project [GVP](https://gitee.com/gvp)
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

View File

@ -1,37 +0,0 @@
# liburing
#### 介绍
liburing is the io_uring library, which provides helpers to setup and teardown io_uring instances, and also a simplified interface for applications that donnot need to deal with the full kernel side implementation.
#### 软件架构
软件架构说明
#### 安装教程
1. xxxx
2. xxxx
3. xxxx
#### 使用说明
1. xxxx
2. xxxx
3. xxxx
#### 参与贡献
1. Fork 本仓库
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request
#### 特技
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com)
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目
4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

BIN
liburing-2.4.tar.gz Normal file

Binary file not shown.

70
liburing.spec Normal file
View File

@ -0,0 +1,70 @@
Name: liburing
Version: 2.4
Release: 1
Summary: Linux-native io_uring I/O access library
License: (GPLv2 with exceptions and LGPLv2+) or MIT
Source0: https://brick.kernel.dk/snaps/%{name}-%{version}.tar.gz
URL: https://git.kernel.dk/cgit/liburing/
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: make
Patch1: 0001-enable-libc.patch
%description
Provides native async IO for the Linux kernel, in a fast and efficient
manner, for both buffered and O_DIRECT.
%package devel
Summary: Development files for Linux-native io_uring I/O access library
Requires: %{name}%{_isa} = %{version}-%{release}
Requires: pkgconfig
%description devel
This package provides header files to include and libraries to link with
for the Linux-native io_uring.
%prep
%autosetup -p1
%build
%set_build_flags
./configure --prefix=%{_prefix} --libdir=/%{_libdir} --libdevdir=/%{_libdir} --mandir=%{_mandir} --includedir=%{_includedir}
%make_build
%install
%make_install
%files
%attr(0755,root,root) %{_libdir}/liburing.so.*
%attr(0755,root,root) %{_libdir}/liburing-ffi.so.*
%license COPYING
%files devel
%{_includedir}/liburing/
%{_includedir}/liburing.h
%{_libdir}/liburing.so
%{_libdir}/liburing-ffi.so
%exclude %{_libdir}/liburing.a
%exclude %{_libdir}/liburing-ffi.a
%{_libdir}/pkgconfig/*
%{_mandir}/man2/*
%{_mandir}/man3/*
%{_mandir}/man7/*
%changelog
* Mon Mar 31 2025 yangchen <yangchen145@huawei.com> - 2.4-1
- Update to liburing 2.4
* Mon Dec 12 2022 lihaoxiang <lihaoxiang9@huawei.com> - 2.3-1
- upgrade to liburing v2.3
* Fri Oct 21 2022 wuzx<wuzx1226@qq.com> - 0.7-3
- add sw64 patch
* Tue Aug 10 2021 Miaohe Lin <linmiaohe@huawei.com> - 0.7-2
- cope with variable SIGSTKSZ
* Mon Feb 22 2021 Zhiqiang Liu <liuzhiqiang26@huawei.com> - 0.7-1
- init liburing v0.7

4
liburing.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: git
src_repo: https://git.kernel.dk/cgit/liburing
tag_prefix: "liburing-"
seperator: "."