Gentoo Archives: gentoo-dev

From: Georg Rudoy <0xd34df00d@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: cmake + ninja vs autotools
Date: Sun, 19 Nov 2017 19:09:49
Message-Id: 5a11d6f4.dcc0370a.b37f6.538e@mx.google.com
In Reply to: [gentoo-dev] Re: cmake + ninja vs autotools by Martin Vaeth
1 On 19.11.17 at 16:49 user Martin Vaeth <martin@×××××.de> wrote:
2 >> Ninja is most of the speed of meson less configure time savings
3 >
4 > ++
5 > For eix, the main motivation to support meson as an
6 > alternative build system was to be able to use ninja...
7
8 As somebody having a big C++/Qt/cmake project: there are basically two corner cases for the build scenario:
9
10 1. Doing a full clean build — that's what's relevant for Gentoo, and in this case the speed of make or ninja is hugely offset by the compilation speed, and their overhead is negligible.
11 2. Doing an incremental build after changing a couple of files — that's what relevant during normal development, and arguably not that relevant for Gentoo. And, ninja doesn't have that much of a speed advantage lately in this case. In fact, make turns out to be faster in the latter if the project is using automoc in cmake.
12
13 Just my two cents.
14
15
16 --
17 Georg Rudoy

Replies

Subject Author
[gentoo-dev] Re: cmake + ninja vs autotools Martin Vaeth <martin@×××××.de>