01-15-2020, 07:45 PM
When using -j with cmake --build, I get way too many clang++ processes (tens of them, on my 4-core system), which end up contending for RAM, rather than CPU. The compilation time is worse then, and sometimes it even fails.