[Slackbuilds-users] make -j${NUMJOBS} discussion

B. Watson urchlay at slackware.uk
Mon Apr 4 07:50:14 UTC 2022



On Sun, 3 Apr 2022, netrixtardis wrote:

> or a safe default of
>   NUMJOBS=${NUMJOBS:$(($(nproc) - 1))}

That's an *unsafe* default. What does make do when you run that on a
single-core machine? It gets a "-j0" argument, that's either an error,
or it means the same as "-j" by itself (meaning *infinite* jobs).


More information about the SlackBuilds-users mailing list