- Make sure you have installed:
- Python 3
- Git
- CMake 3.12 or higher
- Visual Studio 2015 or higher (tested with 2017)
- Place the
ClangUpdater.ps1
script in the directory where you want the project to live - Run
ClangUpdater.ps1
(sets up the initial directory structure, initial repository clones, and cmake)
After completing these steps, you should get a release build configured LLVM.sln
file in <Your Dir>\build
that you can feed to MSBuild, or open with Visual Studio.
You can also perform the build with cmake itself (recommended):
cmake --build . --target ALL_BUILD --config Release
Running under the assumption no files have been locally tweaked, to update to the latest version of the compiler,
simply run ClangUpdater.ps1
again, then build.