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>
Paul C. Anagnostopoulos via llvm-dev
2021-Jan-04 14:52 UTC
[llvm-dev] Question about the build
I was having the opposite problem: Building the native TableGen did not trigger downstream rebuilds. Could you see if the problem is still happening and then post some details here? I know almost nothing about the build process, but I can investigate whether TableGen is unnecessarily rewriting identical output files. At 1/4/2021 03:32 AM, James Henderson wrote:>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.---------------------------------------------------------------- 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