Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
bb98a3f86b
!30 [sync] PR-28: Add RISC-V jit support
From: @openeuler-sync-bot 
Reviewed-by: @overweight 
Signed-off-by: @overweight
2024-05-04 03:59:41 +00:00
TexasOct
3262bf0567 add riscv jit support backport
(cherry picked from commit 09851d3e147189b202631a5b492203a9356fe065)
2024-05-04 10:01:57 +08:00
openeuler-ci-bot
b95755ab36
!26 update Source0 URL
From: @yangmingtaip 
Reviewed-by: @overweight 
Signed-off-by: @overweight
2022-11-26 09:35:40 +00:00
Mingtai
ecd89c3f24 update Source0 URL
Signed-off-by: Mingtai <yangmingtai@huawei.com>
2022-11-26 16:01:13 +08:00
openeuler-ci-bot
a5560621bc
!21 add loongarch support
From: @zhaozhen-zz 
Reviewed-by: @overweight 
Signed-off-by: @overweight
2022-11-16 02:01:14 +00:00
zhaozhen
892bc4699a add loongarch support 2022-11-15 20:38:21 +08:00
openeuler-ci-bot
38bbe9db93
!19 添加sw架构
From: @wuzx065891 
Reviewed-by: @licunlong 
Signed-off-by: @licunlong
2022-11-03 03:48:34 +00:00
wzx
730c390fe2 Add sw64 architecture
Signed-off-by: wzx <wuzx1226@qq.com>
2022-11-03 09:49:23 +08:00
openeuler-ci-bot
603c824fee
!17 将spec文件中libtoolize和autoreconf移到build阶段,手工修复master分支
From: @huangduirong 
Reviewed-by: @overweight 
Signed-off-by: @overweight
2022-10-09 03:07:16 +00:00
huangduirong
d2c658a169 move the libtoolize and autoreconf to build. 2022-10-08 22:27:01 +08:00
2 changed files with 3550 additions and 7 deletions

3511
add-riscv-jit-backport.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
Name: pcre
Version: 8.45
Release: 1
Release: 6
Summary: Perl Compatible Regular Expressions
## Source package only:
# INSTALL: FSFAP
@ -25,8 +25,8 @@ Summary: Perl Compatible Regular Expressions
# other files: BSD
License: BSD
URL: http://www.pcre.org/
Source0: https://ftp.pcre.org/pub/pcre/%{name}-%{version}.tar.bz2
Source0: https://sourceforge.net/projects/pcre/files/%{name}/%{version}/%{name}-%{version}.tar.bz2
Patch0001: add-riscv-jit-backport.patch
BuildRequires: readline-devel autoconf automake coreutils
BuildRequires: gcc gcc-c++ glibc-common libtool make
@ -69,13 +69,18 @@ Requires: man
The %{name}-help package contains doc files for %{name}.
%prep
%autosetup -n %{name}-%{version} -p1
libtoolize -cf
autoreconf -vif
%setup -n %{name}-%{version}
%ifarch riscv64
%patch -P0001 -p1
%endif
%build
libtoolize -cf
autoreconf -vif
%configure \
%ifarch riscv64
%ifarch sw_64 loongarch64
--disable-jit \
%else
--enable-jit \
@ -116,6 +121,33 @@ make check VERBOSE=yes
%{_mandir}/man3/*
%changelog
* Tue Apr 30 2024 TexasOct <xinhao.oerv@isrc.iscas.ac.cn> - 8.45-6
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:add RISCV support backport
* Sat Nov 26 2022 yangmingtai <yangmingtai@huawei.com> - 8.45-5
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:update Source0 URL
* Mon Nov 14 2022 zhaozhen <zhaozhen@loongson.cn> - 8.45-4
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:fix build error for loongarch64 arch
* Thu Nov 3 2022 wuzx<wuzx1226@qq.com> - 8.45-3
- Add sw64 architecture
* Sat Oct 8 2022 huangduirong <huangduirong@huawei.com> - 8.45-2
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update the prep of spec
* Tue Feb 8 2022 yangzhuangzhuang <yangzhuangzhuang1@h-partners.com> - 8.45-1
- update to 8.45