Subject: Re: pkgsrc on SMP machines
To: Dieter Baron <firstname.lastname@example.org>
From: None <email@example.com>
Date: 12/15/2005 12:04:06
On Thu, 15 Dec 2005 12:20:20 +0100 (CET)
Dieter Baron <firstname.lastname@example.org> wrote:
> In article <Pine.LNX.email@example.com> Hubert wrote:
> : On Thu, 15 Dec 2005 firstname.lastname@example.org 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