[all-commits] [llvm/llvm-project] b801b6: [clangd] Make sure ninja can clean "ClangdXPC.fram...
Jan Svoboda via All-commits
all-commits at lists.llvm.org
Wed Jan 24 09:12:13 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b801b607e38ca9113394a918f475e5a521b7ec13
https://github.com/llvm/llvm-project/commit/b801b607e38ca9113394a918f475e5a521b7ec13
Author: Jan Svoboda <jan_svoboda at apple.com>
Date: 2024-01-24 (Wed, 24 Jan 2024)
Changed paths:
M clang-tools-extra/clangd/xpc/cmake/modules/CreateClangdXPCFramework.cmake
Log Message:
-----------
[clangd] Make sure ninja can clean "ClangdXPC.framework" (#75669)
After building the ClangdXPC target, `ninja clean` fails with the
following error:
```
ninja: error: remove(lib/ClangdXPC.framework): Directory not empty
ninja: error: remove(<build>/lib/ClangdXPC.framework): Directory not empty
```
I did not find better way to make this work. I guess we could list all
generated files (and directories) in `OUTPUT` of the custom command, but
that seems fairly tedious/fragile.
More information about the All-commits
mailing list