On Tue, Apr 6, 2021 at 11:04 AM Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> wrote: > > Em Tue, Apr 06, 2021 at 03:03:29PM -0300, Arnaldo Carvalho de Melo escreveu: > > /me goes back to building clang/llvm HEAD, reducing the number of linker > > instances to 1 as I have just 32GB of ram in this Ryzen machine... ;-) > > And guess what takes a long time? > > [ 61%] Linking CXX executable ../../bin/llvm-lto During configuration of LLVM (cmake): $ cmake ... -DLLVM_ENABLE_LLD=ON to link the binaries with LLD, which should be able to link using all cores. https://llvm.org/docs/CMake.html -- Thanks, ~Nick Desaulniers