Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2017 08:47:34 +0200
From:      Johannes Lundberg <johalun0@gmail.com>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: build src with colored output?
Message-ID:  <CAECmPwt6Xk6cRcvxvcDhq57u==YhhmcNRRb5J-mDEgEx3d51tg@mail.gmail.com>
In-Reply-To: <CAECmPwvr31=hjgAgKRT-tgW_KG3xkkXM4TtyW6hDOp_Hi9qftg@mail.gmail.com>
References:  <CAECmPwuxq-pfBEcPvCXRcpJ7jwqMnfiUawribHcW2zdt%2BgoQQw@mail.gmail.com> <CAECmPwvr31=hjgAgKRT-tgW_KG3xkkXM4TtyW6hDOp_Hi9qftg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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
>>
>>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAECmPwt6Xk6cRcvxvcDhq57u==YhhmcNRRb5J-mDEgEx3d51tg>