For those running `make`, add this to you shell init to set the concurrency level via env var:
> expert MAKEFLAGS=-j$(nproc)
> expert MAKEFLAGS=-j$(nproc)
make -j without a number should do that, instead of spawning processes like there’s no tomorrow.
I had a makefile with a race condition that triggered only sporadically. However, giving it more threads significantly increased its rate of occurrence.
Or prefer ninja overall.
make -j$(($(nproc)+2))