public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCHES] multilib-build.eclass: getting 'long' ABI value & deprecating multilib_for_best_abi()
@ 2014-05-05  8:29 Michał Górny
  2014-05-05  8:30 ` [gentoo-dev] [PATCH 1/3] Introduce multilib_get_enabled_abi_pairs() Michał Górny
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Michał Górny @ 2014-05-05  8:29 UTC (permalink / raw
  To: gentoo-dev; +Cc: multilib

[-- Attachment #1: Type: text/plain, Size: 907 bytes --]

Hi,

Three quick patches for review:

1. adds multilib_get_enabled_abi_pairs() as a replacement for
multilib_get_enabled_abis(). The latter returned just the value
of ${ABI}, the new function returns ${use_flag}:${ABI} pairs.

e.g.:

  multilib_get_enabled_abis: x86 amd64
  multilib_get_enabled_abi_pairs: abi_x86_32:x86 abi_x86_64:amd64

2. adds ${MULTILIB_ABI} variable to foreach loops that contains the flag
matching currently iterated ABI.

e.g.:

  ${ABI} == amd64
  ${MULTILIB_ABI} == abi_x86_64

3. deprecates multilib_for_best_abi() since having two separate
concepts of 'best ABI' and 'default ABI' is confusing, and mostly
doesn't serve any real purpose.

For improved consistency, we would like people to use multilib-minimal
and multilib_is_native_abi() tests if necessary.


I will submit the patches in replies to this mail.

-- 
Best regards,
Michał Górny

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 966 bytes --]

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

end of thread, other threads:[~2014-05-23  8:49 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-05  8:29 [gentoo-dev] [PATCHES] multilib-build.eclass: getting 'long' ABI value & deprecating multilib_for_best_abi() Michał Górny
2014-05-05  8:30 ` [gentoo-dev] [PATCH 1/3] Introduce multilib_get_enabled_abi_pairs() Michał Górny
2014-05-05  8:30 ` [gentoo-dev] [PATCH 2/3] Export MULTILIB_ABI to obtain the USE flag for ABI Michał Górny
2014-05-05  8:30 ` [gentoo-dev] [PATCH 3/3] Deprecate multilib_for_best_abi() Michał Górny
2014-05-05 17:26   ` hasufell
2014-05-05 17:44     ` Michał Górny
2014-05-05  9:02 ` [gentoo-dev] [PATCHES] multilib-build.eclass: getting 'long' ABI value & deprecating multilib_for_best_abi() Ulrich Mueller
2014-05-05 17:24   ` Michał Górny
2014-05-05 13:23 ` Ian Stakenvicius
2014-05-05 17:42   ` Michał Górny
2014-05-05 18:30     ` Ian Stakenvicius
2014-05-23  7:55 ` Michał Górny
2014-05-23  8:49   ` Bertrand Jacquin

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