[all-commits] [llvm/llvm-project] 12a281: [gn] Remove unneeded MC dep from llvm-tblgen

Reid Kleckner via All-commits all-commits at lists.llvm.org
Fri Sep 11 18:29:09 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 12a281d368e3ae115b2340c45f93b62e20759811
      https://github.com/llvm/llvm-project/commit/12a281d368e3ae115b2340c45f93b62e20759811
  Author: Reid Kleckner <rnk at google.com>
  Date:   2020-09-11 (Fri, 11 Sep 2020)

  Changed paths:
    M llvm/utils/TableGen/LLVMBuild.txt
    M llvm/utils/gn/secondary/llvm/utils/TableGen/BUILD.gn

  Log Message:
  -----------
  [gn] Remove unneeded MC dep from llvm-tblgen

Tablegen does not have link time dependencies on MC. Having llvm-tblgen
depend on it causes it to be rebuilt in the gn build every time somebody
touches any cpp file in llvm/lib/MC* or llvm/lib/DebugInfo/Codeview*.
Touching tablegen invalidates most of the rest of the build, and
re-running it takes a while. This is is annoying for me when swapping
between branches that touch CodeView logic.

This dep was added to LLVMBuild.txt back in 2018, and presumably it was
carried over into the gn build.

Differential Revision: https://reviews.llvm.org/D87553




More information about the All-commits mailing list