1 |
Dnia 2014-05-05, o godz. 09:23:56 |
2 |
Ian Stakenvicius <axs@g.o> napisał(a): |
3 |
|
4 |
> -----BEGIN PGP SIGNED MESSAGE----- |
5 |
> Hash: SHA256 |
6 |
> |
7 |
> On 05/05/14 04:29 AM, Michał Górny wrote: |
8 |
> |
9 |
> > 3. deprecates multilib_for_best_abi() since having two separate |
10 |
> > concepts of 'best ABI' and 'default ABI' is confusing, and mostly |
11 |
> > doesn't serve any real purpose. |
12 |
> > |
13 |
> > For improved consistency, we would like people to use |
14 |
> > multilib-minimal and multilib_is_native_abi() tests if necessary. |
15 |
> > |
16 |
> > |
17 |
> > I will submit the patches in replies to this mail. |
18 |
> > |
19 |
> |
20 |
> multilib_for_best_abi was introduced to deprecate |
21 |
> multilib_is_native_abi though, aren't we going backwards? |
22 |
|
23 |
Honestly, I don't remember why it was introduced. I just checked |
24 |
the commit message and relevant mails, and it's all quite laconic. |
25 |
It was introduced as part of multibuild_for_best_variant(), and that |
26 |
benefited mostly distutils-r1 for its *_all() phases. |
27 |
|
28 |
I think multilib_for_best_abi() was mostly intended to help getting |
29 |
autotools-multilib to work properly. Now it is built on top of |
30 |
multilib-minimal, and people are encouraged to redefine the multilib_* |
31 |
phases rather than try to hack on top of 'autotools-utils_src_compile' |
32 |
and stuff. This makes most of multilib_for_best_abi() irrelevant. |
33 |
|
34 |
So, I don't think we are really going backwards here. We've changed |
35 |
direction over the past year. We've seen what caught better and I'm |
36 |
mostly trying to make things simpler. As part of that, I'd like to |
37 |
remove redundant APIs and focus on supporting one best-supported |
38 |
interface for multilib. At the point, multilib-minimal seems to be |
39 |
the way forward. |
40 |
|
41 |
Do you agree with me on this? Do you have another ideas? |
42 |
|
43 |
-- |
44 |
Best regards, |
45 |
Michał Górny |