Make defaults to a single worker, and newer build tools (e.g. ninja) default to the number of physical CPUs.
I wish there was an option for 'leave me a little bit of my machine to do stuff'.
GNU Make defaults to a single worker, and newer build tools (e.g. ninja) default to the number of physical CPUs. I wish there was an option for 'leave me a little bit of my machine to do stuff'.
I wish that build tools considered *current* CPU and memory utilisation.
$ make -j $NUM_CPUS
This is problematic if some jobs use a lot of memory (common in linking) or if you're using your machine for anything else.