parent
9e8ac112a8
commit
b9c803b8b7
24
0002-add-riscv-support.patch
Normal file
24
0002-add-riscv-support.patch
Normal file
File diff suppressed because one or more lines are too long
@ -7,7 +7,7 @@
|
||||
|
||||
Name: lib-shim-v2
|
||||
Version: 0.0.1
|
||||
Release: 6
|
||||
Release: 7
|
||||
URL: https://gitee.com/openeuler/lib-shim-v2
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
Source1: libc.tar.gz
|
||||
@ -15,12 +15,17 @@ Summary: lib-shim-v2 is shim v2 ttrpc client which is called by iSulad.
|
||||
Group: Application/System
|
||||
License: Mulan PSL v2
|
||||
|
||||
ExclusiveArch: x86_64 aarch64 loongarch64
|
||||
ExclusiveArch: x86_64 aarch64 loongarch64 riscv64
|
||||
%ifarch loongarch64
|
||||
Patch01: 0001-add-loongarch64-support-for-nix.patch
|
||||
Patch02: 0001-add-loongarch64-support-for-prost-build.patch
|
||||
%endif
|
||||
|
||||
Patch03: 0002-add-riscv-support.patch
|
||||
%ifarch riscv64
|
||||
BuildRequires: protobuf-compiler
|
||||
%endif
|
||||
|
||||
BuildRequires: rust
|
||||
BuildRequires: cargo
|
||||
BuildRequires: rust-packaging
|
||||
@ -32,7 +37,7 @@ Based on Rust programming language, as a shim v2 ttrpc client, it is called by i
|
||||
%package devel
|
||||
Summary: shim v2 ttrpc client
|
||||
Group: Libraries
|
||||
ExclusiveArch: x86_64 aarch64 loongarch64
|
||||
ExclusiveArch: x86_64 aarch64 loongarch64 riscv64
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
@ -68,6 +73,13 @@ install -m 0755 target/release/libshim_v2.so ${RPM_BUILD_ROOT}/%{_libdir}/libshi
|
||||
%{_includedir}/shim_v2.h
|
||||
|
||||
%changelog
|
||||
* Mon Jun 05 2023 laokz <zhangkai@iscas.ac.cn> - 0.0.1-7
|
||||
- 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.
|
||||
|
||||
* Fri May 12 2023 Wenlong Zhang <zhangwenlong@loongson.cn> - 0.0.1-6
|
||||
- Type: feature
|
||||
- ID: NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user