Add loongarch64 support

This commit is contained in:
Wenlong Zhang 2023-02-16 17:52:39 +08:00 committed by zhangxiaoyu
parent 3780b16826
commit 958fcd29eb

View File

@ -1,5 +1,5 @@
%global _version 2.0.9 %global _version 2.0.9
%global _release 1 %global _release 2
%global _inner_name isula_libutils %global _inner_name isula_libutils
Name: lcr Name: lcr
@ -22,6 +22,7 @@ BuildRequires: lxc > %{lxcver_lower} lxc < %{lxcver_upper}
BuildRequires: lxc-devel > %{lxcver_lower} lxc-devel < %{lxcver_upper} BuildRequires: lxc-devel > %{lxcver_lower} lxc-devel < %{lxcver_upper}
BuildRequires: zlib-devel yajl-devel gtest-devel BuildRequires: zlib-devel yajl-devel gtest-devel
Requires: lxc > %{lxcver_lower} lxc < %{lxcver_upper} yajl zlib Requires: lxc > %{lxcver_lower} lxc < %{lxcver_upper} yajl zlib
ExclusiveArch: x86_64 aarch64 loongarch64
%ifarch x86_64 %ifarch x86_64
Provides: liblcr.so()(64bit) Provides: liblcr.so()(64bit)
@ -33,6 +34,11 @@ Provides: liblcr.so()(64bit)
Provides: libisula_libutils.so()(64bit) Provides: libisula_libutils.so()(64bit)
%endif %endif
%ifarch loongarch64
Provides: liblcr.so()(64bit)
Provides: libisula_libutils.so()(64bit)
%endif
%description %description
Containers are insulated areas inside a system, which have their own namespace Containers are insulated areas inside a system, which have their own namespace
for filesystem, network, PID, IPC, CPU and memory allocation and which can be for filesystem, network, PID, IPC, CPU and memory allocation and which can be
@ -102,6 +108,12 @@ rm -rf %{buildroot}
%{_includedir}/%{_inner_name}/*.h %{_includedir}/%{_inner_name}/*.h
%changelog %changelog
* Thu Feb 16 2023 Wenlong Zhang<zhangwenlong@loongson.cn> - 2.0.9-2
- Type:enhancement
- CVE:NA
- SUG:NA
- DESC:Add loongarch64 support
* Sat Dec 17 2022 wangrunze<wangrunze13@huawei.com> - 2.0.9-1 * Sat Dec 17 2022 wangrunze<wangrunze13@huawei.com> - 2.0.9-1
- Type:enhancement - Type:enhancement
- CVE:NA - CVE:NA