On 25/10/16 04:02 PM, Joakim Tjernlund wrote:
> On Tue, 2016-10-25 at 15:41 -0400, Ian Stakenvicius wrote:
>> On 25/10/16 03:32 PM, Ian Stakenvicius wrote:
>>>
>>> On 25/10/16 03:08 PM, Joakim Tjernlund wrote:
>>>>
>>>> On Tue, 2016-10-25 at 20:11 +0200, Michał Górny wrote:
>>>>>
>>>>> On Tue, 25 Oct 2016 17:32:22 +0000
>>>>> Joakim Tjernlund <joakim.tjernl...@infinera.com> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> Noticed todays 2016-10-25-llvm_3_9_with_llvm_targets news item and read:
>>>>>> ..
>>>>>> In order to enable all targets, add the following to your
>>>>>> /etc/portage/package.use or equivalent file:
>>>>>>
>>>>>>   sys-devel/llvm LLVM_TARGETS: *
>>>>>>   sys-devel/clang LLVM_TARGETS: *
>>>>>> ...
>>>>>>
>>>>>> I would like to control such variables(LLVM_TARGETS) through the profile 
>>>>>> as
>>>>>> well but it seems not supported?
>>>>>
>>>>> Why not? We're already setting the defaults in profiles, and you can do
>>>>> whatever you want in your own profile. The news item is focused on
>>>>> regular users, so it covers the usual configuration files rather than
>>>>> creating custom profiles.
>>>>>
>>>>
>>>> How? in my profile(which inherits gentoo:default/linux/amd64/13.0/desktop) 
>>>> I just tested to add:
>>>> # > svn diff
>>>> Index: package.use
>>>> ===================================================================
>>>> --- package.use    (revision 1087)
>>>> +++ package.use    (working copy)
>>>> @@ -1,3 +1,6 @@
>>>> +sys-devel/llvm LLVM_TARGETS: *
>>>> +sys-devel/clang LLVM_TARGETS: *
>>>>
>>>> Then I get:
>>>> # > emerge -aNDuv world
>>>> --- Invalid USE flag for 'sys-devel/llvm' in 
>>>> '/var/lib/layman/transmode/profiles/gentoo64/package.use':
>>>> 'LLVM_TARGETS:'
>>>> --- Invalid USE flag for 'sys-devel/llvm' in 
>>>> '/var/lib/layman/transmode/profiles/gentoo64/package.use':
>>>> '*'
>>>> --- Invalid USE flag for 'sys-devel/clang' in 
>>>> '/var/lib/layman/transmode/profiles/gentoo64/package.use':
>>>> 'LLVM_TARGETS:'
>>>> --- Invalid USE flag for 'sys-devel/clang' in 
>>>> '/var/lib/layman/transmode/profiles/gentoo64/package.use':
>>>> '*'
>>>>
>>>
>>> Syntax error:
>>>
>>> sys-devel/llvm llvm_targets_firstone llvm_targets_secondone ..
>>> sys-devel/clang llvm_targets_firstone llvm_targets_secondone ..
> 
> This is standard USE flags, not the VAR: x y z syntax
> 
>>>
>>>
>>> You can't specify wildcards to enable groups of use flags.
>>>
>>>
>>
>> Correction, the earlier syntax *is* supposed to work (and tested that
>> it works here, with VIDEO_CARDS)..  If I had to guess this probably
>> relates to an issue with the transmode overlay.
>>
> 
> Hmm, are you saying that you can write:
>   x11-base/xorg-drivers VIDEO_CARDS: intel radeon
> in your profile?
> 
> Any idea what my issue might be?
> 
>  Jocke
> 

In my profile as in /etc/portage/package.use/  , yes. Specifically I
tested VIDEO_CARDS: *

I *didn't* try to mess with my in-repo profile though.  Given that
repositories may well need to follow PMS, and the USE_EXPAND: * syntax
is a portage'ism, this is why they are being rejected in the
transmode-overlay case.  I certainly can't find an example of this
syntax in the gentoo repo.


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to