45 lines
1.0 KiB
RPMSpec
45 lines
1.0 KiB
RPMSpec
Name: autofdo
|
|
Version: 0.19
|
|
Release: 0
|
|
Summary: A tool to convert perf.data profile to AutoFDO profile
|
|
License: Apache-2.0
|
|
URL: https://github.com/google/autofdo
|
|
Source: %{name}-%{version}.tar.xz
|
|
BuildRequires: gcc gcc-c++ libtool autoconf automake git elfutils-libelf-devel openssl-devel pkg-config
|
|
Requires: glibc openssl-libs elfutils libgcc libstdc++ zlib
|
|
|
|
%description
|
|
This package contains a tool to convert perf.data profile to AutoFDO
|
|
profile that can be used by GCC and LLVM.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
autoreconf -fiv
|
|
%configure
|
|
make -j 1
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%files
|
|
%license COPYING
|
|
%doc README
|
|
%{_bindir}/create_gcov
|
|
%{_bindir}/dump_gcov
|
|
%{_bindir}/sample_merger
|
|
%{_bindir}/profile_merger
|
|
%{_bindir}/profile_diff
|
|
%{_bindir}/profile_update
|
|
# autofdo toolchain has been integrated into LLVM, so exclude it.
|
|
%exclude %{_bindir}/create_llvm_prof
|
|
|
|
%changelog
|
|
* Tue Nov 30 2021 liyancheng <412998149@qq.com>
|
|
- Type:Init
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC:Init autofdo repository
|
|
|