SHA256
1
0
forked from pool/bison

Accepting request 870498 from devel:tools:compiler

- Run tests in parallel

OBS-URL: https://build.opensuse.org/request/show/870498
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bison?expand=0&rev=59
This commit is contained in:
Dominique Leuenberger 2021-02-15 22:10:26 +00:00 committed by Git OBS Bridge
commit 215851c2f5
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 9 09:29:12 UTC 2021 - Martin Pluskal <mpluskal@suse.com>
- Run tests in parallel
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jan 24 15:35:28 UTC 2021 - Dirk Müller <dmueller@suse.com> Sun Jan 24 15:35:28 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@ -50,8 +50,7 @@ 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_build CFLAGS="%{optflags} %{cflags_profile_generate}" %make_build CFLAGS="%{optflags} %{cflags_profile_generate}"
# non-parallel profiling for reproducible results https://bugzilla.opensuse.org/show_bug.cgi?id=1040589 %make_build CFLAGS="%{optflags}" check
%make_build --jobs=1 CFLAGS="%{optflags}" check
%make_build clean %make_build clean
%make_build CFLAGS="%{optflags} %{cflags_profile_feedback}" %make_build CFLAGS="%{optflags} %{cflags_profile_feedback}"
%else %else
@ -59,8 +58,7 @@ Bison is a parser generator similar to yacc(1).
%endif %endif
%check %check
# Tests dont work reliably in parallel %make_build check
%make_build --jobs=1 check
%install %install
%make_install %make_install