[llvm-dev] Switching to Ninja

Dmitry Mikushin via llvm-dev llvm-dev at lists.llvm.org
Sat Aug 8 14:22:36 PDT 2020


Ninja is really good, indeed. The only problem I've seen is that LLVM
linking step (made massively parallel by Ninja) renders the 8GB RAM system
unresponsive due to excessive swapping.

You can reconfigure CMake to use Ninja in an existing build folder, but it
will not use the binaries previously built with another tool. Moreover,
generated files may clash in an incompatible way, so it's rather better to
cleanup the old build.

Kind regards,
- Dmitry.

сб, 8 авг. 2020 г. в 23:12, Paul C. Anagnostopoulos via llvm-dev <
llvm-dev at lists.llvm.org>:

> I built my first submission with Visual Studio, but everything I read and
> watch suggests Ninja, about which I know nothing. Is it okay if I rerun
> CMake with -G "Ninja" in the same build directory, then just run ninja?
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200808/73884d99/attachment.html>


More information about the llvm-dev mailing list