Accepting request 962180 from Base:System

Make profiling deterministic (bsc#1040589) (forwarded request 962124 from bmwiedemann)

OBS-URL: https://build.opensuse.org/request/show/962180
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grep?expand=0&rev=81
This commit is contained in:
Dominique Leuenberger 2022-03-18 15:41:18 +00:00 committed by Git OBS Bridge
commit 02a96d30d6
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Mar 15 21:51:41 UTC 2022 - Bernhard Wiedemann <bwiedemann@suse.com>
- Make profiling deterministic (bsc#1040589)
-------------------------------------------------------------------
Sat Feb 12 13:40:18 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -49,7 +49,7 @@ match to a specified pattern. By default, grep prints the matching lines.
%{nil}
%if 0%{?do_profiling}
%make_build CFLAGS="%{optflags} %{cflags_profile_generate}"
sh %{SOURCE4} # profiling run
setarch -R sh %{SOURCE4} # profiling run
%make_build clean
%make_build CFLAGS="%{optflags} %{cflags_profile_feedback}"
%else