!9 [sync] PR-6: bugfix: remove backslash in options

From: @openeuler-sync-bot 
Reviewed-by: @li-yancheng 
Signed-off-by: @li-yancheng
This commit is contained in:
openeuler-ci-bot 2022-12-20 08:27:26 +00:00 committed by Gitee
commit 6e24f1830d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 21 additions and 1 deletions

View 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"

View File

@ -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