From nobody Mon Sep 6 09:57:49 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A3E3417A555E for ; Mon, 6 Sep 2021 09:57:58 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: from aibo.runbox.com (aibo.runbox.com [91.220.196.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4H33jy3j9yz4mJQ; Mon, 6 Sep 2021 09:57:58 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: from [10.9.9.129] (helo=rmmprod07.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1mNBNu-0005Uz-0C; Mon, 06 Sep 2021 11:57:50 +0200 Received: from mail by rmmprod07.runbox with local (Exim 4.86_2) (envelope-from ) id 1mNBNt-0000um-VP; Mon, 06 Sep 2021 11:57:49 +0200 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Received: from [Authenticated alias (650894)] by runbox.com with http (RMM6); Mon, 06 Sep 2021 09:57:49 GMT From: "Jeffrey Bouquet" Reply-To: jbtakk@iherebuywisely.com To: "David Chisnall" CC: "freebsd-current" Subject: Re: -CURRENT compilation time Date: Mon, 06 Sep 2021 02:57:49 -0700 (PDT) X-RMM-Aliasid: 650894 X-Mailer: RMM6 In-Reply-To: Message-Id: X-Rspamd-Queue-Id: 4H33jy3j9yz4mJQ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Mon, 6 Sep 2021 10:43:06 +0100, David Chisnall 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=