Subject: Re: Packages Collection on Multi-CPU Systems
To: Michal Pasternak <michal@pasternak.w.lub.pl>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-pkg
Date: 03/30/2004 23:30:39
On Tue, Mar 30, 2004 at 06:41:50AM +0200, Michal Pasternak wrote:
> James Jacocks [Mon, Mar 29, 2004 at 11:33:07PM -0500]:
> > Is there an option in /etc/mk.conf to enable package generation to use 
> > "bmake -j" when appropriate?  If not, is there a process to follow to 
> > manually do this?
> 
> MAKE_FLAGS=-j9 in /etc/mk.conf should do the right thing

I suspect the problem here is that most package's Makefile are not
designed for parallel makes, and miss some dependancy (for example between
a binary and libraries it uses)

I'd rather see the package infrastructure itself allow build of packages
in parallel.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--