Displaying 2 results from an estimated 2 matches for "your_llvm_root".
2020 Apr 10
2
Running clang tests
Hi Team,
I have checked out the clang and llvm source code and
built the executables using the visual studio 2015 community edition. I am
using Windows as my platform.
However I see that there are some test cases under the clang test folder
in the LLVM.sln. Eg AstMatcherTest,ASTTests etc. I see that these tests
make use of the Google test framework.
In my visual studio I have
2020 Apr 10
4
Running clang tests
...quires Visual Studio 2017 or 2019: https://llvm.org/docs/GettingStartedVS.html#software – you could use Community 2019.
I don’t recommend building LLVM inside Visual Studio. However you can generate or update the VS solution once in a while:
* mkdir buildVS && cd buildVS
* cmake {your_llvm_root}/llvm -G"Visual Studio 16 2019" -Thost=x64 -DLLVM_ENABLE_PROJECTS=clang;llvm -DLLVM_OPTIMIZED_TABLEGEN=ON
Use Ninja instead for building: https://ninja-build.org/ it’s a lot faster - keep Visual Studio only for debugging.
Ensure ninja.exe is in %PATH%.
From a Visual Studio shell (“x64 N...