SHA256
1
0
forked from pool/bison

- Run tests in parallel

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/bison?expand=0&rev=106
This commit is contained in:
Martin Pluskal 2021-02-09 09:30:02 +00:00 committed by Git OBS Bridge
parent 64ae93eb54
commit c9e1877fb3
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