Compare commits

..

13 Commits

Author SHA1 Message Date
openeuler-ci-bot
82db057523
!22 [sync] PR-21: 添加sw架构
From: @openeuler-sync-bot 
Reviewed-by: @hubin95 
Signed-off-by: @hubin95
2024-03-27 11:07:38 +00:00
gengqihu
a79c9d2079 Add sw64 architecture
(cherry picked from commit d022b50d385781c7f6bc0ae51be360f83b3e5f0d)
2024-03-27 18:51:15 +08:00
openeuler-ci-bot
fa22c31c5b !10 libev delete -Sgit from %autosetup, and delete BuildRequires git
From: @chenyanpanHW
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
2021-08-19 08:22:34 +00:00
chenyanpanHW
fadecce339
delete -Sgit from %autosetup, and delete BuildRequires git 2021-07-30 22:58:52 +08:00
openeuler-ci-bot
3dba4d0dd8 !5 Replace invalid url of Source0
From: @chengzihan2
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
2020-09-16 09:20:14 +08:00
chengzihan2
aed593ad65 Replace invalid url of Source0 2020-09-15 16:42:38 +08:00
chengzihan2
6d699e1d78 Replace invalid url of Source0 2020-09-15 16:19:15 +08:00
openeuler-ci-bot
ceba9d6e87 !4 modify yaml
Merge pull request !4 from huanghaitao/master
2020-07-23 22:14:45 +08:00
hht8
a392dd33f8 modify src_repo in yaml 2020-07-23 17:34:22 +08:00
hht8
efd7f5f5b9 modify yaml 2020-07-23 16:24:32 +08:00
openeuler-ci-bot
7589ededc6 !1 Add libev.yaml
Merge pull request !1 from huanghaitao/master
2020-07-22 21:41:40 +08:00
openeuler-ci-bot
a91a4c75f0 !3 Update software to v4.33
Merge pull request !3 from chengquan/master
2020-06-12 11:15:16 +08:00
chengquan
e2e0cd425e upgrade software to v4.33 2020-05-11 15:02:03 +08:00
5 changed files with 71 additions and 10 deletions

Binary file not shown.

BIN
libev-4.33.tar.gz Normal file

Binary file not shown.

View File

@ -0,0 +1,45 @@
From 80f458d8989742585efbab700555601cbb231cf4 Mon Sep 17 00:00:00 2001
From: wuzx <wuzx1226@qq.com>
Date: Fri, 18 Nov 2022 12:40:11 +0800
Subject: [PATCH] Add sw64 architecture
Add sw64 architecture in file ev.c to support sw64 architecture according to alpha architecture.
Signed-off-by: wuzx <wuzx1226@qq.com>
---
ev.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/ev.c b/ev.c
index ec212a1..20fc6a2 100644
--- a/ev.c
+++ b/ev.c
@@ -493,7 +493,7 @@
#if EV_USE_IOURING
# include <sys/syscall.h>
-# if !SYS_io_uring_setup && __linux && !__alpha
+# if !SYS_io_uring_setup && __linux && !__alpha && !__sw_64
# define SYS_io_uring_setup 425
# define SYS_io_uring_enter 426
# define SYS_io_uring_wregister 427
@@ -826,6 +826,8 @@ struct signalfd_siginfo
/* GNU/Linux emulates sync on mips1 architectures, so we force its use */
/* anybody else who still uses mips1 is supposed to send in their version, with detection code. */
#define ECB_MEMORY_FENCE __asm__ __volatile__ (".set mips2; sync; .set mips0" : : : "memory")
+ #elif defined __sw_64__
+ #define ECB_MEMORY_FENCE __asm__ __volatile__ ("memb" : : : "memory")
#elif defined __alpha__
#define ECB_MEMORY_FENCE __asm__ __volatile__ ("mb" : : : "memory")
#elif defined __hppa__
@@ -1550,6 +1552,7 @@ ecb_binary32_to_binary16 (uint32_t x)
|| defined __s390__ || defined __s390x__ \
|| defined __mips__ \
|| defined __alpha__ \
+ || defined __sw_64__ \
|| defined __hppa__ \
|| defined __ia64__ \
|| defined __m68k__ \
--
2.33.0

View File

@ -2,14 +2,15 @@
%global inst_srcdir %{buildroot}/%{source_dir}
Name: libev
Version: 4.24
Release: 11
Version: 4.33
Release: 4
Summary: A high-performance event loop/event model with lots of features
License: BSD or GPLv2+
URL: http://software.schmorp.de/pkg/libev.html
Source0: http://dist.schmorp.de/libev/Attic/%{name}-%{version}.tar.gz
URL: https://github.com/enki/libev
Source0: https://fossies.org/linux/misc/libev-%{version}.tar.gz
Patch1: libev-Add-sw64-architecture.patch
BuildRequires: autoconf automake coreutils findutils gcc libtool make git tar
BuildRequires: autoconf automake coreutils findutils gcc libtool make tar
Provides: bundled(libecb) = 1.05
@ -43,7 +44,7 @@ Summary: Help manual for %{name}
The %{name}-help package conatins man manual etc
%prep
%autosetup -n %{name}-%{version} -p1 -Sgit
%autosetup -n %{name}-%{version} -p1
autoreconf -vfi
%build
@ -76,6 +77,21 @@ rm -rf %{buildroot}%{_libdir}/%{name}.la
%{_mandir}/man?/*
%changelog
* Wed Mar 27 2024 gengqihu <gengqihu2@h-partners.com> - 4.33-4
- Add sw64 architecture
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 4.33-3
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Mon Sep 14 2020 chengzihan <chengzihan2@huawei.com> - 4.33-2
- Replace invalid url of Source0
* Wed Apr 15 2020 kangenbo<kangenbo@huawei.com> - 4.33-1
- Type: bugfix
- ID:NA
- SUG:NA
- DESC:upgrade to 4.33
* Thu Oct 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 4.24-11
- remove event.h from devel subpackage

View File

@ -1,4 +1,4 @@
version_control: NA
src_repo: NA
tag_pattern: NA
seperator: NA
version_control: cvs
src_repo: http://cvs.schmorp.de/libev
tag_prefix: "rel-"
seperator: "_"