2022-08-25 22:51:41 +08:00
|
|
|
Name: pin-gcc-client
|
2022-09-28 15:49:13 +08:00
|
|
|
Version: 0.2.0
|
|
|
|
|
Release: 1
|
2022-08-25 22:51:41 +08:00
|
|
|
Summary: A Pin (Plug-IN framework) client is implemented based on GCC plugin and can execute the compiler optimization pass in GCC.
|
|
|
|
|
License: Apache 2.0
|
|
|
|
|
URL: https://gitee.com/src-openeuler/pin-gcc-client
|
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc gcc-c++ gcc-plugin-devel cmake make pkgconfig grpc grpc-plugins grpc-devel protobuf-devel jsoncpp-devel
|
|
|
|
|
Requires: gcc grpc protobuf
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
A Pin (Plug-IN framework) client is implemented based on GCC plugin and can execute the compiler optimization pass in GCC.
|
|
|
|
|
|
|
|
|
|
# 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) %{_libdir}/libpin_gcc_client.so
|
2022-09-28 15:49:13 +08:00
|
|
|
%attr(0644,root,root) %{_bindir}/pin-gcc-client.json
|
2022-08-25 22:51:41 +08:00
|
|
|
|
|
|
|
|
%changelog
|
2022-09-28 15:49:13 +08:00
|
|
|
* Thu Sep 29 2022 wumingchuan <wumingchuan1992@foxmail.com> - 0.2.0-1
|
|
|
|
|
- Type:Update
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:Update to v0.2.0
|
|
|
|
|
|
2022-08-27 10:15:54 +08:00
|
|
|
* Sat Aug 27 2022 liyancheng <412998149@qq.com> - 0.1.0-2
|
|
|
|
|
- Type:Bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:Static link plg_grpc_proto
|
|
|
|
|
|
2022-08-25 22:51:41 +08:00
|
|
|
* Fri Aug 26 2022 liyancheng <412998149@qq.com> - 0.1.0-1
|
|
|
|
|
- Type:Init
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:Init pin-gcc-client repository
|