When using Ninja build system, CMake can specify job pools for number of concurrent compilers and concurrent linkers. This PR employes the heuristic of max number of compilers as available physical ram / 1 GiB and a single linker instance to prevent using excessive RAM. Modern linkers are multithreaded and should not be run concurrently due to risk of resource exhaustion.
7.5 KiB
7.5 KiB