Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

First off, get Windows development tools and a base system compiler with a decent performance that can build LLVM and its sub-projects.  Refer to XXX for bootstrap instructions of an LLVM-based toolchain for Windows on Arm.  The rest of this page assumes Windows development tools are installed as in How to setup Windows on Arm for llvm development.

Install buildbot version compatible with LLVM's upstream CI

...

Code Block
set "BUILTINS=C:\Users\%USERNAME%\source\host-llvm\lib\clang\%VERSION%\lib\windows\clang_rt.builtins-aarch64.lib"

If your buildbot is expected to build lldb you will also need to add the DIA SDK to the path and opt into using lldb server:

Code Block
set MSVC_INSTALL_DIR=c:\Program Files\Microsoft Visual Studio\2022\Community
set "PATH=%MSVC_INSTALL_DIR%\DIA SDK\bin\arm64;%PATH%"

set "LLDB_USE_LLDB_SERVER=1"

Create a Windows service for buildbot

...