1 |
On Tue, 2016-10-25 at 20:11 +0200, Michał Górny wrote:
|
2 |
> On Tue, 25 Oct 2016 17:32:22 +0000 |
3 |
> Joakim Tjernlund <Joakim.Tjernlund@××××××××.com> wrote: |
4 |
> |
5 |
> > |
6 |
> > Noticed todays 2016-10-25-llvm_3_9_with_llvm_targets news item and read: |
7 |
> > .. |
8 |
> > In order to enable all targets, add the following to your |
9 |
> > /etc/portage/package.use or equivalent file: |
10 |
> > |
11 |
> > sys-devel/llvm LLVM_TARGETS: * |
12 |
> > sys-devel/clang LLVM_TARGETS: * |
13 |
> > ... |
14 |
> > |
15 |
> > I would like to control such variables(LLVM_TARGETS) through the profile as |
16 |
> > well but it seems not supported? |
17 |
> |
18 |
> Why not? We're already setting the defaults in profiles, and you can do |
19 |
> whatever you want in your own profile. The news item is focused on |
20 |
> regular users, so it covers the usual configuration files rather than |
21 |
> creating custom profiles. |
22 |
> |
23 |
|
24 |
How? in my profile(which inherits gentoo:default/linux/amd64/13.0/desktop) I just tested to add:
|
25 |
# > svn diff
|
26 |
Index: package.use
|
27 |
===================================================================
|
28 |
--- package.use (revision 1087)
|
29 |
+++ package.use (working copy)
|
30 |
@@ -1,3 +1,6 @@
|
31 |
+sys-devel/llvm LLVM_TARGETS: *
|
32 |
+sys-devel/clang LLVM_TARGETS: *
|
33 |
|
34 |
Then I get:
|
35 |
# > emerge -aNDuv world
|
36 |
--- Invalid USE flag for 'sys-devel/llvm' in '/var/lib/layman/transmode/profiles/gentoo64/package.use':
|
37 |
'LLVM_TARGETS:'
|
38 |
--- Invalid USE flag for 'sys-devel/llvm' in '/var/lib/layman/transmode/profiles/gentoo64/package.use': '*'
|
39 |
--- Invalid USE flag for 'sys-devel/clang' in '/var/lib/layman/transmode/profiles/gentoo64/package.use':
|
40 |
'LLVM_TARGETS:'
|
41 |
--- Invalid USE flag for 'sys-devel/clang' in '/var/lib/layman/transmode/profiles/gentoo64/package.use': '*' |