]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r266053:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 17 May 2014 12:47:11 +0000 (12:47 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 17 May 2014 12:47:11 +0000 (12:47 +0000)
commit2aee32dc5039beaf1427d8b5419364256f8955e6
tree32dd80b1d1de268cb17106950cddc02104098ee8
parentdbe29a3489156f908d7ef5a3cff5a852318ef3b3
MFC r266053:

Use the new -d option that was added to tblgen between llvm/clang 3.3
and 3.4 to generate dependency files for the '.inc.h' files generated
from .td files, and .sinclude those dependency files in clang.build.mk.

This will make future incremental builds of lib/clang and usr.bin/clang
work correctly, whenever any of the .td files get modified.

Note that this will not fix any problems with incremental builds from
*before* this revision, since there will not yet be any generated
dependency files.  A quick workaround is to run the following:

  find /usr/obj -type f -name '*.inc.h' | xargs rm

and then a regular incremental buildworld (e.g. with -DNO_CLEAN).

git-svn-id: svn://svn.freebsd.org/base/stable/10@266309 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/clang/clang.build.mk