Date: Mon, 29 Jul 2019 19:17:10 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: Ed Maste <emaste@freebsd.org> Cc: Jeremy Chadwick <jdc@koitsu.org>, freebsd-stable stable <freebsd-stable@freebsd.org> Subject: Re: Buildworld times (was Re: svn commit: r350256 - in stable/12: . contrib/compiler-rt/lib/sanitizer_common contrib/libunwind/src contrib/llvm/lib/DebugInfo/DWARF contrib/llvm/lib/MC contrib/llvm/lib/Object contrib/llvm/lib/Ta...) Message-ID: <E57B1738-8CCD-49DF-B2BD-3EA511B2FF60@FreeBSD.org> In-Reply-To: <CAPyFy2AaRNVZXNNtABxTyEgmA5h3-Cjc=FuPw%2B-ROgAnNcuMcQ@mail.gmail.com> References: <20190727023830.GA53438@koitsu.org> <CAPyFy2AaRNVZXNNtABxTyEgmA5h3-Cjc=FuPw%2B-ROgAnNcuMcQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_F9992795-0781-4337-9DDC-DD1D8E679B06 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 29 Jul 2019, at 03:07, Ed Maste <emaste@freebsd.org> wrote: >=20 > On Fri, 26 Jul 2019 at 22:44, Jeremy Chadwick via freebsd-stable > <freebsd-stable@freebsd.org> wrote: >>=20 >> TL;DR for lazy folks: >>=20 >> stable/11 r350330 world + minimal clang =3D 1:29:34 >> stable/11 r350330 world + full clang =3D 1:46:31 >> stable/11 r350252 world + minimal clang =3D 56:52 >> stable/11 r350252 world + full clang =3D 1:14:30 >=20 > Yes, because you're currently running r349226, and the world build > thus first builds its own toolchain. Try the same experiment running > on a r349226 or later installed world. Indeed, that is the most likely explanation. Unfortunately stable/11's Makefile.inc1 does not explicitly show that it is going to bootstrap the toolchain, like in head and stable/12, which show this right at the start of buildworld: --- buildworld --- make[1]: "/usr/src/Makefile.inc1" line 349: SYSTEM_COMPILER: libclang = will be built for bootstrapping a cross-compiler. make[1]: "/usr/src/Makefile.inc1" line 354: SYSTEM_LINKER: libclang will = be built for bootstrapping a cross-linker. --- buildworld_prologue --- Instead, you can only check for the *absence* of the following message: "Determined that CC=3Dxxx matches the source tree. Not bootstrapping a = cross-compiler." -Dimitry --Apple-Mail=_F9992795-0781-4337-9DDC-DD1D8E679B06 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCXT8qFgAKCRCwXqMKLiCW o6pzAKCTLMpy+Jn2VjJBSLUNXVD45DMOLgCfVsIN2NRuP+pBRtcDnr4e1s+9LCY= =OLoE -----END PGP SIGNATURE----- --Apple-Mail=_F9992795-0781-4337-9DDC-DD1D8E679B06--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E57B1738-8CCD-49DF-B2BD-3EA511B2FF60>