public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alexis Ballier <aballier@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [PATCH] autotools-multilib: wrapper eclass for multilib builds.
Date: Sun, 23 Sep 2012 12:47:44 -0300	[thread overview]
Message-ID: <20120923124744.09188732@gentoo.org> (raw)
In-Reply-To: <20120923092120.11de850c@pomiocik.lan>

On Sun, 23 Sep 2012 09:21:20 +0200
Michał Górny <mgorny@gentoo.org> wrote:

> On Sat, 22 Sep 2012 21:46:02 -0300
> Alexis Ballier <aballier@gentoo.org> wrote:
> 
> > On Sat, 22 Sep 2012 23:24:46 +0200
> > Michał Górny <mgorny@gentoo.org> wrote:
> > 
> > > It is a simple eclass using autotools out-of-source builds to
> > > build packages for multiple ABIs when multilib is supported.
> > >
> > 
> > to some extent, can't you do the same by unpacking twice to
> > different $S and calling src_prepare/compile/install instead of
> > their autotools-utils counterpart with tweaked $S so that it works
> > with almost every ebuild ?
> 
> That would make this solution inefficient.

Why ?

> The good solutions should
> not be made ugly to support corner cases.

You are tying support to one specific build system, and one specific
usage within ebuilds. That is what I would call a corner case :)
Ebuilds already define a standardized way of building packages, why not
use this directly ?
I'm not saying your proposal is useless, it is indeed more efficient
than a generic one, but rather that a generic solution is neither much
more complicated nor that inefficient in comparison.


> > -- this really starts to resemble multilib portage :)
> 
> I've said already that multilib is a thing which could be done by
> eclasses and doesn't need making PM scary. And Tommy says that
> multilib-portage handles packages having IUSE=multilib fine.

I agree with that, it also has two main advantages over multilib
portage: it can be used right now and ensures that packages have their
multilib builds tested before exposing it to users.

A.


  reply	other threads:[~2012-09-23 15:49 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-22 21:24 [gentoo-dev] [PATCH] autotools-multilib: wrapper eclass for multilib builds Michał Górny
2012-09-22 21:44 ` Luca Barbato
2012-09-22 22:02   ` Michał Górny
2012-09-23  0:46 ` Alexis Ballier
2012-09-23  7:21   ` Michał Górny
2012-09-23 15:47     ` Alexis Ballier [this message]
2012-09-23 16:31       ` Michał Górny
2012-09-24 15:17         ` Alexis Ballier
2012-09-24 17:32           ` Michał Górny
2012-09-24 17:53             ` Alexis Ballier
2012-09-24 18:12               ` Michał Górny
2012-09-24 19:16                 ` Alexis Ballier
2012-09-24 20:47                   ` Michał Górny
2012-09-24 21:19                     ` Alexis Ballier
2012-09-24 21:51                       ` Michał Górny
2012-09-24 21:59                         ` Alexis Ballier
2012-09-24 22:10                           ` Michał Górny
2012-09-24 22:22                             ` Alexis Ballier
2012-09-25  0:44                               ` Matt Turner
2012-09-25 11:37                                 ` Alexis Ballier
2012-09-23  1:54 ` Matt Turner
2012-09-23  1:59   ` Diego Elio Pettenò
2012-09-23  3:42     ` Matt Turner
2012-09-23 16:07       ` Diego Elio Pettenò
2012-09-23 16:57         ` Matt Turner
2012-09-23  9:07   ` Thomas Sachau
2012-09-23  9:56     ` Michał Górny
2012-09-23 10:02       ` hasufell
2012-09-23 10:40         ` Michał Górny
2012-09-23 12:05           ` hasufell
2012-09-23 12:30             ` Michał Górny
2012-09-23 17:01         ` Matt Turner
2012-09-23 19:16         ` Zac Medico
2012-09-23 10:33       ` Pacho Ramos
2012-09-23 10:40         ` Michał Górny
2012-09-23 11:03           ` Pacho Ramos
2012-09-23 11:13             ` Michał Górny
2012-09-23 11:30               ` Pacho Ramos
2012-09-23 11:57                 ` Michał Górny
2012-09-23 14:26               ` Peter Stuge
2012-09-23 16:32                 ` Michał Górny
2012-09-24  3:18           ` Ben de Groot
2012-09-23 11:52         ` Thomas Sachau
2012-09-23 12:18           ` Pacho Ramos
2012-09-23 14:49             ` Thomas Sachau
2012-09-25 13:21               ` Alexis Ballier
2013-01-02 23:25                 ` Pacho Ramos
2013-01-03 10:44                   ` Thomas Sachau
2013-01-14 18:04                     ` Alexis Ballier
2013-01-14 18:45                       ` Michał Górny
2013-01-03  0:14                 ` Peter Stuge
2012-09-23 17:07     ` Matt Turner
2012-09-23 12:30 ` Pacho Ramos
2012-09-23 17:10   ` Matt Turner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120923124744.09188732@gentoo.org \
    --to=aballier@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox