From: | "Michał Górny" <mgorny@g.o> |
---|---|
To: | gentoo-dev@l.g.o |
Cc: | multilib@g.o |
Subject: | [gentoo-dev] [PATCHES] multilib-build.eclass: getting 'long' ABI value & deprecating multilib_for_best_abi() |
Date: | Mon, 05 May 2014 08:29:31 |
Message-Id: | 20140505102912.60eb44df@pomiot.lan |
1 | Hi, |
2 | |
3 | Three quick patches for review: |
4 | |
5 | 1. adds multilib_get_enabled_abi_pairs() as a replacement for |
6 | multilib_get_enabled_abis(). The latter returned just the value |
7 | of ${ABI}, the new function returns ${use_flag}:${ABI} pairs. |
8 | |
9 | e.g.: |
10 | |
11 | multilib_get_enabled_abis: x86 amd64 |
12 | multilib_get_enabled_abi_pairs: abi_x86_32:x86 abi_x86_64:amd64 |
13 | |
14 | 2. adds ${MULTILIB_ABI} variable to foreach loops that contains the flag |
15 | matching currently iterated ABI. |
16 | |
17 | e.g.: |
18 | |
19 | ${ABI} == amd64 |
20 | ${MULTILIB_ABI} == abi_x86_64 |
21 | |
22 | 3. deprecates multilib_for_best_abi() since having two separate |
23 | concepts of 'best ABI' and 'default ABI' is confusing, and mostly |
24 | doesn't serve any real purpose. |
25 | |
26 | For improved consistency, we would like people to use multilib-minimal |
27 | and multilib_is_native_abi() tests if necessary. |
28 | |
29 | |
30 | I will submit the patches in replies to this mail. |
31 | |
32 | -- |
33 | Best regards, |
34 | Michał Górny |
File name | MIME type |
---|---|
signature.asc | application/pgp-signature |
Subject | Author |
---|---|
[gentoo-dev] [PATCH 1/3] Introduce multilib_get_enabled_abi_pairs(). | "Michał Górny" <mgorny@g.o> |
[gentoo-dev] [PATCH 2/3] Export MULTILIB_ABI to obtain the USE flag for ABI. | "Michał Górny" <mgorny@g.o> |
[gentoo-dev] [PATCH 3/3] Deprecate multilib_for_best_abi(). | "Michał Górny" <mgorny@g.o> |
Re: [gentoo-dev] [PATCHES] multilib-build.eclass: getting 'long' ABI value & deprecating multilib_for_best_abi() | Ulrich Mueller <ulm@g.o> |
Re: [gentoo-dev] [PATCHES] multilib-build.eclass: getting 'long' ABI value & deprecating multilib_for_best_abi() | Ian Stakenvicius <axs@g.o> |
Re: [gentoo-dev] [PATCHES] multilib-build.eclass: getting 'long' ABI value & deprecating multilib_for_best_abi() | "Michał Górny" <mgorny@g.o> |