public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCHES] x86 multilib flags, ver. 2
@ 2013-01-26 22:08 Michał Górny
  2013-01-26 22:08 ` [gentoo-dev] [PATCH 1/5] Introduce a common function to obtain enabled ABIs Michał Górny
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Michał Górny @ 2013-01-26 22:08 UTC (permalink / raw
  To: gentoo-dev; +Cc: amd64, releng, x11

Hello,

Following all the suggestions from Alexis Ballier, I have reworked
the code to remove multiple points of failure. I have also rebased it
on the common multilib-build eclass concept, and updated amd64
no-multilib & x86 profiles as well.

Key points:

1. The list of available flags and corresponding ABIs is now stored
   in a single variable. Adding a new ABI is as simple as adding
   a value to that variable (+ profiles).

2. All ABIs are validated against $(get_all_abis) list. This guarantees
   that we check only the flags proper for the arch.

3. The USE_EXPAND is visible only on amd64 multilib profile. However,
   it is also available on non-multilib amd64 & x86, with all flags
   masked except for the default one which is force-enabled.

The last point means that x86 binary packages (skype) can have
dependencies as simple as:

   dev-libs/libfoo[abi_x86_32]

which would be valid both for amd64 multilib & x86.



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2013-01-29 17:22 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-26 22:08 [gentoo-dev] [PATCHES] x86 multilib flags, ver. 2 Michał Górny
2013-01-26 22:08 ` [gentoo-dev] [PATCH 1/5] Introduce a common function to obtain enabled ABIs Michał Górny
2013-01-26 22:08 ` [gentoo-dev] [PATCH 2/5] Use explicit abi_* flags to select multilib targets Michał Górny
2013-01-27 12:34   ` Alexis Ballier
2013-01-27 13:36     ` Michał Górny
2013-01-27 22:46     ` Michał Górny
2013-01-27 22:46       ` [gentoo-dev] [PATCH 1/2] Order ABIs following MULTILIB_ABIS Michał Górny
2013-01-27 22:46       ` [gentoo-dev] [PATCH 2/2] Add an assertion for valid ABI order Michał Górny
2013-01-27 23:27       ` [gentoo-dev] [PATCH 2/5] Use explicit abi_* flags to select multilib targets Alexis Ballier
2013-01-28  9:25         ` Michał Górny
2013-01-26 22:08 ` [gentoo-dev] [PATCH 3/5] Make ABI_X86 an USE_EXPAND, and mask them in global scope Michał Górny
2013-01-26 22:08 ` [gentoo-dev] [PATCH 4/5] Set multilib for (Linux) amd64 profile Michał Górny
2013-01-26 22:08 ` [gentoo-dev] [PATCH 5/5] Unmask and force the abi_x86_32 for uniform binary dependencies Michał Górny
2013-01-27 13:40 ` [gentoo-dev] [PATCHES] x86 multilib flags, ver. 2 Thomas Sachau
2013-01-29 17:22   ` Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox