Accepting request 991865 from home:coolo:branches:Base:System
- Use %make_build macro and make sure we run the profiling run with -j1 OBS-URL: https://build.opensuse.org/request/show/991865 OBS-URL: https://build.opensuse.org/package/show/Base:System/m4?expand=0&rev=45
This commit is contained in:
parent
7a657f6c9c
commit
f138d31d05
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jul 31 08:10:20 UTC 2022 - Stephan Kulow <coolo@suse.com>
|
||||||
|
|
||||||
|
- Use %make_build macro and make sure we run the profiling run with -j1
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 19 12:48:42 UTC 2021 - Andreas Schwab <schwab@suse.de>
|
Mon Jul 19 12:48:42 UTC 2021 - Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
15
m4.spec
15
m4.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package m4
|
# spec file for package m4
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -51,16 +51,17 @@ GNU m4 is an implementation of the traditional Unix macro processor.
|
|||||||
gl_cv_func_printf_directive_n=yes \
|
gl_cv_func_printf_directive_n=yes \
|
||||||
gl_cv_func_printf_infinite_long_double=yes
|
gl_cv_func_printf_infinite_long_double=yes
|
||||||
%if %{do_profiling}
|
%if %{do_profiling}
|
||||||
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" V=1
|
%make_build CFLAGS="%{optflags} %{cflags_profile_generate}"
|
||||||
make check %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}"
|
# run profiling check sequentially to have it reproducible
|
||||||
make %{?_smp_mflags} clean
|
%make_build -j1 check CFLAGS="%{optflags} %{cflags_profile_generate}"
|
||||||
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}" V=1
|
%make_build clean
|
||||||
|
%make_build CFLAGS="%{optflags} %{cflags_profile_feedback}"
|
||||||
%else
|
%else
|
||||||
make %{?_smp_mflags} V=1
|
%make_build
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make %{?_smp_mflags} check
|
%make_build check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
Loading…
Reference in New Issue
Block a user