Re: Re: Autodetect processing units with -j

wrotycz <[email protected]> Fri, 27 Jun 2025 07:59:11 +0200
Newsgroups gmane.comp.gnu.make.bugs
Message-ID <[email protected]>
&gt; Emotive terminology like &#34;ludicrous&#34; doesn&#39;t encourage a constructive response.   You&#39;re right. I don&#39;t feel in English so it may be too strong or even not to the point.   &gt;&gt; Here is [a] slightly improved test script[.]    &gt;... yet I didn&#39;t see one.   Script is here:  lists.gnu.org https://lists.gnu.org/archive/html/bug-make/2025-06/msg00029.html  Just change sleep$((j)) to 1:   ~~~   42c42   &lt;     sleep $((j))   ---   &gt;     sleep 1   ~~~   &gt; Perhaps you&#39;ve constrained your thinking to the traditional use of Make to     build C programs on a single computer.   You&#39;re right. That&#39;s why I said some heuristics is appropriate. Maybe that jobs=$((`nproc` * 2)) is better that just x1.0, or x1.0+2.   Regards