From owner-freebsd-current@FreeBSD.ORG Mon Dec 16 21:36:06 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8C36A531 for ; Mon, 16 Dec 2013 21:36:06 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4780A1FEF for ; Mon, 16 Dec 2013 21:36:05 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::9086:c23:8be1:c0db] (unknown [IPv6:2001:7b8:3a7:0:9086:c23:8be1:c0db]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 8DDA55C43; Mon, 16 Dec 2013 22:35:56 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_A12F8B49-1A86-4BF5-89CF-CB295B22E0CB"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Subject: Re: RFC: less chatty system builds From: Dimitry Andric In-Reply-To: <20131216184626.GA17125@onelab2.iet.unipi.it> Date: Mon, 16 Dec 2013 22:35:47 +0100 Message-Id: References: <20131216184626.GA17125@onelab2.iet.unipi.it> To: Luigi Rizzo X-Mailer: Apple Mail (2.1822) Cc: current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Dec 2013 21:36:06 -0000 --Apple-Mail=_A12F8B49-1A86-4BF5-89CF-CB295B22E0CB Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 16 Dec 2013, at 19:46, Luigi Rizzo 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 --Apple-Mail=_A12F8B49-1A86-4BF5-89CF-CB295B22E0CB Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iEYEARECAAYFAlKvcjoACgkQsF6jCi4glqPdWgCePKqwdykbNVu3r3xDl2HnU/yA oI0AoP41X1yttDfY138gOvFBeJ2DNlgB =6iKl -----END PGP SIGNATURE----- --Apple-Mail=_A12F8B49-1A86-4BF5-89CF-CB295B22E0CB--