1 Star 0 Fork 13

编译小伙/pin-server-openEuler

forked from src-openEuler/pin-server 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pin-server.spec 1.42 KB
一键复制 编辑 原始数据 按行查看 历史
编译小伙 提交于 2022-08-27 10:30 . [Bugfix] static link plg_grpc_proto
Name: pin-server
Version: 0.1.0
Release: 2
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
Patch0: 0001-static-link-plg_grpc_proto.patch
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
%patch0 -p1
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
* Sat Aug 27 2022 liyancheng <412998149@qq.com> - 0.1.0-2
- Type:Bugfix
- ID:NA
- SUG:NA
- DESC:Static link plg_grpc_proto
* Fri Aug 26 2022 liyancheng <412998149@qq.com> - 0.1.0-1
- Type:Init
- ID:NA
- SUG:NA
- DESC:Init pin-server repository
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/li-yancheng/pin-server_1.git
git@gitee.com:li-yancheng/pin-server_1.git
li-yancheng
pin-server_1
pin-server-openEuler
master

搜索帮助