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:26:13
Message-Id: ed393277-1b8e-6135-bae8-091792d9a43e@verizon.net
1 On 02/01/2017 10:40 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 'TUP' is the fastest build system of the all? I believe many build
30 systems leverage or imitate what TUP does. I've read that for hand
31 crafting a specific build system, TUP is the most fundamental of the
32 building blocks. Here are a few links, there are many for your perusal::
33
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
42 I have not vetted that theory out, as I usually lean on others
43 with greater depth of understanding in such matters. Still, from what I
44 read, TUP warrants monitoring as new code contributions keep moving this
45 blazingly fast build system tool forward.
46
47
48 hth,
49 James

Replies

Subject Author
Re: [gentoo-dev] rfc: moving OpenRC to a meson-based build William Hubbs <williamh@g.o>