FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 09-24-2012, 09:51 PM
Michał Górny
 
Default autotools-multilib: wrapper eclass for multilib builds.

On Mon, 24 Sep 2012 18:19:43 -0300
Alexis Ballier <aballier@gentoo.org> wrote:

> you dont need this, the PM has already done the work for you: call
> directly the relevant function.
>
> src_multilib_compile() {
> forall ABIS; do
> prepare ABI variables
> src_compile
> done
> }

Err, what? Who calls the function? Where?

--
Best regards,
Michał Górny
 
Old 09-24-2012, 09:59 PM
Alexis Ballier
 
Default autotools-multilib: wrapper eclass for multilib builds.

On Mon, 24 Sep 2012 23:51:27 +0200
Michał Górny <mgorny@gentoo.org> wrote:

> On Mon, 24 Sep 2012 18:19:43 -0300
> Alexis Ballier <aballier@gentoo.org> wrote:
>
> > you dont need this, the PM has already done the work for you: call
> > directly the relevant function.
> >
> > src_multilib_compile() {
> > forall ABIS; do
> > prepare ABI variables
> > src_compile
> > done
> > }
>
> Err, what? Who calls the function? Where?

bash. here.
 
Old 09-24-2012, 10:10 PM
Michał Górny
 
Default autotools-multilib: wrapper eclass for multilib builds.

On Mon, 24 Sep 2012 18:59:14 -0300
Alexis Ballier <aballier@gentoo.org> wrote:

> On Mon, 24 Sep 2012 23:51:27 +0200
> Michał Górny <mgorny@gentoo.org> wrote:
>
> > On Mon, 24 Sep 2012 18:19:43 -0300
> > Alexis Ballier <aballier@gentoo.org> wrote:
> >
> > > you dont need this, the PM has already done the work for you: call
> > > directly the relevant function.
> > >
> > > src_multilib_compile() {
> > > forall ABIS; do
> > > prepare ABI variables
> > > src_compile
> > > done
> > > }
> >
> > Err, what? Who calls the function? Where?
>
> bash. here.

How can an eclass call a phase function while eclass needs to be called
from the phase function to call the phase function...?

--
Best regards,
Michał Górny
 
Old 09-24-2012, 10:22 PM
Alexis Ballier
 
Default autotools-multilib: wrapper eclass for multilib builds.

On Tue, 25 Sep 2012 00:10:21 +0200
Michał Górny <mgorny@gentoo.org> wrote:

> On Mon, 24 Sep 2012 18:59:14 -0300
> Alexis Ballier <aballier@gentoo.org> wrote:
>
> > On Mon, 24 Sep 2012 23:51:27 +0200
> > Michał Górny <mgorny@gentoo.org> wrote:
> >
> > > On Mon, 24 Sep 2012 18:19:43 -0300
> > > Alexis Ballier <aballier@gentoo.org> wrote:
> > >
> > > > you dont need this, the PM has already done the work for you:
> > > > call directly the relevant function.
> > > >
> > > > src_multilib_compile() {
> > > > forall ABIS; do
> > > > prepare ABI variables
> > > > src_compile
> > > > done
> > > > }
> > >
> > > Err, what? Who calls the function? Where?
> >
> > bash. here.
>
> How can an eclass call a phase function while eclass needs to be
> called from the phase function to call the phase function...?
>

Read again. Esp. the part you deleted.
I never said it should do this, on purpose...
 
Old 09-25-2012, 12:44 AM
Matt Turner
 
Default autotools-multilib: wrapper eclass for multilib builds.

On Mon, Sep 24, 2012 at 3:22 PM, Alexis Ballier <aballier@gentoo.org> wrote:
> On Tue, 25 Sep 2012 00:10:21 +0200
> Michał Górny <mgorny@gentoo.org> wrote:
>
>> On Mon, 24 Sep 2012 18:59:14 -0300
>> Alexis Ballier <aballier@gentoo.org> wrote:
>>
>> > On Mon, 24 Sep 2012 23:51:27 +0200
>> > Michał Górny <mgorny@gentoo.org> wrote:
>> >
>> > > On Mon, 24 Sep 2012 18:19:43 -0300
>> > > Alexis Ballier <aballier@gentoo.org> wrote:
>> > >
>> > > > you dont need this, the PM has already done the work for you:
>> > > > call directly the relevant function.
>> > > >
>> > > > src_multilib_compile() {
>> > > > forall ABIS; do
>> > > > prepare ABI variables
>> > > > src_compile
>> > > > done
>> > > > }
>> > >
>> > > Err, what? Who calls the function? Where?
>> >
>> > bash. here.
>>
>> How can an eclass call a phase function while eclass needs to be
>> called from the phase function to call the phase function...?
>>
>
> Read again. Esp. the part you deleted.
> I never said it should do this, on purpose...
>

I'm especially confused by what your point is. I can't see how your
snippet could ever work, and you're being evasive about answering
that.
 

Thread Tools




All times are GMT. The time now is 07:42 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org