Skip to content

clang-tidy: command not found #62

@davidzchen

Description

@davidzchen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions