diff options
author | dim <dim@FreeBSD.org> | 2014-05-14 17:11:57 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2014-05-14 17:11:57 +0000 |
commit | 069e8594f2cec971de059ffff83603e6b8ccedc5 (patch) | |
tree | 8fff9291d72192371e4e537dc588a03c045cd0c3 /tests | |
parent | 5af79f0adb8f71cbcb0d8584db51f9f9e5ed0257 (diff) | |
download | FreeBSD-src-069e8594f2cec971de059ffff83603e6b8ccedc5.zip FreeBSD-src-069e8594f2cec971de059ffff83603e6b8ccedc5.tar.gz |
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).
MFC after: 3 days
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions