SHA256
1
0
forked from pool/bison

Accepting request 931948 from home:AndreasStieger:branches:devel:tools:compiler

- disable tests and profiling using tests on armv6l (boo#1192737)

OBS-URL: https://build.opensuse.org/request/show/931948
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/bison?expand=0&rev=115
This commit is contained in:
Martin Pluskal 2021-11-22 10:04:52 +00:00 committed by Git OBS Bridge
parent 0acfeb4808
commit e3d1bce34e
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 17 12:07:50 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
- disable tests and profiling using tests on armv6l (boo#1192737)
-------------------------------------------------------------------
Sat Oct 2 07:23:56 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -48,6 +48,9 @@ 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
@ -58,7 +61,9 @@ Bison is a parser generator similar to yacc(1).
%endif
%check
%ifnarch armv6hl
%make_build check
%endif
%install
%make_install