my build time impact of clang 5.0
Dan Mack
mack at macktronics.com
Tue Oct 3 23:40:21 UTC 2017
Andy Farkas <andyf at andyit.com.au> writes:
> Perhaps you could hack src/tools/tools/whereintheworld/whereintheworld.pl
>
> -andyf
So, I creatd a slightly different build script in perl; kinda works but
needs to be optimized:
https://github.com/danmack/freebsd-buildtools
Basic output looks like with timing on each "section":
Building FreeBSD (svn: 324242)
Build Time : 20171003.174621
SRC URL : https://svn.freebsd.org/base/stable/11
KERNEL CONF: GENERIC
BUILD UUID : 20171003.174621|https://svn.freebsd.org/base/stable/11|GENERIC|/usr/src
SRC DIR : /usr/src
LOG DIR : /var/log/bsdbuild/324242
... building phase buildworld ...
>>> World build started ... 00:00:02 : 00:00:04
>>> Rebuilding the temporary build tree ... 00:00:00 : 00:00:06
>>> stage 1.1: legacy release compatibility s ... 00:00:00 : 00:00:08
>>> stage 1.2: bootstrap tools ... 00:00:00 : 00:00:10
>>> stage 2.1: cleaning up the object tree ... 00:03:43 : 00:03:55
>>> stage 2.2: rebuilding the object tree ... 00:01:01 : 00:04:58
>>> stage 2.3: build tools ... 00:00:21 : 00:05:21
>>> stage 3: cross tools ... 00:00:04 : 00:05:28
>>> stage 3.1: recording compiler metadata ... 00:00:44 : 00:06:14
>>> stage 4.1: building includes ... 00:00:00 : 00:06:16
>>> stage 4.2: building libraries ... 00:00:19 : 00:06:37
Dan
More information about the freebsd-stable
mailing list