Gentoo Archives: gentoo-dev

From: james <garftd@×××××××.net>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: moving OpenRC to a meson-based build
Date: Wed, 01 Feb 2017 17:29:33
Message-Id: 56d1fe06-cc5c-93ef-53e2-ea921075b5d0@verizon.net
In Reply to: Re: [gentoo-dev] rfc: moving OpenRC to a meson-based build by William Hubbs
1 On 02/01/2017 10:39 AM, William Hubbs wrote:
2 > On Wed, Feb 01, 2017 at 01:37:04AM +0000, Robin H. Johnson wrote:
3 >> On Mon, Jan 30, 2017 at 02:04:06PM -0600, William Hubbs wrote:
4 >>> As I said on the bug, the downside is the addition of py3 and ninja as
5 >>> build time dependencies, but I think the upside (a build system where
6 >>> we don't have to worry about parallel make issues or portability)
7 >>> outweighs that.
8 >> Could you please link or otherwise explain the portability issue?
9 >
10 > I'm not talking about a specific instance, just the flexability you get
11 > with a build system. You let it handle the details of building
12 > executables, linking libraries, etc.
13 >
14 > I have heard from more than one person that the OpenRC makefiles are
15 > not written well, and I agree, so I've been looking for a build system
16 > for a while.
17 >
18 > I thought about autotools. I'm not really fond of its syntax, and I've
19 > been told that, to use autotools correctly, I would need to start
20 > generating manual release tarballs again because I would need to put the
21 > autotools generated cruft in them.
22 >
23 > I'm open to suggestions. I picked meson to experiment with because it
24 > has a very nice clean syntax.
25 >
26 > William
27 >
28
29
30 'TUP' is the fastest build system of the all? I believe many build
31 systems leverage or imitate what TUP does. I've read that for hand
32 crafting a specific build system, TUP is the most fundamental of the
33 building blocks. Here are a few links, there are many for your perusal::
34
35 http://gittup.org/tup/make_vs_tup.html
36
37 https://news.ycombinator.com/item?id=12622097
38
39
40 I think TUP would really shine in a build system for embedded and
41 otherwise constrained build environments (limited resources) but I have
42 not vetted that theory out, as I usually lean on others with greater
43 depth of understanding in such matters. Still, from what I read, TUP
44 warrants monitoring as new code contributions keep moving this blazingly
45 fast build system tool forward. If others have first hand experience
46 with TUP, I'd very much like to read about their comments and
47 experiences with TUP.
48
49
50 hth,
51 James