Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: aballier@g.o
Subject: Re: [gentoo-dev] Getting proper USE_EXPAND variable(s) for multilib
Date: Wed, 23 Jan 2013 08:24:08
Message-Id: 20130123092426.56745d6b@pomiocik.lan
In Reply to: Re: [gentoo-dev] Getting proper USE_EXPAND variable(s) for multilib by Alexis Ballier
1 On Mon, 21 Jan 2013 10:27:30 -0300
2 Alexis Ballier <aballier@g.o> wrote:
3
4 > > To be honest, I don't know if there's other way to hide USE flags than
5 > > using USE_EXPAND_HIDDEN. If we want to use that, we'd have to split
6 > > the flags per-arch, i.e. have:
7 > >
8 > > MULTILIB_AMD64="abi1 abi2 abi3"
9 > > MULTILIB_PPC64="abi1 abi2 abi3"
10 > >
11 > > with appropriate USE_EXPAND_HIDDEN set by profiles.
12 >
13 > I don't like that at all.
14 > I'd go for ABI= the union of all the MULTILIB_ABIS variables (if there
15 > is no name collision)
16 > we certainly want skype to depend on libitneeds[abi_x86], not 'amd64?
17 > ( libitneeds[abi_amd64_x86] ) x86? ( libitneeds )'
18
19 Just a quick idea.
20
21 How would you feel about abi_x86_32? (similarly _64, _x32)
22
23 That would be almost natural names with the trick variable being
24 ABI_X86, therefore having all the fore-mentioned advantages.
25
26 The deps would look like:
27
28 libitneeds[abi_x86_32]
29
30 --
31 Best regards,
32 Michał Górny

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] Getting proper USE_EXPAND variable(s) for multilib Alexis Ballier <aballier@g.o>