huxizero - Hi! (I tried going to your preferred discussion board http://my.oschina.net/GIIoOS but unfortunately I can't read/write the language ... so I hope you see this!)
I notice that the installation of ClangOnWin installs all of the internal libraries as well as lots of clang/llvm executables. Libraries that I need to program against but that the standard clang downloads do not install. Such as: clangASTMatchers.lib, clangTooling.lib, etc.
So I have a few questions, please:
a) Is it (part of) the intent of ClangOnWin that I can program my own tools against those libraries (so I don't have to build clang myself)? (That is, I can link those libraries into my own program assuming I compile against a compatible set of headers that I grab from svn/git myself?)
b) Do you build ClangOnWin via Visual Studio or by some other scheme (e.g., Ninja)? Does it matter? (Does one scheme work better than another?)
c) I tried to build clang myself using VS2013 (for x64) using CMake to generate visual studio sln/project files. This for an up-to-date trunk fetch from git. It built without error, and the unit tests pass, but I was unable to successfully execute the command line "test harness" - I got 6640 passes (and 20 expected failures) but 174 unexpected failures - all do to some file lock problem. Do you know if you're supposed to be able to successfully run the command line test harness after building clang with visual studio? (The command line test harness I'm talking about is this http://clang.llvm.org/hacking.html#testingCommands.
Thanks for your help! -- David Bakin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
huxizero - Hi! (I tried going to your preferred discussion board http://my.oschina.net/GIIoOS but unfortunately I can't read/write the language ... so I hope you see this!)
I notice that the installation of ClangOnWin installs all of the internal libraries as well as lots of clang/llvm executables. Libraries that I need to program against but that the standard clang downloads do not install. Such as: clangASTMatchers.lib, clangTooling.lib, etc.
So I have a few questions, please:
a) Is it (part of) the intent of ClangOnWin that I can program my own tools against those libraries (so I don't have to build clang myself)? (That is, I can link those libraries into my own program assuming I compile against a compatible set of headers that I grab from svn/git myself?)
b) Do you build ClangOnWin via Visual Studio or by some other scheme (e.g., Ninja)? Does it matter? (Does one scheme work better than another?)
c) I tried to build clang myself using VS2013 (for x64) using CMake to generate visual studio sln/project files. This for an up-to-date trunk fetch from git. It built without error, and the unit tests pass, but I was unable to successfully execute the command line "test harness" - I got 6640 passes (and 20 expected failures) but 174 unexpected failures - all do to some file lock problem. Do you know if you're supposed to be able to successfully run the command line test harness after building clang with visual studio? (The command line test harness I'm talking about is this http://clang.llvm.org/hacking.html#testingCommands.
Thanks for your help! -- David Bakin