Don't force reducing $cores
Stop trying to limit $cores
to the number of local cores. The system may have more cores available than visible to nproc
, e.g. due to using distcc
.
Only use the automatically determined number of local cores if specifically requested by setting num-cores auto
.