add loong64 support

This commit is contained in:
zhangxianting 2024-07-01 15:30:17 +08:00
parent 0fefc3e6b3
commit 110e34f408
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