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

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] LLVM News item Joakim Tjernlund <Joakim.Tjernlund@××××××××.com>