build src with colored output?

Johannes Lundberg johalun0 at gmail.com
Tue May 16 06:47:37 UTC 2017


Hmm, with the previously mentioned solution, colored output was lost half
way through the build...

Going to do a single thread clean build later when I have the time to wait
and see what the results are.


On Tue, May 16, 2017 at 8:42 AM, Johannes Lundberg <johalun0 at gmail.com>
wrote:

> Gonna answer myself here. Think I found a way.
>
> Add CFLAGS=-fcolor-diagnostics to env or /etc/src.conf
> Do clean build, that is no -DNO_CLEAN,KERNFAST, etc.
>
> Makes it a lot easier to find the errors in a 16 threads build output...
>
> The mystery still remains though, why is color disabled for parallel
> builds?
>
>
> On Tue, May 16, 2017 at 8:03 AM, Johannes Lundberg <johalun0 at gmail.com>
> wrote:
>
>> Hi
>>
>> I'm sure this has been discussed but my Google-fu couldn't find me any
>> information..
>>
>> I get colored output when building kernel with a single thread, however,
>> for -j > 1 colored output is disabled.
>>
>> Anyone know what's the reason for this?
>>
>> /Johannes
>>
>>
>


More information about the freebsd-current mailing list