BugFix: remove backslash in options
(cherry picked from commit 13db7cfc9ec27e41d34afd17db0b1498a4304f3c)
This commit is contained in:
parent
0388be8593
commit
fd757e541a
13
0002-Bugfix-Remove-Backslash-in-Options.patch
Normal file
13
0002-Bugfix-Remove-Backslash-in-Options.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/auto_prefetch.sh b/auto_prefetch.sh
|
||||
index 265828a..b7f5932 100644
|
||||
--- a/auto_prefetch.sh
|
||||
+++ b/auto_prefetch.sh
|
||||
@@ -64,7 +64,7 @@ function prepare_new_env() {
|
||||
create_new_wrapper
|
||||
;;
|
||||
"Bear")
|
||||
- export COMPILATION_OPTIONS="-fauto-profile=${gcov_file_name} -fcache-misses-profile=${profile_data_path}/${gcov_name}.cache-misses\:u -fprefetch-loop-arrays=2"
|
||||
+ export COMPILATION_OPTIONS="-fauto-profile=${gcov_file_name} -fcache-misses-profile=${profile_data_path}/${gcov_name}.cache-misses:u -fprefetch-loop-arrays=2"
|
||||
;;
|
||||
*)
|
||||
echo "[ERROR] Build mode ${build_mode} is not supported, the value is : Wrapper/Bear"
|
||||
@ -1,6 +1,6 @@
|
||||
Name: A-FOT
|
||||
Version: v1.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: automatic feedback-directed optimization tool for openEuler
|
||||
License: MulanPSL-2.0
|
||||
URL: https://gitee.com/openeuler/A-FOT
|
||||
@ -10,6 +10,7 @@ Source0: %{name}-%{version}.tar.gz
|
||||
Requires: gcc gcc-c++ autofdo llvm-bolt Bear python3
|
||||
|
||||
Patch1: 0001-Add-Bear-to-A-FOT.patch
|
||||
Patch2: 0002-Bugfix-Remove-Backslash-in-Options.patch
|
||||
|
||||
%description
|
||||
A-FOT is an automatic feedback-directed optimization tool for openEuler
|
||||
@ -40,6 +41,12 @@ cp split_json.py %{buildroot}/%{_bindir}
|
||||
%doc README.md
|
||||
|
||||
%changelog
|
||||
* Mon Dec 19 2022 huitailangzju <804544223@qq.com> - v1.0-2
|
||||
- Type:Sync
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:Remove backslash in options
|
||||
|
||||
* Thu Dec 01 2022 huitailangzju <804544223@qq.com> - v1.0-1
|
||||
- Type:Sync
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user