add riscv64 support
This commit is contained in:
parent
ac84dfdb3b
commit
298b4435e5
24
add-riscv-support.patch
Normal file
24
add-riscv-support.patch
Normal file
File diff suppressed because one or more lines are too long
@ -7,19 +7,23 @@
|
|||||||
|
|
||||||
Name: lib-shim-v2
|
Name: lib-shim-v2
|
||||||
Version: 0.0.1
|
Version: 0.0.1
|
||||||
Release: 5
|
Release: 6
|
||||||
URL: https://gitee.com/openeuler/lib-shim-v2
|
URL: https://gitee.com/openeuler/lib-shim-v2
|
||||||
Source: https://gitee.com/openeuler/%{name}/archive/refs/tags/v%{version}.tar.gz
|
Source: https://gitee.com/openeuler/%{name}/archive/refs/tags/v%{version}.tar.gz
|
||||||
|
Patch0: add-riscv-support.patch
|
||||||
Summary: lib-shim-v2 is shim v2 ttrpc client which is called by iSulad.
|
Summary: lib-shim-v2 is shim v2 ttrpc client which is called by iSulad.
|
||||||
Group: Application/System
|
Group: Application/System
|
||||||
License: Mulan PSL v2
|
License: Mulan PSL v2
|
||||||
|
|
||||||
ExclusiveArch: x86_64 aarch64
|
ExclusiveArch: x86_64 aarch64 riscv64
|
||||||
|
|
||||||
BuildRequires: rust
|
BuildRequires: rust
|
||||||
BuildRequires: cargo
|
BuildRequires: cargo
|
||||||
BuildRequires: rust-packaging
|
BuildRequires: rust-packaging
|
||||||
BuildRequires: gcc git
|
BuildRequires: gcc git
|
||||||
|
%ifarch riscv64
|
||||||
|
BuildRequires: protobuf-compiler
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Based on Rust programming language, as a shim v2 ttrpc client, it is called by iSulad.
|
Based on Rust programming language, as a shim v2 ttrpc client, it is called by iSulad.
|
||||||
@ -27,7 +31,7 @@ Based on Rust programming language, as a shim v2 ttrpc client, it is called by i
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: shim v2 ttrpc client
|
Summary: shim v2 ttrpc client
|
||||||
Group: Libraries
|
Group: Libraries
|
||||||
ExclusiveArch: x86_64 aarch64
|
ExclusiveArch: x86_64 aarch64 riscv64
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -59,6 +63,13 @@ install -m 0755 target/release/libshim_v2.so ${RPM_BUILD_ROOT}/%{_libdir}/libshi
|
|||||||
%{_includedir}/shim_v2.h
|
%{_includedir}/shim_v2.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 05 2023 laokz <zhangkai@iscas.ac.cn> - 0.0.1-6
|
||||||
|
- Type:Enhancement
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC: Add riscv64 support. Patches are from nix v0.17.0 and v0.18.0.
|
||||||
|
Add protobuf-compiler to avoid patching big binary for prost-build.
|
||||||
|
|
||||||
* Mon Nov 21 2022 wujing <wujing50@huawei.com> - 0.0.1-5
|
* Mon Nov 21 2022 wujing <wujing50@huawei.com> - 0.0.1-5
|
||||||
- Type:NA
|
- Type:NA
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user