Subject: Re: pkgsrc on SMP machines
To: Hubert Feyrer <feyrer@cs.stevens.edu>
From: Geert Hendrickx <ghen@NetBSD.org>
List: tech-pkg
Date: 12/15/2005 23:30:21
On Thu, Dec 15, 2005 at 10:55:24PM +0100, Geert Hendrickx wrote:
> On Thu, Dec 15, 2005 at 10:46:58PM +0100, Hubert Feyrer wrote:
> > My guess (hope) is that things work mostly well with automake, actually.
> > After all, I doubt pkgsrc is the only place where this is an issue.
> 
> IIRC Gentoo Linux supports (and promotes) the use of -j via their "portage"
> system, we could look into their framework to see how they did it.  

I looked it up: the user can set something like MAKEOPTS="-j4" in his
/etc/make.conf to enable parallel builds, which is then used by default
for all packages.  Only some some individual packages ("ebuilds"), like
mozilla, disable this (when they are known to break otherwise).  

	Geert