!12 add loong64 support

From: @zhangxianting 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
This commit is contained in:
openeuler-ci-bot 2024-07-02 02:14:41 +00:00 committed by Gitee
commit f020b36443
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 2830 additions and 2 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
Name: tidb
Version: 4.0.14
Release: 4
Release: 5
Summary: TiDB is a distributed NewSQL database compatible with MySQL protocol
License: QL and STRUTIL
@ -16,6 +16,8 @@ Patch1: 0001-fix-release-version.patch
Patch2: add-riscv-support.patch
Patch3: add-riscv-support-for-vendor.patch
%endif
Patch4: 0001-add-loong64-support.patch
BuildRequires: golang >= 1.10.0
Requires(pre): shadow-utils
Requires(post): systemd
@ -32,8 +34,13 @@ TiDB is a distributed NewSQL database compatible with MySQL protocol
tar xvf %{SOURCE3} -C .
%patch3
%else
%autosetup -p1
%setup -q
%patch0 -p1
%patch1 -p1
tar xvf %{SOURCE3} -C .
%ifarch loongarch64
%patch4 -p1
%endif
%endif
@ -83,6 +90,9 @@ exit 0
%license LICENSE
%changelog
* Mon Jul 01 2024 zhangxianting <zhangxianting@uniontech.com> - 4.0.14-5
- add loongarch64 support
* Mon Jul 17 2023 zhangxiang <zhangxiang@iscas.ac.cn> - 4.0.14-4
- add riscv64 support