From e3d1bce34ecd377316618d79293749e20e3c58344c28f253153888afc4d0721b Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Mon, 22 Nov 2021 10:04:52 +0000 Subject: [PATCH] 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 --- bison.changes | 5 +++++ bison.spec | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/bison.changes b/bison.changes index 0f6256f..cbc2125 100644 --- a/bison.changes +++ b/bison.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 17 12:07:50 UTC 2021 - Andreas Stieger + +- disable tests and profiling using tests on armv6l (boo#1192737) + ------------------------------------------------------------------- Sat Oct 2 07:23:56 UTC 2021 - Andreas Stieger diff --git a/bison.spec b/bison.spec index 926bdfe..88a0be7 100644 --- a/bison.spec +++ b/bison.spec @@ -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