[erlang-patches] Implement ./otp_build configure --enable-silent-rules
Wed Nov 28 17:31:24 CET 2012
# Tuncer Ayaz 2012-11-28:
> On Wed, Nov 28, 2012 at 3:39 PM, Anthony Ramine wrote:
> > I got bored of the too verbose output of the build process,
The output isn't there to amuse you but to give you information for
troubleshooting in case things go wrong. ;-)
> > so I added automake's silent rules to Erlang/OTP.
I never understood the point of a build process generating incomplete
progress report. Either I wan't all the details (almost always) or
just the final outcome -- something you can do without any patching:
$ if ! make > /tmp/build.log 2>&1 ;then echo "BUILD FAILED!!!" ; fi
> > Here is an example of output produced with silent rules:
> > https://gist.github.com/4160201
> > I may have missed some build tools' invocations as I can only compile
> > Erlang on my Mac.
> > https://github.com/nox/otp/compare/erlang:master...enable-silent-rules
> > https://github.com/nox/otp/compare/erlang:master...enable-silent-rules.patch
> > git fetch https://github.com/nox/otp enable-silent-rules
> Nice patch, but I would prefer to make the default be silent.
That's actively harmful -- a build failing on you with useless output
is already bad enough, having to re-run the build is annoying on its
own, having to additionally figure out the option that will give you
useful output is almost insulting.
Maybe it's just me...
More information about the erlang-patches