!746 enable nri support only on specified architecture
From: @liuxu180400617 Reviewed-by: @taotao-sauce Signed-off-by: @taotao-sauce
This commit is contained in:
commit
a51e04f45a
22
iSulad.spec
22
iSulad.spec
@ -1,5 +1,5 @@
|
||||
%global _version 2.1.5
|
||||
%global _release 12
|
||||
%global _release 13
|
||||
%global is_systemd 1
|
||||
%global enable_criv1 1
|
||||
%global enable_cdi 1
|
||||
@ -7,6 +7,10 @@
|
||||
%global is_embedded 1
|
||||
%global cpp_std 17
|
||||
|
||||
%ifarch x86_64 aarch64
|
||||
%global enable_nri 0
|
||||
%endif
|
||||
|
||||
Name: iSulad
|
||||
Version: %{_version}
|
||||
Release: %{_release}
|
||||
@ -197,7 +201,9 @@ BuildRequires: libevhtp-devel libevent-devel
|
||||
%if 0%{?enable_shimv2}
|
||||
BuildRequires: lib-shim-v2 lib-shim-v2-devel
|
||||
%endif
|
||||
|
||||
%if 0%{?enable_nri}
|
||||
BuildRequires: isula-rust-extensions-devel
|
||||
%endif
|
||||
|
||||
Requires: libisula > %{lcrver_lower} libisula < %{lcrver_upper}
|
||||
Requires: grpc protobuf
|
||||
@ -210,6 +216,9 @@ BuildRequires: libevhtp libevent
|
||||
%if 0%{?enable_shimv2}
|
||||
Requires: lib-shim-v2
|
||||
%endif
|
||||
%if 0%{?enable_nri}
|
||||
Requires: isula-rust-extensions
|
||||
%endif
|
||||
|
||||
%description
|
||||
This is a umbrella project for gRPC-services based Lightweight Container
|
||||
@ -231,6 +240,9 @@ cd build
|
||||
%if 0%{?enable_cdi}
|
||||
-DENABLE_CDI=ON \
|
||||
%endif
|
||||
%if 0%{?enable_nri}
|
||||
-DENABLE_NRI=ON \
|
||||
%endif
|
||||
%endif
|
||||
%if 0%{?enable_shimv2}
|
||||
-DENABLE_SHIM_V2=ON \
|
||||
@ -413,6 +425,12 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Nov 21 2024 zhongtao <zhongtao17@huawei.com> - 2.1.5-13
|
||||
- Type: bugfix
|
||||
- ID: NA
|
||||
- SUG: NA
|
||||
- DESC: enable nri support only on specified architecture
|
||||
|
||||
* Mon Oct 21 2024 wujichao <wujichao1@huawei.com> - 2.1.5-12
|
||||
- Type: update
|
||||
- ID: NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user