Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Sep 2021 13:31:57 +0100
From:      David Chisnall <theraven@FreeBSD.org>
To:        gljennjohn@gmail.com
Cc:        Stefan Esser <se@freebsd.org>, freebsd-current@freebsd.org
Subject:   Re: -CURRENT compilation time
Message-ID:  <746cf2d1-0192-a55d-c3f8-ac7fc7120b47@FreeBSD.org>
In-Reply-To: <20210908105236.1abb8f9a@ernst.home>
References:  <CAGSa5y0FMwt8g4%2BmqFegvrgBzxJCwupB_RJqb52ZUQy9EFB__Q@mail.gmail.com> <b0dadbd1-3f99-ef8e-0a35-f35d3dab828c@FreeBSD.org> <CAMWY7CCUXJmUT8g1irOUNAxgihhoqpcTcV1nF7MR1NHCVY-%2BEQ@mail.gmail.com> <a16ae438-cef8-d21f-cf5c-891a2a328a26@FreeBSD.org> <e9476190-e098-ae0c-8c40-5445516fa06d@freebsd.org> <2cfb912a-618b-9f06-9cef-d2fe1d78fe97@FreeBSD.org> <20210908105236.1abb8f9a@ernst.home>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08/09/2021 11:52, Gary Jennejohn wrote:
> Seems to me that there was an earlier mail about getting CMAKE to work
> with FreeBSD builds.  Could be worthwhile to look into getting ninja
> to work also.  But I could understand that there might be push-back,
> since the project prefers to use utilities from the source tree.

CMake is a build-system generator, Ninja is a build system.  Usually the 
two are used together: CMake generates Ninja files, Ninja runs the 
build.  Ninja is explicitly designed not to be written by hand.

CMake can also emit other things, including POSIX Makefiles, but the 
Ninja build is usually the fastest.

CMake and Ninja are both in package systems for Windows, macOS, *BSD, 
and all Linux distros that I've seen, unlike bmake, so  universally easy 
to depend on for cross-builds.  Cross compiling with bmake is much 
harder harder from anything that isn't FreeBSD.

David




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?746cf2d1-0192-a55d-c3f8-ac7fc7120b47>