[llvm-dev] [help] How to speed up compilation?

Joerg Sonnenberger via llvm-dev llvm-dev at lists.llvm.org
Tue Oct 18 10:31:57 PDT 2016


On Tue, Oct 18, 2016 at 06:08:15PM +0100, Renato Golin via llvm-dev wrote:
> But overall, CMake should make absolutely no difference in building
> speeds, since the number of compilation jobs should (hopefully) be the
> same and in the same way. But I may be missing something... :)

If you are doing a debug build and hit swap, the cmake-based Makefiles
are a lot more aggressive about concurrent jobs. In that case, the
swapping can make the system a lot slower overall.

Joerg


More information about the llvm-dev mailing list