This seems like a bug in LLVM_OPTIMIZED_TABLEGEN. What you are describing works in the standard configuration. On Sat, Dec 19, 2020 at 5:27 PM Paul C. Anagnostopoulos via llvm-dev < llvm-dev at lists.llvm.org> wrote:> Sorry to keep posting, but I'm hoping continued evidence will enable > someone to understand what is going on. > > If I touch a lib/TableGen file and then build bin/llvm-tblgen.exe, Ninja > rebuilds build/bin/llvm-tblgen.exe > > If I touch a file and then build lib/Target/all, Ninja rebuilds both > build/bin/llvm-tblgen.exe and build/NATIVE/bin/llvm-tblgen.exe. In neither > case does it rebuild any .inc files. > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201219/32af6e1c/attachment.html>
Paul C. Anagnostopoulos via llvm-dev
2020-Dec-20 21:31 UTC
[llvm-dev] Question about the build
Thank you, sir! Indeed, -DLLVM_OPTIMIZED_TABLEGEN=ON was the problem. Everything is back to normal with =OFF. At 12/19/2020 08:48 PM, Reid Kleckner wrote:>This seems like a bug in LLVM_OPTIMIZED_TABLEGEN. What you are describing works in the standard configuration.---------------------------------------------------------------- Windfall Paul C. Anagnostopoulos ---------------------------------------------------------- Software 978 369-0839 www.windfall.com ---------------------------------------------------------------- My life has been filled with calamities, some of which actually happened. ---Mark Twain Guga 'mzimba, sala 'nhliziyo
For what it's worth, I've recently been running into problems related to the NATIVE tablegen build for optimized tablegen usage in debug builds. In my case, it was (and may still be) unnecessarily rebuilding tablegen related files every time, even though nothing has changed, which in turn causes the rest of the build to trigger (as Visual Studio sees things as being out-of-date). I forget the exact details, but can dig them out later if someone is interested in investigating further. I haven't had the time to dig into this properly myself, but it is frequently hurting my productivity. On Sun, 20 Dec 2020 at 21:32, Paul C. Anagnostopoulos via llvm-dev < llvm-dev at lists.llvm.org> wrote:> Thank you, sir! Indeed, -DLLVM_OPTIMIZED_TABLEGEN=ON was the problem. > Everything is back to normal with =OFF. > > At 12/19/2020 08:48 PM, Reid Kleckner wrote: > >This seems like a bug in LLVM_OPTIMIZED_TABLEGEN. What you are describing > works in the standard configuration. > > > ---------------------------------------------------------------- > Windfall Paul C. Anagnostopoulos > ---------------------------------------------------------- > Software 978 369-0839 > www.windfall.com > ---------------------------------------------------------------- > My life has been filled with calamities, > some of which actually happened. > ---Mark Twain > > Guga 'mzimba, sala 'nhliziyo > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210104/6c4dad41/attachment.html>