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 .. You can't specify wildcards to enable groups of use flags.
signature.asc
Description: OpenPGP digital signature