Accepting request 523715 from home:matz2:branches:Base:System

- RunTest needs much stack, on s390x more than the default
  8 MB.  [bnc#1046102]

OBS-URL: https://build.opensuse.org/request/show/523715
OBS-URL: https://build.opensuse.org/package/show/Base:System/pcre?expand=0&rev=81
This commit is contained in:
Marcus Meissner 2017-09-14 06:03:38 +00:00 committed by Git OBS Bridge
parent 6803f26e78
commit 029faa8f55
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 12 13:10:30 UTC 2017 - matz@suse.com
- RunTest needs much stack, on s390x more than the default
8 MB. [bnc#1046102]
-------------------------------------------------------------------
Tue Jul 25 08:15:58 UTC 2017 - astieger@suse.com

View File

@ -157,6 +157,9 @@ autoreconf -fiv
--enable-utf8 \
--enable-unicode-properties
%if %{do_profiling}
# RunTest test 2 needs lots of stack, if it ever segfaults
# try increasing this
ulimit -s $((16*1024))
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" V=1
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" check
make %{?_smp_mflags} clean
@ -173,6 +176,9 @@ mv %{buildroot}%{_datadir}/doc/pcre %{buildroot}/%{_defaultdocdir}/pcre-doc
find %{buildroot} -type f -name "*.la" -delete -print
%check
# RunTest test 2 needs lots of stack, if it ever segfaults
# try increasing this
ulimit -s $((16*1024))
make %{?_smp_mflags} check
%post -n libpcre1 -p /sbin/ldconfig