Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Oct 2017 18:40:12 -0500
From:      Dan Mack <mack@macktronics.com>
To:        Andy Farkas <andyf@andyit.com.au>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: my build time impact of clang 5.0
Message-ID:  <m24lrfdcmb.fsf@macktronics.com>
In-Reply-To: <59D2AD1A.8070608@andyit.com.au> (Andy Farkas's message of "Tue,  03 Oct 2017 07:18:18 %2B1000")
References:  <m2lgktv1pg.fsf@macktronics.com> <e24044ec-e2b2-8c54-3de1-1766768f45c6@sentex.net> <m2a819uwup.fsf@macktronics.com> <59D2AD1A.8070608@andyit.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Andy Farkas <andyf@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m24lrfdcmb.fsf>