SHA256
1
0
forked from pool/bison

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
This commit is contained in:
Stephan Kulow 2022-10-15 11:10:17 +00:00 committed by Git OBS Bridge
parent e3d1bce34e
commit ce18be2b13
2 changed files with 8 additions and 11 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Jul 31 05:56:31 UTC 2022 - Stephan Kulow <coolo@suse.com>
- 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 <andreas.stieger@gmx.de>

View File

@ -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