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

next in thread | previous in thread | raw e-mail | index | archive | help
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?CAECmPwvr31=hjgAgKRT-tgW_KG3xkkXM4TtyW6hDOp_Hi9qftg>