add riscv jit support backport
(cherry picked from commit 09851d3e147189b202631a5b492203a9356fe065)
This commit is contained in:
parent
b95755ab36
commit
3262bf0567
3511
add-riscv-jit-backport.patch
Normal file
3511
add-riscv-jit-backport.patch
Normal file
File diff suppressed because it is too large
Load Diff
19
pcre.spec
19
pcre.spec
@ -1,6 +1,6 @@
|
||||
Name: pcre
|
||||
Version: 8.45
|
||||
Release: 5
|
||||
Release: 6
|
||||
Summary: Perl Compatible Regular Expressions
|
||||
## Source package only:
|
||||
# INSTALL: FSFAP
|
||||
@ -26,7 +26,7 @@ Summary: Perl Compatible Regular Expressions
|
||||
License: BSD
|
||||
URL: http://www.pcre.org/
|
||||
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
|
||||
%setup -n %{name}-%{version}
|
||||
|
||||
%ifarch riscv64
|
||||
%patch -P0001 -p1
|
||||
%endif
|
||||
|
||||
|
||||
%build
|
||||
libtoolize -cf
|
||||
autoreconf -vif
|
||||
%configure \
|
||||
%ifarch riscv64 sw_64 loongarch64
|
||||
%ifarch sw_64 loongarch64
|
||||
--disable-jit \
|
||||
%else
|
||||
--enable-jit \
|
||||
@ -116,6 +121,12 @@ 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user