Subject: Re: pkgsrc on SMP machines
To: Jeremy C. Reed <>
From: Manuel Bouyer <>
List: tech-pkg
Date: 12/16/2005 21:16:27
On Thu, Dec 15, 2005 at 03:55:31PM -0800, Jeremy C. Reed wrote:
> On Thu, 15 Dec 2005, John Klos wrote:
> >Another: for instances where people disapprove of -j, and / or where -j 
> >can't be used, would it be worth considering the parallel building of 
> >dependencies where the dependencies don't have interdependencies 
> >themselves?
> Definitely.
> Someone suggested adding a package to add this functionality.
> Maybe something like a "parallel_pkgsrc" which would tsort dependencies 
> (skipping already installed packages) and then do start parallel builds 
> for those who don't conflict at same time. Or if none to do parallel at 
> first, then just do one at a time until dependencies needed by multiple 
> packages are taken care of -- and then start doing parallel builds on 
> next.
> And the locking method could be used just in case (but probably not 
> needed).

I think this will be much easier to paralellize on a pool of 
different hosts (instead of a single SMP system).

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference