[llvm-dev] GN build roundtable summary; adding GN build files to the repo

Zachary Turner via llvm-dev llvm-dev at lists.llvm.org
Wed Oct 31 15:29:18 PDT 2018


On Wed, Oct 31, 2018 at 3:11 PM Nicolai Hähnle via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

>
>
> Besides, how on earth are you using LLVM that cmake times are an issue?
> Given that cmake times seem to be the only argument you have in favor of
> GN...
>
> I just measured the typical case (for LLVM only, debug build, all
> non-experimental targets enabled) by touching all files. cmake takes 5
> seconds to run, while the build as a whole takes about 5 minutes. (This
> is on Ubuntu 18.10, in case that matters.)
>

I am using CMake with LLVM with all targets OFF except for x86.  Only
clang, lldb, and lld enabled.

$ timecmd cmake ..\..\..\..\llvm-mono\llvm
<output snipped>
command took 0:0:34.05 (34.05s total)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181031/58a560b8/attachment.html>


More information about the llvm-dev mailing list