!1 Init repository

Merge pull request !1 from 编译小伙/master
This commit is contained in:
openeuler-ci-bot 2021-12-17 06:54:34 +00:00 committed by Gitee
commit deba53a6d7
2 changed files with 44 additions and 0 deletions

BIN
autofdo-0.19.tar.xz Normal file

Binary file not shown.

44
autofdo.spec Normal file
View File

@ -0,0 +1,44 @@
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