[llvm-dev] Newbie question on building with Visual Studio

Paul C. Anagnostopoulos via llvm-dev llvm-dev at lists.llvm.org
Thu Aug 6 15:58:04 PDT 2020

Yes, that must be what I need to do. I asked it to build Library -> LLVMTableGen. There must be another . . . Aha! I have to build Tablegenning. That builds the source files, executable, and all the target files.

Interesting, indeed. Thanks!

At 8/6/2020 06:05 PM, David Blaikie wrote:
>I don't work on Windows, so have next to no idea - but when you say
>you "aske it to build TableGen" what do you mean, specifically?
>Perhaps you asked it to build the TableGen library - so that's what it
>did? Can you instead ask it to build llvm-tblgen?
>On Thu, Aug 6, 2020 at 2:12 PM Paul C. Anagnostopoulos via llvm-dev
><llvm-dev at lists.llvm.org> wrote:
>> I made a simple edit to TGlexer.h, which is part of TableGen. Then, in Visual Studio, I asked it to build Tablegen. I got the following output:
>> 1>------ Build started: Project: LLVMTableGen, Configuration: Release x64 ------
>> 1>Main.cpp
>> 1>TGLexer.cpp
>> 1>TGParser.cpp
>> 1>LLVMTableGen.vcxproj -> D:\LLVM\Build\Release\lib\LLVMTableGen.lib
>> ========== Build: 1 succeeded, 0 failed, 3 up-to-date, 0 skipped ==========
>> Makes sense to me. But why doesn't it continue on and relink llvm-tblgen.exe? I spent about half an hour searching the interwebs, but all I could find was complaints about building too much, not too little.

More information about the llvm-dev mailing list