You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use this build extension, but I am getting the following error:
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
bazel-out/darwin_arm64-fastbuild/bin/external/bazel_clang_tidy/clang_tidy/clang_tidy: line 40: clang-tidy: command not found
I am running this on macOS 14.1.1. Is there a way to configure the path to clang-tidy, ideally in a BUILD file instead of in the command? On my installation, clang-tidy is installed under /opt/homebrew/opt/llvm/bin/clang-tidy.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
This may be a dumb question but how do I set that attribute from my project (or command)?
I see this section of the documentation about using a non-system clang-tidy, but @local_config_cc// does not seem to exist when I run bazel query on it:
$ bazel query "@local_config_cc//*"
ERROR: no such package '@@local_config_cc//*': BUILD file not found in directory '*' of external repository @@local_config_cc. Add a BUILD file to a directory to mark it as a package.
I also looked at the BUILD file under bazel-<project>/external/local_config_cc, but there is no reference to clang-tidy in there.
I am trying to use this build extension, but I am getting the following error:
I am running this on macOS 14.1.1. Is there a way to configure the path to
clang-tidy
, ideally in a BUILD file instead of in the command? On my installation,clang-tidy
is installed under/opt/homebrew/opt/llvm/bin/clang-tidy
.Thanks in advance.
The text was updated successfully, but these errors were encountered: