[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 16:28:26 PDT 2018


That is certainly possible, however if we're going to re-write the entire
build system anyway.......

One thing to think about is that generated IDE projects from CMake are less
than ideal.  In fact I actually made a post about this a few weeks ago.  In
MSVC I consider them barely usable.  I can edit files and get code
completion with them, but that's about it.  Navigation is painful at best
(can take several up to 10 seconds just to open a file), and everything is
extremely slow because MSVC is churning away trying to process its build
dependency graph.  Occasionally things just stop working for 10-20 seconds
at a time.

I've heard that Xcode is also barely usable but can't speak for this myself.

Is this any better with gn-generated IDE projects?  I actually don't know!
Because I've never used them.  But it's at least something to think about.

On Wed, Oct 31, 2018 at 4:21 PM Stephen Kelly via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> On 31/10/2018 22:44, Dean Michael Berris via llvm-dev wrote:
> > FWIW, this is consistent with my experience as well.
> >
> > I also wrote a presubmit script that I run locally to build/test the
> cross-product of:
> >
> > COMPILER={gcc+gold, clang+lld}
> > MODE={debug, release-with-assertions}
> > TARGETS={llvm+clang+lld+compiler-rt, compiler-rt(standalone)}
> >
> > While the build/test times are helped by using ninja, the CMake config
> times are less than optimal.
>
>
> It is possible that we have features/complexity in our CMakeLists.txt
> which is not needed. The CMake files are not using modern cmake
> features. Maybe it's time to change that. It might simplify the
> buildsystem a bit.
>
> Thanks,
>
> Stephen.
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://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/20181031/de27ed12/attachment.html>


More information about the llvm-dev mailing list