diff --git a/0002-Bugfix-Remove-Backslash-in-Options.patch b/0002-Bugfix-Remove-Backslash-in-Options.patch new file mode 100644 index 0000000000000000000000000000000000000000..ea8750b8142aa4adba90eb1dfbd2436569d9d130 --- /dev/null +++ b/0002-Bugfix-Remove-Backslash-in-Options.patch @@ -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" diff --git a/A-FOT.spec b/A-FOT.spec index beed81a51c9499a0333e3e343f846ffefff1551a..3420f358f0592a85ff98d6dc41d47fdd04935314 100644 --- a/A-FOT.spec +++ b/A-FOT.spec @@ -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