!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:
commit
6e24f1830d
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
|
Name: A-FOT
|
||||||
Version: v1.0
|
Version: v1.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: automatic feedback-directed optimization tool for openEuler
|
Summary: automatic feedback-directed optimization tool for openEuler
|
||||||
License: MulanPSL-2.0
|
License: MulanPSL-2.0
|
||||||
URL: https://gitee.com/openeuler/A-FOT
|
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
|
Requires: gcc gcc-c++ autofdo llvm-bolt Bear python3
|
||||||
|
|
||||||
Patch1: 0001-Add-Bear-to-A-FOT.patch
|
Patch1: 0001-Add-Bear-to-A-FOT.patch
|
||||||
|
Patch2: 0002-Bugfix-Remove-Backslash-in-Options.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A-FOT is an automatic feedback-directed optimization tool for openEuler
|
A-FOT is an automatic feedback-directed optimization tool for openEuler
|
||||||
@ -40,6 +41,12 @@ cp split_json.py %{buildroot}/%{_bindir}
|
|||||||
%doc README.md
|
%doc README.md
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Dec 01 2022 huitailangzju <804544223@qq.com> - v1.0-1
|
||||||
- Type:Sync
|
- Type:Sync
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user