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:
parent
e3d1bce34e
commit
ce18be2b13
@ -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>
|
Wed Nov 17 12:07:50 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
12
bison.spec
12
bison.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package bison
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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} \
|
--docdir=%{_docdir}/%{name} \
|
||||||
gl_cv_func_printf_directive_n=yes \
|
gl_cv_func_printf_directive_n=yes \
|
||||||
gl_cv_func_printf_infinite_long_double=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}"
|
%make_build CFLAGS="%{optflags}"
|
||||||
%endif
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%ifnarch armv6hl
|
%ifnarch armv6hl
|
||||||
|
Loading…
Reference in New Issue
Block a user