Re: -CURRENT compilation time

From: Jeffrey Bouquet <jbtakk_at_iherebuywisely.com>
Date: Mon, 06 Sep 2021 02:57:49 -0700 (PDT)
On Mon, 6 Sep 2021 10:43:06 +0100, David Chisnall <theraven_at_FreeBSD.org> wrote:

> On 06/09/2021 09:08, Jeremie Le Hen wrote:
> > Compiling C++ seems
> > extremely CPU heavy and this is made worse by the fact LLVM is built
> > twice (once for build/cross tools, once for the actual world).
> 
> Note that you need to build LLVM twice only if you are actively 
> debugging LLVM reproduceable deployment images.  You actually don't need 
> to build it at all, you can use an external toolchain to skip the first 
> build and you can compile WITHOUT_TOOLCHAIN  to avoid building the 
> version that's installed and then install a toolchain from packages:
> 
> https://wiki.freebsd.org/ExternalToolchain
> 
> David


If only that suggestion was topmost in UPDATING and repeated in each
security advisory... 
Received on Mon Sep 06 2021 - 09:57:49 UTC

Original text of this message