70 lines
1.9 KiB
RPMSpec
70 lines
1.9 KiB
RPMSpec
Name: autofdo
|
|
Version: 0.19
|
|
Release: 3
|
|
Summary: A tool to convert perf.data profile to AutoFDO profile
|
|
License: Apache-2.0
|
|
URL: https://github.com/google/autofdo
|
|
# The package in the original url below contains GIT information which is useless,
|
|
# so remove the GIT information and repackage it.
|
|
# Source: https://github.com/google/%{name}/releases/download/%{version}/{version}.tar.gz
|
|
Source: %{name}-%{version}.tar.xz
|
|
Patch0: 0001-Multi-event-processing-support.patch
|
|
Patch1: 0002-Arm-spe-parser-support.patch
|
|
Patch2: 0003-Add-sum-aggregation-feature-for-cycles-event.patch
|
|
|
|
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
|
|
* Wed May 29 2024 yuzeyang <yuzeyang4@huawei.com> - 0.19-3
|
|
- Type:enhancement
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC:Add sum aggregation feature for cycles event
|
|
|
|
* Sun Feb 13 2022 liyancheng <412998149@qq.com> - 0.19-2
|
|
- Type:enhancement
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC:Support processing ARM SPE event
|
|
|
|
* Sun Feb 13 2022 liyancheng <412998149@qq.com> - 0.19-1
|
|
- Type:enhancement
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC:Support parsing multiple events and process repeat function
|
|
|
|
* Tue Nov 30 2021 liyancheng <412998149@qq.com> - 0.19-0
|
|
- Type:Init
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC:Init autofdo repository
|
|
|