1 |
On Sun, 25 Sep 2016 23:08:52 +0200 |
2 |
Michał Górny <mgorny@g.o> wrote: |
3 |
|
4 |
> Hi, |
5 |
> |
6 |
> I'd like to introduce a new USE_EXPAND for LLVM & clang. It'd be named |
7 |
> LLVM_TARGETS, and it's going to replace the current solution based on |
8 |
> USE=multitarget & VIDEO_CARDS=radeon. |
9 |
> |
10 |
> In the old system, the following rules applied: |
11 |
> |
12 |
> - host (implicitly figured out by LLVM) and BPF targets were always |
13 |
> built, |
14 |
> |
15 |
> - VIDEO_CARDS=radeon enabled additional R600 target, |
16 |
> |
17 |
> - USE=multitarget enabled all targets. |
18 |
> |
19 |
> In the new system, LLVM_TARGETS explicitly controls *all* targets |
20 |
> built. To avoid dependency hell, the host target is package.use.forced |
21 |
> in specific arch profiles. Additionally, the BPF target is on by |
22 |
> default. |
23 |
> |
24 |
> The new system will be applied to 3.9.0 and 9999 ebuilds. VIDEO_CARDS |
25 |
> flag will be removed completely because of no revdeps. USE=multitarget |
26 |
> will be kept for compatibility until all revdeps are clean. |
27 |
> |
28 |
> As far as revdeps are concerned: |
29 |
> |
30 |
> - Packages that require only host target will not have to be changed at |
31 |
> all (since host is still forced-on). |
32 |
> |
33 |
> - Packages that used to require multitarget will eventually have to be |
34 |
> changed to request the specific targets they need. They could switch |
35 |
> to this when they stop supporting LLVM < 3.9. |
36 |
> |
37 |
> The draft implementation is available in the following PR: |
38 |
> https://github.com/gentoo/gentoo/pull/2405 |
39 |
> |
40 |
> Any comments? |
41 |
|
42 |
Committed now. |
43 |
|
44 |
-- |
45 |
Best regards, |
46 |
Michał Górny |
47 |
<http://dev.gentoo.org/~mgorny/> |