[llvm-dev] Should we split llvm Support and ADT?

NAKAMURA Takumi via llvm-dev llvm-dev at lists.llvm.org
Tue May 30 16:16:29 PDT 2017


add_custom_command(DEPFILE) is available with CMake>=3.7 and generator is
Ninja.
I have a patch for this and this is working fine with "*-tblgen -d"

This can reduce edges between generated.inc and *.td(s), though, I think
this won't be so useful to reduce turn-around build time.

Thanks, Takumi

On Wed, May 31, 2017 at 8:00 AM Matthias Braun via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

>
> > On May 30, 2017, at 3:54 PM, Pete Cooper via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
> >
> >
> >> On May 30, 2017, at 3:52 PM, Joerg Sonnenberger <joerg at bec.de> wrote:
> >>
> >> On Tue, May 30, 2017 at 03:49:38PM -0700, Pete Cooper via llvm-dev
> wrote:
> >>> Aw, but i had a list of issues, such as:
> >>> - tablegen doesn’t generate .d files
> >>
> >> Actually, it does if asked to.
> > Oh, thanks.  Thats good to know.
> >
> > I don’t know if ninja uses the .d as the source of real deps, or if it
> still includes those deps emitted by CMake.  Will take a look.
> ninja certainly supports reading dependencies from .d files. I think the
> actual problem here is that there is no way to have cmake's
> add_custom_command() generate the necessary ninja depfile/deps directives.
>
> - Matthias
> _______________________________________________
> 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/20170530/420a9d4a/attachment.html>


More information about the llvm-dev mailing list