From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id EE602138010 for ; Mon, 24 Sep 2012 17:54:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6940B21C1C7; Mon, 24 Sep 2012 17:54:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 47DE521C1B4 for ; Mon, 24 Sep 2012 17:53:39 +0000 (UTC) Received: from localhost (unknown [200.89.69.133]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aballier) by smtp.gentoo.org (Postfix) with ESMTPSA id 0457733C6B6 for ; Mon, 24 Sep 2012 17:53:37 +0000 (UTC) Date: Mon, 24 Sep 2012 14:53:27 -0300 From: Alexis Ballier To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [PATCH] autotools-multilib: wrapper eclass for multilib builds. Message-ID: <20120924145327.6af8917b@gentoo.org> In-Reply-To: <20120924193214.765d151e@pomiocik.lan> References: <1348349086-9859-1-git-send-email-mgorny@gentoo.org> <20120922214602.3709ecb5@gentoo.org> <20120923092120.11de850c@pomiocik.lan> <20120923124744.09188732@gentoo.org> <20120923183125.7c801781@pomiocik.lan> <20120924121758.6426bfed@gentoo.org> <20120924193214.765d151e@pomiocik.lan> Organization: Gentoo X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.12; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 400fa97e-a7ad-42a1-b188-2f4b0f620607 X-Archives-Hash: 51420df48400c956dda2b5f7043d7010 On Mon, 24 Sep 2012 19:32:14 +0200 Micha=C5=82 G=C3=B3rny wrote: > On Mon, 24 Sep 2012 12:17:58 -0300 > Alexis Ballier wrote: >=20 > > On Sun, 23 Sep 2012 18:31:25 +0200 > > Micha=C5=82 G=C3=B3rny wrote: > >=20 > > > On Sun, 23 Sep 2012 12:47:44 -0300 > > > Alexis Ballier wrote: > > >=20 > > > > On Sun, 23 Sep 2012 09:21:20 +0200 > > > > Micha=C5=82 G=C3=B3rny wrote: > > > >=20 > > > > > On Sat, 22 Sep 2012 21:46:02 -0300 > > > > > Alexis Ballier wrote: > > > > >=20 > > > > > > On Sat, 22 Sep 2012 23:24:46 +0200 > > > > > > Micha=C5=82 G=C3=B3rny wrote: > > > > > >=20 > > > > > > > It is a simple eclass using autotools out-of-source > > > > > > > builds to build packages for multiple ABIs when multilib > > > > > > > is supported. > > > > > > > > > > > > >=20 > > > > > > 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 ? > > > > >=20 > > > > > That would make this solution inefficient. > > > >=20 > > > > Why ? > > >=20 > > > Because it introduces unnecessarily copying files around. > >=20 > > cp -l ? I can live with that. >=20 > Can you guarantee that the build system won't modify any file > in the source tree? You can add it as a requirement. Your eclass implicitly requires it anyway. > So it's back to optimized solution vs bad, universal solution. or rather writing multilib support for every package vs. using what ebuilds already offer you: a common API for building every package.