From ce18be2b13142f0fe2cf457f49de5e62d3b03a850df747b95f0c95aa4f7dc267 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sat, 15 Oct 2022 11:10:17 +0000 Subject: [PATCH] Accepting request 991861 from home:coolo:branches:openSUSE:Factory - Remove profiling support. Bison's performance is not really key to rebuild cycles, but as bison is a bootstrap package, it's own build time can hurt - especially if it's not reproducible. OBS-URL: https://build.opensuse.org/request/show/991861 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/bison?expand=0&rev=116 --- bison.changes | 7 +++++++ bison.spec | 12 +----------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/bison.changes b/bison.changes index cbc2125..fc71980 100644 --- a/bison.changes +++ b/bison.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Jul 31 05:56:31 UTC 2022 - Stephan Kulow + +- Remove profiling support. Bison's performance is not really key to + rebuild cycles, but as bison is a bootstrap package, it's own build + time can hurt - especially if it's not reproducible. + ------------------------------------------------------------------- Wed Nov 17 12:07:50 UTC 2021 - Andreas Stieger diff --git a/bison.spec b/bison.spec index 88a0be7..b3c2903 100644 --- a/bison.spec +++ b/bison.spec @@ -1,7 +1,7 @@ # # spec file for package bison # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -48,17 +48,7 @@ Bison is a parser generator similar to yacc(1). --docdir=%{_docdir}/%{name} \ gl_cv_func_printf_directive_n=yes \ gl_cv_func_printf_infinite_long_double=yes -%ifarch armv6hl -%define do_profiling 0 -%endif -%if 0%{?do_profiling} - %make_build CFLAGS="%{optflags} %{cflags_profile_generate}" - %make_build CFLAGS="%{optflags}" check - %make_build clean - %make_build CFLAGS="%{optflags} %{cflags_profile_feedback}" -%else %make_build CFLAGS="%{optflags}" -%endif %check %ifnarch armv6hl