Subject: Re: Packages Collection on Multi-CPU Systems
To: Manuel Bouyer <>
From: James Jacocks <>
List: tech-pkg
Date: 03/30/2004 16:46:27
Indeed, that seems to be the case.  I have the best success (although 
not more than 25%) by doing a "bmake config; bmake -j9 build; bmake 
install" on a package whose dependencies have already been satisfied.

This is definitely a significant issue on boxes like mine; I have 8 
relatively slow processors.


On Mar 30, 2004, at 4:30 PM, Manuel Bouyer wrote:

> 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 <>
>      NetBSD: 26 ans d'experience feront toujours la difference
> --