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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On 29 Jul 2019, at 03:07, Ed Maste <emaste@freebsd.org> wrote: > > On Fri, 26 Jul 2019 at 22:44, Jeremy Chadwick via freebsd-stable > <freebsd-stable@freebsd.org> wrote: >> >> TL;DR for lazy folks: >> >> stable/11 r350330 world + minimal clang = 1:29:34 >> stable/11 r350330 world + full clang = 1:46:31 >> stable/11 r350252 world + minimal clang = 56:52 >> stable/11 r350252 world + full clang = 1:14:30 > > 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=xxx matches the source tree. Not bootstrapping a cross-compiler." -Dimitry [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCXT8qFgAKCRCwXqMKLiCW o6pzAKCTLMpy+Jn2VjJBSLUNXVD45DMOLgCfVsIN2NRuP+pBRtcDnr4e1s+9LCY= =OLoE -----END PGP SIGNATURE-----home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E57B1738-8CCD-49DF-B2BD-3EA511B2FF60>
