[PATCH] D65430: Add `--write-dependencies` option, which is equivalent to compiler option -MD.

Ed Maste via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 30 06:45:16 PDT 2019


emaste added a comment.

In D65430#1605980 <https://reviews.llvm.org/D65430#1605980>, @peter.smith wrote:

> My understanding is that many developers use makefile/ninja generation systems such as cmake rather than hand-write the file themselves. As such would this get much use unless it was integrated into these generators? May be worth approaching them to see if they have any requirements/observations about the option?


Having it integrated into e.g. cmake would be a great project for someone to take on, but for us (FreeBSD) it would be useful by itself. Our build is about 175K lines of hand-written Makefiles and we could plug it in with a small change in a couple of places. In any case we shouldn't hold up lld support waiting on prospective cmake changes IMO.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65430/new/

https://reviews.llvm.org/D65430





More information about the llvm-commits mailing list