SHA256
1
0
forked from pool/bison

Accepting request 676711 from home:bmwiedemann:branches:devel:tools:compiler

Run profiling without parallelism for reproducible build results (boo#1040589)

OBS-URL: https://build.opensuse.org/request/show/676711
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/bison?expand=0&rev=66
This commit is contained in:
Martin Pluskal 2019-02-18 07:49:52 +00:00 committed by Git OBS Bridge
parent 652f9de01e
commit 1740e46b9d
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Feb 16 06:45:57 UTC 2019 - Bernhard Wiedemann <bwiedemann@suse.com>
- Run profiling without parallelism for reproducible build results
(boo#1040589)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 04 17:11:14 UTC 2019 - seanlew@opensuse.org Mon Feb 04 17:11:14 UTC 2019 - seanlew@opensuse.org

View File

@ -54,7 +54,8 @@ Bison is a parser generator similar to yacc(1).
gl_cv_func_printf_infinite_long_double=yes gl_cv_func_printf_infinite_long_double=yes
%if 0%{?do_profiling} %if 0%{?do_profiling}
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" V=1 make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" V=1
make %{?_smp_mflags} CFLAGS="%{optflags}" check # non-parallel profiling for reproducible results https://bugzilla.opensuse.org/show_bug.cgi?id=1040589
make CFLAGS="%{optflags}" check
make %{?_smp_mflags} clean make %{?_smp_mflags} clean
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}" V=1 make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}" V=1
%else %else