From 1740e46b9d44dd073b66ec08ccbe0305a203b3ca369e55e85090f7b9f41e8269 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Mon, 18 Feb 2019 07:49:52 +0000 Subject: [PATCH] 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 --- bison.changes | 6 ++++++ bison.spec | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/bison.changes b/bison.changes index b7680a1..05487df 100644 --- a/bison.changes +++ b/bison.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Feb 16 06:45:57 UTC 2019 - Bernhard Wiedemann + +- Run profiling without parallelism for reproducible build results + (boo#1040589) + ------------------------------------------------------------------- Mon Feb 04 17:11:14 UTC 2019 - seanlew@opensuse.org diff --git a/bison.spec b/bison.spec index 553567b..5ce8c93 100644 --- a/bison.spec +++ b/bison.spec @@ -54,7 +54,8 @@ Bison is a parser generator similar to yacc(1). gl_cv_func_printf_infinite_long_double=yes %if 0%{?do_profiling} 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} CFLAGS="%{optflags} %{cflags_profile_feedback}" V=1 %else