diff options
| author | Martin Storsjö <martin@martin.st> | 2024-09-05 17:25:41 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-05 10:25:41 -0400 |
| commit | 5024dff6eee5a95a741b063c953422c5b6d02fdc (patch) | |
| tree | 4a51f78a0ab4b7b3bb3a3a4191556ef82f32df41 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 9e85efb0dec8e78ca69925a05c0bbba211dee507 (diff) | |
[libc++][ci] Add a test configuration with an incomplete sysroot (#107089)
When bringing up a new cross compiler from scratch, we build
libunwind/libcxx in a setup where the toolchain is incomplete and unable
to perform the normal linker checks; this requires a few special cases
in the CMake files.
We simulate that scenario by removing the libc++ headers, libunwind and
libc++ libraries from the installed toolchain.
We need to set CMAKE_CXX_COMPILER_WORKS since CMake fails to probe the
compiler. We need to set CMAKE_CXX_COMPILER_TARGET, since LLVM's
heuristics fail when CMake hasn't been able to probe the environment
properly. (This is normal; one has to set those options when setting up
such a toolchain from scratch.)
This adds CI coverage for these build scenarios, which otherwise seldom
are tested by some build flow (but are essential when setting up a cross
compiler from scratch).
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
