All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] zstd: do verbose builds
@ 2022-07-22 11:13 Ross Burton
  2022-07-22 14:54 ` [OE-core] " Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Ross Burton @ 2022-07-22 11:13 UTC (permalink / raw)
  To: openembedded-core; +Cc: nd

Set V=1 so that the compile log is useful when things go wrong.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/recipes-extended/zstd/zstd_1.5.2.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-extended/zstd/zstd_1.5.2.bb b/meta/recipes-extended/zstd/zstd_1.5.2.bb
index 3887f31ecfa..2a638eb4269 100644
--- a/meta/recipes-extended/zstd/zstd_1.5.2.bb
+++ b/meta/recipes-extended/zstd/zstd_1.5.2.bb
@@ -26,6 +26,8 @@ PACKAGECONFIG[zlib] = "HAVE_ZLIB=1,HAVE_ZLIB=0,zlib"
 # See programs/README.md for how to use this
 ZSTD_LEGACY_SUPPORT ??= "4"
 
+EXTRA_OEMAKE += "V=1"
+
 do_compile () {
     oe_runmake ${PACKAGECONFIG_CONFARGS} ZSTD_LEGACY_SUPPORT=${ZSTD_LEGACY_SUPPORT}
     oe_runmake ${PACKAGECONFIG_CONFARGS} ZSTD_LEGACY_SUPPORT=${ZSTD_LEGACY_SUPPORT} -C contrib/pzstd
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [OE-core] [PATCH] zstd: do verbose builds
  2022-07-22 11:13 [PATCH] zstd: do verbose builds Ross Burton
@ 2022-07-22 14:54 ` Khem Raj
  2022-07-22 16:17   ` Ross Burton
  0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2022-07-22 14:54 UTC (permalink / raw)
  To: Ross Burton; +Cc: Patches and discussions about the oe-core layer, nd

On Fri, Jul 22, 2022 at 7:13 AM Ross Burton <ross.burton@arm.com> wrote:
>
> Set V=1 so that the compile log is useful when things go wrong.
>

verbose logs do add to build time, usually when build fails the error
parts are good with dumping error and
compiler cmdline, is that not the case here ?

> Signed-off-by: Ross Burton <ross.burton@arm.com>
> ---
>  meta/recipes-extended/zstd/zstd_1.5.2.bb | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-extended/zstd/zstd_1.5.2.bb b/meta/recipes-extended/zstd/zstd_1.5.2.bb
> index 3887f31ecfa..2a638eb4269 100644
> --- a/meta/recipes-extended/zstd/zstd_1.5.2.bb
> +++ b/meta/recipes-extended/zstd/zstd_1.5.2.bb
> @@ -26,6 +26,8 @@ PACKAGECONFIG[zlib] = "HAVE_ZLIB=1,HAVE_ZLIB=0,zlib"
>  # See programs/README.md for how to use this
>  ZSTD_LEGACY_SUPPORT ??= "4"
>
> +EXTRA_OEMAKE += "V=1"
> +
>  do_compile () {
>      oe_runmake ${PACKAGECONFIG_CONFARGS} ZSTD_LEGACY_SUPPORT=${ZSTD_LEGACY_SUPPORT}
>      oe_runmake ${PACKAGECONFIG_CONFARGS} ZSTD_LEGACY_SUPPORT=${ZSTD_LEGACY_SUPPORT} -C contrib/pzstd
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#168402): https://lists.openembedded.org/g/openembedded-core/message/168402
> Mute This Topic: https://lists.openembedded.org/mt/92545058/1997914
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [OE-core] [PATCH] zstd: do verbose builds
  2022-07-22 14:54 ` [OE-core] " Khem Raj
@ 2022-07-22 16:17   ` Ross Burton
  2022-07-22 16:46     ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Ross Burton @ 2022-07-22 16:17 UTC (permalink / raw)
  To: Khem Raj; +Cc: Patches and discussions about the oe-core layer



> On 22 Jul 2022, at 15:54, Khem Raj via lists.openembedded.org <raj.khem=gmail.com@lists.openembedded.org> wrote:
> 
> On Fri, Jul 22, 2022 at 7:13 AM Ross Burton <ross.burton@arm.com> wrote:
>> 
>> Set V=1 so that the compile log is useful when things go wrong.
>> 
> 
> verbose logs do add to build time, usually when build fails the error
> parts are good with dumping error and
> compiler cmdline, is that not the case here ?

It doesn’t dump the command that failed, just the errors.  There is no meaningful increase in build time.

Ross

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [OE-core] [PATCH] zstd: do verbose builds
  2022-07-22 16:17   ` Ross Burton
@ 2022-07-22 16:46     ` Khem Raj
  0 siblings, 0 replies; 4+ messages in thread
From: Khem Raj @ 2022-07-22 16:46 UTC (permalink / raw)
  To: Ross Burton; +Cc: Patches and discussions about the oe-core layer

On Fri, Jul 22, 2022 at 12:17 PM Ross Burton <Ross.Burton@arm.com> wrote:
>
>
>
> > On 22 Jul 2022, at 15:54, Khem Raj via lists.openembedded.org <raj.khem=gmail.com@lists.openembedded.org> wrote:
> >
> > On Fri, Jul 22, 2022 at 7:13 AM Ross Burton <ross.burton@arm.com> wrote:
> >>
> >> Set V=1 so that the compile log is useful when things go wrong.
> >>
> >
> > verbose logs do add to build time, usually when build fails the error
> > parts are good with dumping error and
> > compiler cmdline, is that not the case here ?
>
> It doesn’t dump the command that failed, just the errors.  There is no meaningful increase in build time.
>

OK. Perhaps because its not a big component.

> Ross


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-07-22 16:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-22 11:13 [PATCH] zstd: do verbose builds Ross Burton
2022-07-22 14:54 ` [OE-core] " Khem Raj
2022-07-22 16:17   ` Ross Burton
2022-07-22 16:46     ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.