Accepting request 1039067 from devel:tools

- Enable build on riscv64
- Increase stack size (forwarded request 1038846 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/1039067
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/coccinelle?expand=0&rev=36
This commit is contained in:
Dominique Leuenberger 2022-11-30 14:00:17 +00:00 committed by Git OBS Bridge
commit b5302e207e
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