!2 [sync] PR-1: [A-FOT] Initialize A-FOT package
From: @openeuler-sync-bot Reviewed-by: @eastb233 Signed-off-by: @eastb233
This commit is contained in:
commit
ed7f29395c
BIN
A-FOT-v1.0.tar.gz
Normal file
BIN
A-FOT-v1.0.tar.gz
Normal file
Binary file not shown.
43
A-FOT.spec
Normal file
43
A-FOT.spec
Normal file
@ -0,0 +1,43 @@
|
||||
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
|
||||
Loading…
x
Reference in New Issue
Block a user