Date: Tue, 3 Dec 2019 08:20:47 -0800 From: bob prohaska <fbsd@www.zefox.net> To: greg@unrelenting.technology Cc: freebsd-arm@freebsd.org, bob prohaska <fbsd@www.zefox.net> Subject: Re: make -j1 produces four C++ instances Message-ID: <20191203162047.GB58722@www.zefox.net> In-Reply-To: <be9b96ea51df395ecea1b426ef4243e4@unrelenting.technology> References: <20191203155514.GA58722@www.zefox.net> <be9b96ea51df395ecea1b426ef4243e4@unrelenting.technology>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 03, 2019 at 04:06:08PM +0000, greg@unrelenting.technology wrote: > December 3, 2019 6:55 PM, "bob prohaska" <fbsd@www.zefox.net> wrote: > > > Has the -j feature for make been changed/removed? > > > > IIRC, one could in the past limit the number of jobs created > > while compiling software by using > > make -jN > > on the command line. Now it seems that > > make -j1 > > spawns four instances of C++ while trying to compile www/chromium. > > make -jN won't necessarily do anything when make spawns other build systems > which do their own parallelism. > (*some* systems can integrate with GNU make, see e.g. > https://github.com/ninja-build/ninja/issues/1139 ) > Which leads to: https://github.com/ninja-build/ninja/issues/1441 > Chromium is mostly built using their own GN system, > the backend of which actually is ninja btw > Implying the behavior is controlled by ninja, not make. Is there some other way to restrain parallelism in compiling www/chromium? Thanks for replying! bob prohaska
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191203162047.GB58722>