Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Mar 2017 21:36:22 -0500
From:      "Garance A Drosehn" <drosih@rpi.edu>
To:        "Ngie Cooper" <yaneurabeya@gmail.com>
Cc:        src-committers@FreeBSD.org, svn-src-all@FreeBSD.org, svn-src-head@FreeBSD.org
Subject:   Re: svn commit: r314654 - in head/cddl: lib/drti lib/libavl lib/libctf lib/libdtrace lib/libnvpair lib/libumem lib/libuutil lib/libzfs lib/libzfs_core lib/libzpool sbin/zfs sbin/zpool usr.bin/ctfconver...
Message-ID:  <013D018A-02D1-4812-A2D2-D9A730E66E8C@rpi.edu>
In-Reply-To: <9494378A-5164-4C0A-B99A-6B9E91A281ED@gmail.com>
References:  <201703042039.v24KdcDE078734@pdx.rh.CN85.dnsmgr.net> <03156186-221F-4EEB-A86E-077E46E28296@gmail.com> <7B9F63AD-4EC4-4D5E-884B-3D0A22AB3952@rpi.edu> <9494378A-5164-4C0A-B99A-6B9E91A281ED@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5 Mar 2017, at 20:43, Ngie Cooper wrote:

>> On Mar 5, 2017, at 17:05, Garance A Drosehn <drosih@rpi.edu> wrote:
>>
>> FWIW, here was my method to fix the "slows down output" issue.
>> I wrote a wrapper around 'make' which I called "wcmake", and
>> it runs the output from a 'make' command through a script
>> which does a variety of analysis on that output.
>
> Hi!
>     Have you considered using make -s instead? It definitely
> abbreviates the output quite a bit...
>     I probably could do similar for my local builds. Our
> Jenkins runs don't do that, but maybe they should though..
> Thanks,
> -Ngie

Well, the scripts are doing a lot more than just abbreviating the
output sent to the console.  They save the entire output, and
compress that file to reduce the space used.  They also generate
a summary of warnings-seen at the end.  This was very helpful
when I was fixing all the compile-time warnings in 'lpr'.

My first tactic was sending the output to /dev/null, but then I
was stuck when "something weird" happened, and I had no idea
where 'make' had been before it went off the rails.  Especially
when using 'make -j', it can be important to see the last 30-50
lines of make's output to understand what really went wrong.

And sometimes what-went-wrong was that some file was being built
with the wrong parameters, and I'd lose that info with 'make -s'.

Also, I use these same 'wcmake' scripts on multiple platforms.
These scripts don't care which version of 'make' needs to be used.

-- 
Garance Alistair Drosehn                =     drosih@rpi.edu
Senior Systems Programmer               or   gad@FreeBSD.org
Rensselaer Polytechnic Institute;             Troy, NY;  USA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?013D018A-02D1-4812-A2D2-D9A730E66E8C>