Skip to content

Conversation

@tkhm
Copy link
Contributor

@tkhm tkhm commented Dec 7, 2025

Summary of changes

During my execution of clang-tidy, I faced the following issue.

bazel build //... --config clang-tidy
:
:
ERROR: /home/xxx/.cache/bazel/_bazel_xxx/cdee94819323f15abbc4115074820efd/external/bazel_clang_tidy+/clang_tidy/BUILD:1:1: name 'sh_binary' is not defined (did you mean 'cc_binary'?)
:
:

For avoiding this, added sh_binary deps explicitly.

Running environment

  • Bazel 8.4.1
  • Clang-tidy Ubuntu LLVM version 18.1.3

Confirmed using the following repo https://github.com/tkhm/bzlcppros2-trial

ref: Shell Rules https://bazel.build/versions/8.4.0/reference/be/shell

@erenon erenon merged commit da98651 into erenon:master Dec 9, 2025
1 check passed
@erenon
Copy link
Owner

erenon commented Dec 9, 2025

Thanks!

@tkhm tkhm deleted the add-sh-binary-dep branch December 9, 2025 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants