diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-16 08:50:23 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-16 08:50:23 +0000 |
| commit | e7cd4478407fb0261ba8cec01381eb154d884d1f (patch) | |
| tree | 32ede2d69883a67f141c90d2370a857f4dc2d9fa /doc | |
| parent | 2fa822edd6f6891e70d26fcfd4eff90d04669a7d (diff) | |
fix(build): install MSYS2 Clang extra-tool archives
ClangTargets.cmake checks archives from clang-tools-extra when loading the
Clang development package. Install and document the matching split package.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/build.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/build.md b/doc/build.md index d9f94c6..a3b9cc3 100644 --- a/doc/build.md +++ b/doc/build.md @@ -78,6 +78,7 @@ pacman -S --needed \ mingw-w64-x86_64-cmake \ mingw-w64-x86_64-make \ mingw-w64-x86_64-clang \ + mingw-w64-x86_64-clang-tools-extra \ mingw-w64-x86_64-python ``` @@ -109,6 +110,7 @@ Recommended dependency downloads to the project build directory: mkdir -p build/deps/packages pacman -Sw --noconfirm --cachedir "$PWD/build/deps/packages" \ mingw-w64-x86_64-clang \ + mingw-w64-x86_64-clang-tools-extra \ mingw-w64-x86_64-llvm \ mingw-w64-x86_64-llvm-libs \ mingw-w64-x86_64-llvm-tools \ @@ -125,6 +127,8 @@ already installed dependencies are also downloaded. CMake keeps the packages' `mingw64/` layout under `build/deps/root/`. MSYS2 supplies its current LLVM version; check that it is 23. Windows builds have only been reviewed statically. +The `clang-tools-extra` package is required because MSYS2's `ClangTargets.cmake` checks the extra-tool archives, including `libclangApplyReplacements.a`, when loading the Clang development package, even though cpsc does not invoke those tools. + ### macOS (Homebrew) Install the Xcode Command Line Tools for the macOS SDK, make and package |
