-
-
Notifications
You must be signed in to change notification settings - Fork 243
Clangd, clang-format, and clang-tidy are required to be in distribution since 1.4.0 #481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Instead of documenting additional requirements, we should probably just make the logic at toolchains_llvm/toolchain/internal/configure.bzl Lines 125 to 130 in 4c3d6cf
|
Sure, I'll take a look this week |
@scasagrande have you had time to check this out ? We just faced this issue last week because we also use static-clang from dzbarsky. While static-clang has a trick to add empty binaries in their archive, this would be an even better fix so that the tools are dynamic according to the pulled distribution |
Here was my first attempt, but it doesn't work: #483 See the comments as to why |
I'm actually a confused as to why clang-format and clang-tidy were added in #463 when they were previously accessible via toolchains_llvm/toolchain/BUILD.llvm_repo Lines 149 to 157 in 23721c9
and clangd should be accessible via the general export: toolchains_llvm/toolchain/BUILD.llvm_repo Line 20 in 23721c9
|
Problem
Updating from 1.3.0 to 1.4.0 requires an llvm distribution that contains clangd, clang-format, and clang-tidy
Example error output:
Likely cause
#463
Prior to this pr, clang-format and clang-tidy were available via
@llvm_toolchain_llvm//:bin/clang-format
and@llvm_toolchain_llvm//:bin/clang-tidy
, but were not requirements.Discussion
If this is what we want, we should update document this and update some common "slimmer" llvm distributions, such as:
The text was updated successfully, but these errors were encountered: