Gentoo Archives: gentoo-dev

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] [PATCH] dev-util/shadowman: Unified tool to update ccache/distcc/icecc shadow dir
Date: Sat, 19 Aug 2017 10:19:30
Message-Id: 0590c254-ff90-f460-5625-8290b9e06713@gentoo.org
In Reply to: [gentoo-dev] [RFC] [PATCH] dev-util/shadowman: Unified tool to update ccache/distcc/icecc shadow dir by "Michał Górny"
1 On 17.08.2017 10:36, Michał Górny wrote:
2 > Hi, everyone.
3 >
4 > I've written a new tool called shadowman [1] that aims to partially
5 > replace the current *-config tools shipped with ccache, distcc, icecc
6 > and potentially more.
7 >
8 > Why? Because the existing tools are inconsistent, inconvenient
9 > and usually incomplete. The README [2] states a number of advantages:
10 >
11 > | 1. one usage syntax that works for all tools,
12 > |
13 > | 2. ability to update/clean masquerades for multiple tools in one call,
14 > |
15 > | 3. consistent (and *good*) implementation -- now all tools get the same
16 > | executable list,
17 > |
18 > | 4. reduced code duplication,
19 > |
20 > | 5. modular layout that allows adding extra tools/compiler wildcards
21 > | by third-party packages.
22 >
23 > This thread includes patches that:
24 >
25 > a. add the package for shadowman (skipping some bundled modules for
26 > external inclusion) -- for testing it's just a live ebuild with full
27 > keyword set; I will obviously change that before the final inclusion;
28 >
29 > b. adds shadowman support to ccache, distcc & icecream packages
30 > (preserving the old utilities for compatibility),
31 >
32 > c. adds shadowman update call to toolchain.eclass & clang ebuilds
33 > so that the masquerades get updated automatically on gcc/clang upgrade.
34 >
35 > Please review. Alternatively available as PR on GitHub [3].
36 >
37 > [1]:https://github.com/mgorny/shadowman
38 > [2]:https://github.com/mgorny/shadowman/blob/master/README
39 > [3]:https://github.com/gentoo/gentoo/pull/5386
40 >
41 >
42 Have you considered moving it under the gentoo umbrella (e.g., mirror it
43 on git.gentoo.org or move it to the gentoo organisation)?
44
45 Thanks,
46 Manuel

Replies