[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#209008: debian-policy: [PROPOSAL] common interface for parallel building in DEB_BUILD_OPTIONS



On 08/03/07 at 11:50 +0100, Bastian Blank wrote:
> On Wed, Mar 07, 2007 at 06:08:52PM +0100, Lucas Nussbaum wrote:
> > Bug #209008 proposed to have a common interface to tell packages to do
> > parallel building (make -j).
> 
> You can't set a generic value.
> 
> For example: A machine with 6 cpus but only 256MiB ram. Building glibc
> with -j6 is no problem. Building gcj-* with -j6 is not possible.

Such a machine looks a bit strange (6 CPUs vs 256 MB RAM). I think that
usually, modern SMPs have "enough" memory to handle what all their CPUs
can do. And the "common interface" could still be used to set a sensible,
conservative default.

Also, you say "Building gcj-* with -j6 is not possible". Do you mean
that the build would fail, or just that it would take a lot of time and
cause a lot of swapping ?
-- 
| Lucas Nussbaum
| lucas@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr             GPG: 1024D/023B3F4F |

Attachment: signature.asc
Description: Digital signature


Reply to: