[llvm-dev] Question about the build

Fāng-ruì Sòng via llvm-dev llvm-dev at lists.llvm.org
Fri Dec 18 12:45:31 PST 2020


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-dev

It 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


-- 
宋方睿


More information about the llvm-dev mailing list