Accepting request 1038846 from openSUSE:Factory:RISCV

- Enable build on riscv64
- Increase stack size

OBS-URL: https://build.opensuse.org/request/show/1038846
OBS-URL: https://build.opensuse.org/package/show/devel:tools/coccinelle?expand=0&rev=93
This commit is contained in:
Olaf Hering 2022-11-30 09:07:34 +00:00 committed by Git OBS Bridge
parent 51cde024de
commit cbf6d34f84
2 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 29 10:51:36 UTC 2022 - Andreas Schwab <schwab@suse.de>
- Enable build on riscv64
- Increase stack size
-------------------------------------------------------------------
Wed Dec 29 21:21:21 UTC 2021 - ohering@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package coccinelle
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -26,7 +26,7 @@ URL: http://coccinelle.lip6.fr/
Source0: %name-%version.tar.xz
Source1: %name.rpmlintrc
Patch1: kill-env.diff
ExclusiveArch: aarch64 ppc64le s390x x86_64
ExclusiveArch: aarch64 ppc64le s390x x86_64 riscv64
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: fdupes
@ -66,6 +66,12 @@ fixing bugs in systems code.
%build
autoreconf -fi
%configure --with-python=%python_for_executables
# Compiling the generated parser requires an extraordinary amount of stack
%if 0%{?qemu_user_space_build}
export QEMU_STACK_SIZE=$((32768*1024))
%else
ulimit -s 32768
%endif
%make_build -j1 VERBOSE=yes
%install