From nobody Tue Sep 7 17:02:55 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 1283F17A08CD for ; Tue, 7 Sep 2021 17:03:00 +0000 (UTC) (envelope-from se@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4H3s5v70Mfz3kGJ; Tue, 7 Sep 2021 17:02:59 +0000 (UTC) (envelope-from se@freebsd.org) Received: from [IPV6:2003:cd:5f1d:3e00:f487:ceed:62ab:471d] (p200300cd5f1d3e00f487ceed62ab471d.dip0.t-ipconnect.de [IPv6:2003:cd:5f1d:3e00:f487:ceed:62ab:471d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: se/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 6DCF86EA; Tue, 7 Sep 2021 17:02:59 +0000 (UTC) (envelope-from se@freebsd.org) Message-ID: Date: Tue, 7 Sep 2021 19:02:55 +0200 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 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.0.3 Subject: Re: -CURRENT compilation time Content-Language: en-US To: David Chisnall Cc: freebsd-current@freebsd.org References: From: Stefan Esser In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------f6NOA8XUrhd0cCeYQNQu0wi7" X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------f6NOA8XUrhd0cCeYQNQu0wi7 Content-Type: multipart/mixed; boundary="------------Tw95KMSahg9CK1dM4r00hn2R"; protected-headers="v1" From: Stefan Esser To: David Chisnall Cc: freebsd-current@freebsd.org Message-ID: Subject: Re: -CURRENT compilation time References: In-Reply-To: --------------Tw95KMSahg9CK1dM4r00hn2R Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am 07.09.21 um 15:51 schrieb David Chisnall: > On 06/09/2021 20:34, Wolfram Schneider wrote: >> With the option WITHOUT_TOOLCHAIN=3Dyes the world build time is 2.5 >> times faster (real or user+sys), down from 48 min to 19.5 min real >> time. >=20 > Note that building LLVM with the upstream CMake + Ninja build system is= > *significantly* faster on a decent multicore machine than the FreeBSD > bmake-based in-tree version. >=20 > One of the things I'd love to prototype if I had time is a CMake-based = build > system for FreeBSD so that we could get all of the tooling integration = from the > compile_commands.json, reuse LLVM's (and any other contrib things that = use > CMake) build system without having to recreate it, and be able to use n= inja, to > build. Wouldn't this break META_MODE? I'd rather be able to continue building the world within a few minutes (generally much less than 10 minutes, as long as there is no major LLVM upgrade) than have a faster LLVM build and then a slower build of the wor= ld ... Regards, STefan --------------Tw95KMSahg9CK1dM4r00hn2R-- --------------f6NOA8XUrhd0cCeYQNQu0wi7 Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAmE3mz8FAwAAAAAACgkQR+u171r99URs /ggAsN89gDn4FwsdXJJiW+zfQHcbCLH3uus3lg7S0034dNKTIjX5qBbOTOSpSo6MJQQOTFXfGmJT YgcyOtkzNnlMSXBNmFIL7UrzULR/Ztp0kwo2W800EG4CxLYwfaynkwNmumj0p5PBDrI6vq3ftI/C Q2bhOrTLr/PLLVUN04cJjbizU6G5+LVe0AshBhYpYlkd4W+fKf6JP2F585fcFN8ZFxvIZVOiBQ1i Ik8HmdVd4V2is/R87I7IqR5uT+PyZFN/FyzCmt0RJtUrmKfnoOMnYmBBubduXxaPY9a0G7gO/EU/ OE7ogSqQdaDLdZ0RVeN7mWcMzqkt5utDdbzB7gGSIw== =SmNW -----END PGP SIGNATURE----- --------------f6NOA8XUrhd0cCeYQNQu0wi7--