Mike Frysinger schrieb:
> On Sunday 16 August 2009 08:37:37 Thomas Sachau wrote:
>> -for the portage version: It is also in the multilib overlay, but in a
>>  different branch called portage-multilib. To use this, you should read the
>>  instructions at [1] (doc/portage-multilib-instructions). This one should
>>  also mainly work, but there is probably a good amount of packages in the
>>  main tree, which may refuse to work with it.
> 
> the abi-wrapper doesnt look terribly appealing.  why dont we use 
> broken/custom 
> -config handling as incentive to convert packages to .pc files.  pkg-config 
> handles ABI/cross-compile splitting cleanly and transparently.

I am totally unfamiliar with pkg-config, so that would take some time or a 
helping hand.

> bash-4 is stable, so we could start depending on it.

It still has 3 unstable KEYWORDS including mips.

> you dont save/restore CPPFLAGS

Are there any initial values it should get?

> is there documentation that covers the proposed changes/design to portage ?  
> i'm not looking for high level (it runs src_compile twice).  i dont recall 
> seeing details posted to the portage or gentoo mailing lists ...  it's hard 
> to 
> review `git diff portage-svn..master`.
> -mike

There is currently no documentation for the actual code version.

In short, there are those changes:

1. ability to run phases multiple times in ebuild.sh:

change from
...
dyn_unpack()
    src_unpack

dyn_compile()
    src_compile

dyn_install()
    src_install
...

to basicly

...
dyn_unpack()
    for each ABI
        call set_abi
            create ABI workdir
            set ABI envronment variables
        call src_unpack

dyn_compile()
    for each ABI
        call set_abi
            use workdir for current ABI
            set ABI environment variables
        call src_compile

dyn_install()
    for each ABI
        call set_abi
            use workdir for current ABI
            set ABI environment variables
        call src_install
        call _finalize_abi_install
            create gentoo-multilib headers (if needed)
...

2. Adding the internal lib32 useflag and usedeps with some workarounds

3. Added bin/auto-multilib.sh, which contains most functions, merged together 
from the older version
kanaka presented ( => http://dev.gentoo.org/~kanaka/auto-multilib/) and the 
multilib-native.eclass
from master branch of multilib overlay.

-- 
Thomas Sachau

Gentoo Linux Developer

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to