Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Sep 2021 14:51:21 +0100
From:      David Chisnall <theraven@FreeBSD.org>
To:        Wolfram Schneider <wosch@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: -CURRENT compilation time
Message-ID:  <a16ae438-cef8-d21f-cf5c-891a2a328a26@FreeBSD.org>
In-Reply-To: <CAMWY7CCUXJmUT8g1irOUNAxgihhoqpcTcV1nF7MR1NHCVY-%2BEQ@mail.gmail.com>
References:  <CAGSa5y0FMwt8g4%2BmqFegvrgBzxJCwupB_RJqb52ZUQy9EFB__Q@mail.gmail.com> <b0dadbd1-3f99-ef8e-0a35-f35d3dab828c@FreeBSD.org> <CAMWY7CCUXJmUT8g1irOUNAxgihhoqpcTcV1nF7MR1NHCVY-%2BEQ@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

On 06/09/2021 20:34, Wolfram Schneider wrote:
> With the option WITHOUT_TOOLCHAIN=yes the world build time is 2.5
> times faster (real or user+sys), down from 48 min to 19.5 min real
> time.

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.

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 ninja, to build.

David



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a16ae438-cef8-d21f-cf5c-891a2a328a26>