On Wed, Aug 9, 2023 at 7:49 AM Ross Burton <[email protected]> wrote:
>
> On 9 Aug 2023, at 07:47, Alexander Kanavin via lists.openembedded.org 
> <[email protected]> wrote:
> >> Ideally we only want the verbosity when something goes wrong and meson 
> >> ninja etc are good at that with their defaults perhaps that -v should be 
> >> turned off by default as well
> >
> > Absolutely not. As someone who spends a lot of time fixing build and
> > runtime failures across all of oe-core I beg to differ. I want
> > verbosity all the time, everywhere. I also do not want to spend a
> > second figuring out how to switch it on (it's different everywhere
> > too), or to run another build just to get the verbose logs out of it.
>
> Agreed with Alex.
>
> Unless Ninja is clever enough to emit the full log for _every_ build step 
> that was involved in the failure, I definitely always want verbose logs.

I found Ninja defaults are good for debugging build failures, I deal
with this on large projects like chromium and clang often, Most of the
time I want to get to the error quickly
and have command to reproduce the one compile failure or other steps
and they are emitted in full while succeeding steps are curtailed and
most of the time that is what
one needs to solve build issues. verbose logs for such large projects
are huge, need space and time to generate them, I understand the view
of people who fix
build issues on daily bases, Most of the time builds succeed so its
important to keep that also in consideration. Perhaps it could be a
global option which could be
default verbose and opted-out if build modes chose to do so.

>
> For what it’s worth this made me look at the recipe to see why it has to 
> define do_compile, and I ended up extending meson.bbclass making this patch 
> redundant.

Thats good.

>
> Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#185713): 
https://lists.openembedded.org/g/openembedded-core/message/185713
Mute This Topic: https://lists.openembedded.org/mt/100625045/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to