Skip to content

Commit

Permalink
Expose clang-format, git-clang-format, and libclang (#432)
Browse files Browse the repository at this point in the history
This makes it possible to use sandboxed versions of those tools in
scripts.

Signed-off-by: Austin Schuh <[email protected]>
  • Loading branch information
AustinSchuh authored Jan 11, 2025
1 parent 9f0a7cb commit de26c39
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions toolchain/BUILD.llvm_repo
Original file line number Diff line number Diff line change
Expand Up @@ -150,3 +150,24 @@ filegroup(
name = "clang-tidy",
srcs = ["bin/clang-tidy"],
)

filegroup(
name = "clang-format",
srcs = ["bin/clang-format"],
)

filegroup(
name = "git-clang-format",
srcs = ["bin/git-clang-format"],
)

filegroup(
name = "libclang",
srcs = glob(
[
"lib/libclang.so",
"lib/libclang.dylib",
],
allow_empty = True,
),
)

0 comments on commit de26c39

Please sign in to comment.