[clang] [llvm] Enable LLDB tests in pre-merge CI (PR #94208)

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 3 15:58:08 PDT 2024


Endilll wrote:

> > First Windows CI results: LLDB unit tests do not even build.
> 
> Please note the following for Windows setup:
> 
>     * We used cmake 3.25.3 because we got some issues with the latest cmake.
> 
>     * python prerequisites are: `python -m pip install swig pexpect psutil`.
> 
>     * Most gnu tools may be used from `git` distributive, PATH env must contain C:\Program Files\Git\usr\bin
> 
>     * lldb API tests require `make` which can be installed via Chocolatey `choco install make`.
> 
>     * lldb for Windows host must be compiled with `CMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDLL` (or MultiThreadedDebugDLL in case of CMAKE_BUILD_TYPE=Debug), otherwise python and lldb will use different UCRT instances and python will crash with the exit code 0xC0000409 (STATUS_STACK_BUFFER_OVERRUN) because of an assert in UCRT.

Thank you for the information. This is a tall order given that Windows pre-submit CI maintenance is currently on the shoulders of a single person. We should reconsider once we move to GitHub actions, and more people can do maintenance and customizations like those, but for now I'm moving ahead without Windows.

https://github.com/llvm/llvm-project/pull/94208


More information about the cfe-commits mailing list