by 2bluesc · 6y ago · 0 comments
> 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.