!1 [pin-server] Init repository
From: @li-yancheng Reviewed-by: @eastb233 Signed-off-by: @eastb233
This commit is contained in:
commit
4a5f2fbb07
BIN
pin-server-0.1.0.tar.gz
Normal file
BIN
pin-server-0.1.0.tar.gz
Normal file
Binary file not shown.
53
pin-server.spec
Normal file
53
pin-server.spec
Normal file
@ -0,0 +1,53 @@
|
||||
Name: pin-server
|
||||
Version: 0.1.0
|
||||
Release: 1
|
||||
Summary: Pin (Plug-IN framework) server provides plugin APIs for compiler optimization developers to develop optimization pass.
|
||||
License: Apache 2.0
|
||||
URL: https://gitee.com/openeuler/pin-server
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc gcc-c++ cmake make pkgconfig grpc grpc-plugins grpc-devel protobuf-devel jsoncpp-devel
|
||||
Requires: grpc protobuf
|
||||
|
||||
%description
|
||||
Pin (Plug-IN framework) server provides plugin APIs for compiler optimization developers to develop optimization pass.
|
||||
|
||||
|
||||
%package demo
|
||||
Summary: Demo for %{name}
|
||||
Requires: grpc protobuf
|
||||
|
||||
%description demo
|
||||
A demo for pin-server
|
||||
|
||||
# skip debuginfo packages
|
||||
%global debug_package %{nil}
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
mkdir -p _build
|
||||
cd _build
|
||||
%{cmake} .. -DCMAKE_INSTALL_PREFIX=%{_usr} -DCMAKE_INSTALL_LIBDIR=%{_libdir}
|
||||
|
||||
%build
|
||||
cd _build
|
||||
%make_build
|
||||
|
||||
%install
|
||||
cd _build
|
||||
%make_install
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%attr(0755,root,root) %{_bindir}/pin_server
|
||||
%attr(0644,root,root) %{_bindir}/pin_server.sha256
|
||||
|
||||
%files demo
|
||||
%attr(0755,root,root) %{_libdir}/libuser.so
|
||||
|
||||
%changelog
|
||||
* Fri Aug 26 2022 liyancheng <412998149@qq.com> - 0.1.0-1
|
||||
- Type:Init
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:Init pin-server repository
|
||||
Loading…
x
Reference in New Issue
Block a user