Paul C. Anagnostopoulos via llvm-dev
2020-Dec-18 20:33 UTC
[llvm-dev] Question about the build
If I rebuild TableGen and then build lib/Target/all, shouldn't Ninja rebuild all the target .inc files and then all the files that include those .inc files? I realize that identical .inc files are not written, but it's not even running TableGen on the .td files. I swear it was rebuilding a couple of weeks ago, but it isn't now. I'm doubting my mental faculties on this issue.
On Fri, Dec 18, 2020 at 12:37 PM Paul C. Anagnostopoulos via llvm-dev <llvm-dev at lists.llvm.org> wrote:> > If I rebuild TableGen and then build lib/Target/all, shouldn't Ninja rebuild all the target .inc files and then all the files that include those .inc files? I realize that identical .inc files are not written, but it's not even running TableGen on the .td files. > > I swear it was rebuilding a couple of weeks ago, but it isn't now. I'm doubting my mental faculties on this issue. > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-devIt works fine for me. touch a file in llvm/utils/TableGen/ ninja lib/Target/all # llvm-tblgen is rebuilt # include/llvm/IR/IntrinsicsXcore.h lib/Target/AArch64/AArch64GenSystemOperands.inc lib/Target/AArch64/AArch64GenAsmWriter1.inc etc are rebuilt -- 宋方睿