For me, cmake -Hclang -B/path/to/build currently fails with
CMake Error at CMakeLists.txt:122 (include): include could not find requested file: GetErrcMessages -- Found Python3: /usr/bin/python3.9 (found version "3.9.9") found components: Interpreter CMake Error at /home/maskray/llvm/llvm/utils/llvm-lit/CMakeLists.txt:13 (make_paths_relative): Unknown CMake command "make_paths_relative".
Keeping the Standalone build working is now quite a bit of hassle and to
the best of my knowledge not any active contributor typically does. Let's
follow libc++/libc++abi/libunwind (D119341), deprecate and remove the build
mode. We will be able to remove much code related to CLANG_BUILT_STANDALONE.
To keep the disruption minimum, use message(WARNING ... for release/14.x and
message(FATAL_ERROR ... for main.
Similar to D119380 for lld.
For the main branch, we can delete this block.