RFC: less chatty system builds

Dimitry Andric dim at FreeBSD.org
Mon Dec 16 21:36:06 UTC 2013


On 16 Dec 2013, at 19:46, Luigi Rizzo <rizzo at iet.unipi.it> wrote:
> The following is a proof-of-concept patch to make system builds
> less chatty.
> 
> It also has the nice side effect of showing more clearly
> which rules are used during the build and possibly help
> debugging the share/mk files and the individual Makefiles.
> 
> The logic is the following:
> the environment/make variable SILENT (or any other name we may want
> to use; linux defaults to quiet mode and uses V=1 to be as verbose
> as we are),

I cannot imagine I am the only one that dislikes Linux's approach of not
showing exactly what it is doing, so I have no objection, as long as it
is not the default.  (I really hate having to hunt around for the magic
option to enable verbose output if I want to know how a program is
compiled...)

Also, if you want "silent" builds, you should use make -s instead.  That
is much less chatty than (IMHO) useless "CC foo", "LD bar" messages.

In any case, if anything like this is implemented, I would really prefer
something like CMake does, e.g. give you a percentage counter that
provides some information about how 'far' the build is progressing.

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20131216/ed5d7f1c/attachment.sig>


More information about the freebsd-current mailing list