Add automatic feedback optimization tool (cherry picked from commit f57937405854843c2e3499034d9a5bbac8722054)
44 lines
1.1 KiB
RPMSpec
44 lines
1.1 KiB
RPMSpec
Name: A-FOT
|
|
Version: v1.0
|
|
Release: 0
|
|
Summary: automatic feedback-directed optimization tool for openEuler
|
|
License: MulanPSL-2.0
|
|
URL: https://gitee.com/openeuler/A-FOT
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
Requires: gcc gcc-c++ autofdo llvm-bolt
|
|
|
|
%description
|
|
A-FOT is an automatic feedback-directed optimization tool for openEuler
|
|
|
|
# skip debuginfo packages
|
|
%global debug_package %{nil}
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version}
|
|
|
|
%install
|
|
mkdir -p %{buildroot}/%{_bindir}
|
|
cp a-fot %{buildroot}/%{_bindir}
|
|
cp a-fot.ini %{buildroot}/%{_bindir}
|
|
cp auto_fdo.sh %{buildroot}/%{_bindir}
|
|
cp auto_prefetch.sh %{buildroot}/%{_bindir}
|
|
cp auto_bolt.sh %{buildroot}/%{_bindir}
|
|
|
|
%files
|
|
%attr(755, root, root) %{_bindir}/a-fot
|
|
%attr(664, root, root) %{_bindir}/a-fot.ini
|
|
%attr(644, root, root) %{_bindir}/auto_fdo.sh
|
|
%attr(644, root, root) %{_bindir}/auto_prefetch.sh
|
|
%attr(644, root, root) %{_bindir}/auto_bolt.sh
|
|
%license LICENSE
|
|
%doc README.md
|
|
|
|
%changelog
|
|
* Wed Mar 23 2022 liyancheng <412998149@qq.com> - 0
|
|
- Type:Init
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC:Add automatic feedback optimization tool
|