bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dynamic adjustments of build dependencies for the number of availabl


From: Paul Smith
Subject: Re: Dynamic adjustments of build dependencies for the number of available processors
Date: Mon, 05 Jan 2015 13:28:29 -0500

On Mon, 2015-01-05 at 18:03 +0100, SF Markus Elfring wrote:
> > I'm sorry but I don't really understand what you're trying to do.
> 
> How do you think about to share any more software development
> experiences for the application of the command "getconf
> _NPROCESSORS_ONLN" together with make tools?

Again, I don't really understand what you're asking.  It seems like you
want to automatically expand or contract the number of jobs that make
will run in parallel, based on some processing of the recipe.  For
example, if you start make with -j4 and a given recipe make invokes uses
2 cores, then make would understand this and count the job as using 2
"slots" in the jobserver instead of one.

This is not possible today, and I don't see any straightforward way to
do it.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]