Gentoo Archives: gentoo-dev

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