Skip to content

Commit 355a423

Browse files
authored
Use clang tidy from llvm distribution for Linux [BUILD-592] (#56)
1 parent c657db8 commit 355a423

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

clang_tidy/BUILD

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,12 @@ label_flag(
2525

2626
filegroup(
2727
name = "clang_tidy_executable_default",
28-
srcs = [":clang_tidy_bin"],
28+
srcs = select(
29+
{
30+
"@platforms//os:linux": ["@llvm-distribution//:clang-tidy"],
31+
"//conditions:default": [":clang_tidy_bin"],
32+
},
33+
),
2934
)
3035

3136
label_flag(

0 commit comments

Comments
 (0)