SHA256
6
0
forked from pool/bash

Accepting request 1251754 from Base:System

Skip PGO with %want_reproducible_builds (boo#1040589) (forwarded request 1251745 from bmwiedemann)

OBS-URL: https://build.opensuse.org/request/show/1251754
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=197
This commit is contained in:
2025-03-12 14:19:57 +00:00
committed by Git OBS Bridge
2 changed files with 8 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 10 09:38:26 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
- Skip PGO with %want_reproducible_builds (boo#1040589)
-------------------------------------------------------------------
Mon Feb 24 18:21:33 UTC 2025 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -487,7 +487,7 @@ echo exit 0 > tests/read7.sub
$READLINE
sed -rn '/Configuration feature settings controllable by autoconf/,/End of configuration settings controllable by autoconf/p' < config.h
profilecflags=CFLAGS="$CFLAGS"
%if 0%{?do_profiling}
%if 0%{?do_profiling} && !0%{?want_reproducible_builds}
profilecflags=CFLAGS="$CFLAGS %{cflags_profile_generate}"
%endif
ulimit -Hv unlimited
@@ -502,9 +502,8 @@ echo exit 0 > tests/read7.sub
SCREENRC=$SCREENRC SCREENDIR=$SCREENDIR \
screen -D -m %make_build -j1 TESTSCRIPT=%{SOURCE4} check
kill -TERM $pid
%if 0%{?do_profiling}
rm -f jobs.gcda
profilecflags=CFLAGS="$CFLAGS %{cflags_profile_feedback} -fprofile-correction"
%if 0%{?do_profiling} && !0%{?want_reproducible_builds}
profilecflags=CFLAGS="$CFLAGS %{cflags_profile_feedback}"
%make_build $makeopts "$profilecflags" clean
%endif
%make_build $makeopts "$profilecflags" all