Subject: Re: pkgsrc on SMP machines
To: Dieter Baron <email@example.com>
From: None <firstname.lastname@example.org>
Date: 12/15/2005 12:04:06
On Thu, 15 Dec 2005 12:20:20 +0100 (CET)
Dieter Baron <email@example.com> wrote:
> In article <Pine.LNX.firstname.lastname@example.org> Hubert wrote:
> : On Thu, 15 Dec 2005 email@example.com wrote:
> : > Hi, can anyone suggest a good strategy for utilising the most of SMP
> hardware : > when building software from pkgsrc??
> : ...
> : > Fixing all Makefiles to support -j > 1 seems quite unreasonable, I guess
> the : > best solution would be to have a multithreaded compiler, which
> distributes : > workload to a specified number of threads, i.e.:
> : How about compiling the pkgs themselves (i.e. whatever gets extracted from
> : sources) with 'make -j', e.g. as the patch below does. At least that's how
> : Unix is supposed to work...
> Not all packages' build system support this, many probably fail (or
> become unreliable) when make is invoked with -j.
Yeah, I noticed that. There is no easy way to do this