add loongarch64 support

This commit is contained in:
panchenbo 2023-09-26 14:52:40 +08:00
parent bea5837870
commit 8399dc406f
3 changed files with 226343 additions and 8 deletions

226334
add-loong64-support.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
#Basic Information
Name: lxcfs-tools
Version: 0.3
Release: 30
Release: 31
Summary: toolkit for lxcfs to remount a running isulad
License: Mulan PSL v2
URL: https://gitee.com/openeuler/lxcfs-tools
@ -13,7 +13,12 @@ Patch2: 0002-enable-external-linkmode-for-cgo-build.patch
Patch3: 0003-retry-10-times-to-avoid-isulad-unavailable.patch
Patch4: 0004-add-dt-test.patch
Patch5: 0005-add-riscv64-to-syscall-build.patch
%ifarch sw_64
Patch6: lxcfs-tools-sw.patch
%endif
%ifarch loongarch64
Patch7: add-loong64-support.patch
%endif
#Dependency
BuildRequires: golang > 1.7
@ -26,9 +31,6 @@ A toolkit for lxcfs to remount a running isulad when crashes recover
#Build sections
%prep
%autosetup -n %{name}-v%{version} -p1
%ifnarch sw_64
%patch6 -R -p1
%endif
%build
make
@ -101,6 +103,9 @@ rm -rfv %{buildroot}
%changelog
* Fri Aug 18 2023 panchenbo <panchenbo@kylinsec.com.cn> - 0.3-31
- add loongarch64 support
* Mon Jul 03 2023 wujie <wujie@nj.iscas.ac.cn> - 0.3-30
- add riscv64 to syscall_linux_64.go build

View File

@ -1,4 +0,0 @@
version-ctrl: NA
src_repo: NA
tag_prefix: NA
seperator: NA