Date: Mon, 06 Sep 2021 02:57:49 -0700 (PDT) From: "Jeffrey Bouquet" <jbtakk@iherebuywisely.com> To: "David Chisnall" <theraven@FreeBSD.org> Cc: "freebsd-current" <freebsd-current@freebsd.org> Subject: Re: -CURRENT compilation time Message-ID: <E1mNBNt-0000um-VP@rmmprod07.runbox> In-Reply-To: <b0dadbd1-3f99-ef8e-0a35-f35d3dab828c@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 6 Sep 2021 10:43:06 +0100, David Chisnall <theraven@FreeBSD.org> wr= ote: > 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). >=20 > Note that you need to build LLVM twice only if you are actively=20 > debugging LLVM reproduceable deployment images. You actually don't need= =20 > to build it at all, you can use an external toolchain to skip the first=20 > build and you can compile WITHOUT_TOOLCHAIN to avoid building the=20 > version that's installed and then install a toolchain from packages: >=20 > https://wiki.freebsd.org/ExternalToolchain >=20 > David If only that suggestion was topmost in UPDATING and repeated in each security advisory...=20=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1mNBNt-0000um-VP>