Re: RFC: less chatty system builds

看板FB_current作者時間12年前 (2013/12/22 11:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/8 (看更多)
--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 <rizzo@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 --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--
文章代碼(AID): #1IjbqsgS (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1IjbqsgS (FB_current)