Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: aballier@g.o, tommy@g.o
Subject: Re: [gentoo-dev] [PATCH] autotools-multilib: wrapper eclass for multilib builds.
Date: Mon, 14 Jan 2013 18:45:46
Message-Id: 20130114194544.70bb41fc@pomiocik.lan
In Reply to: Re: [gentoo-dev] [PATCH] autotools-multilib: wrapper eclass for multilib builds. by Alexis Ballier
1 On Mon, 14 Jan 2013 15:04:45 -0300
2 Alexis Ballier <aballier@g.o> wrote:
3
4 > On Thu, 03 Jan 2013 11:44:58 +0100
5 > Thomas Sachau <tommy@g.o> wrote:
6 >
7 > > Please keep in mind, that the USE flags are different, depending on
8 > > your arch. E.g. on amd64, you may additionally have x86 and x32,
9 > > while on ppc64, you may have ppc64 and ppc. You dont want the later
10 > > on amd64 nor the first on ppc. So how do you want to add different
11 > > (use-expanded) USE flags based on the arch the user is running?
12 >
13 > no, the useflags are not different:
14 >
15 > coma=""
16 > for i in $MULTILIB_ABIS ; do
17 > multilib_use_deps+="${coma}multilib_abi_${i}?"
18 > coma=", "
19 > done
20 >
21 > deps like foo[multilib?] becomes foo[${multilib_use_deps}]
22 > and voila, you are not anymore limited to multilib or not multilib but
23 > really control the abis.
24
25 Hmm, it may be a good idea to introduce such a variable already.
26
27 --
28 Best regards,
29 Michał Górny

Attachments

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