Gentoo Archives: gentoo-dev

From: Ian Stakenvicius <axs@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] LLVM News item
Date: Tue, 25 Oct 2016 19:32:43
Message-Id: e80588d9-e261-5db1-66ac-55befc90b55b@gentoo.org
In Reply to: Re: [gentoo-dev] LLVM News item by Joakim Tjernlund
1 On 25/10/16 03:08 PM, Joakim Tjernlund wrote:
2 > On Tue, 2016-10-25 at 20:11 +0200, Michał Górny wrote:
3 >> On Tue, 25 Oct 2016 17:32:22 +0000
4 >> Joakim Tjernlund <Joakim.Tjernlund@××××××××.com> wrote:
5 >>
6 >>>
7 >>> Noticed todays 2016-10-25-llvm_3_9_with_llvm_targets news item and read:
8 >>> ..
9 >>> In order to enable all targets, add the following to your
10 >>> /etc/portage/package.use or equivalent file:
11 >>>
12 >>> sys-devel/llvm LLVM_TARGETS: *
13 >>> sys-devel/clang LLVM_TARGETS: *
14 >>> ...
15 >>>
16 >>> I would like to control such variables(LLVM_TARGETS) through the profile as
17 >>> well but it seems not supported?
18 >>
19 >> Why not? We're already setting the defaults in profiles, and you can do
20 >> whatever you want in your own profile. The news item is focused on
21 >> regular users, so it covers the usual configuration files rather than
22 >> creating custom profiles.
23 >>
24 >
25 > How? in my profile(which inherits gentoo:default/linux/amd64/13.0/desktop) I just tested to add:
26 > # > svn diff
27 > Index: package.use
28 > ===================================================================
29 > --- package.use (revision 1087)
30 > +++ package.use (working copy)
31 > @@ -1,3 +1,6 @@
32 > +sys-devel/llvm LLVM_TARGETS: *
33 > +sys-devel/clang LLVM_TARGETS: *
34 >
35 > Then I get:
36 > # > emerge -aNDuv world
37 > --- Invalid USE flag for 'sys-devel/llvm' in '/var/lib/layman/transmode/profiles/gentoo64/package.use':
38 > 'LLVM_TARGETS:'
39 > --- Invalid USE flag for 'sys-devel/llvm' in '/var/lib/layman/transmode/profiles/gentoo64/package.use': '*'
40 > --- Invalid USE flag for 'sys-devel/clang' in '/var/lib/layman/transmode/profiles/gentoo64/package.use':
41 > 'LLVM_TARGETS:'
42 > --- Invalid USE flag for 'sys-devel/clang' in '/var/lib/layman/transmode/profiles/gentoo64/package.use': '*'
43 >
44
45 Syntax error:
46
47 sys-devel/llvm llvm_targets_firstone llvm_targets_secondone ..
48 sys-devel/clang llvm_targets_firstone llvm_targets_secondone ..
49
50
51 You can't specify wildcards to enable groups of use flags.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] LLVM News item Ian Stakenvicius <axs@g.o>