add loong64 support

(cherry picked from commit 110e34f40893df25c1190a1dcd2b8c01bd3ffd67)
This commit is contained in:
zhangxianting 2024-07-01 15:30:17 +08:00 committed by openeuler-sync-bot
parent 0fefc3e6b3
commit e62a5e4b05
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 Name: tidb
Version: 4.0.14 Version: 4.0.14
Release: 4 Release: 5
Summary: TiDB is a distributed NewSQL database compatible with MySQL protocol Summary: TiDB is a distributed NewSQL database compatible with MySQL protocol
License: QL and STRUTIL License: QL and STRUTIL
@ -16,6 +16,8 @@ Patch1: 0001-fix-release-version.patch
Patch2: add-riscv-support.patch Patch2: add-riscv-support.patch
Patch3: add-riscv-support-for-vendor.patch Patch3: add-riscv-support-for-vendor.patch
%endif %endif
Patch4: 0001-add-loong64-support.patch
BuildRequires: golang >= 1.10.0 BuildRequires: golang >= 1.10.0
Requires(pre): shadow-utils Requires(pre): shadow-utils
Requires(post): systemd Requires(post): systemd
@ -32,8 +34,13 @@ TiDB is a distributed NewSQL database compatible with MySQL protocol
tar xvf %{SOURCE3} -C . tar xvf %{SOURCE3} -C .
%patch3 %patch3
%else %else
%autosetup -p1 %setup -q
%patch0 -p1
%patch1 -p1
tar xvf %{SOURCE3} -C . tar xvf %{SOURCE3} -C .
%ifarch loongarch64
%patch4 -p1
%endif
%endif %endif
@ -83,6 +90,9 @@ exit 0
%license LICENSE %license LICENSE
%changelog %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 * Mon Jul 17 2023 zhangxiang <zhangxiang@iscas.ac.cn> - 4.0.14-4
- add riscv64 support - add riscv64 support