-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathBUILD
More file actions
29 lines (26 loc) · 883 Bytes
/
Copy pathBUILD
File metadata and controls
29 lines (26 loc) · 883 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
load("@aspect_rules_lint//format:defs.bzl", "format_multirun")
load("@hedron_compile_commands//:refresh_compile_commands.bzl", "refresh_compile_commands")
# `bazel run //:format` to fix, `//:format.check` to verify. clang-format only;
# style lives in .clang-format. `cuda` covers future .cu/.cuh sources.
format_multirun(
name = "format",
c = "@llvm_toolchain_llvm//:bin/clang-format",
cc = "@llvm_toolchain_llvm//:bin/clang-format",
cuda = "@llvm_toolchain_llvm//:bin/clang-format",
)
refresh_compile_commands(
name = "refresh_compile_commands",
targets = {
"//src:all": "",
"//src/ai:all": "",
"//src/ai/ppo:all": "",
"//src/bin:all": "",
"//src/training:all": "",
"//test/ai:all": "",
},
)
filegroup(
name = "roms",
srcs = glob(["roms/**/*.bin"]),
visibility = ["//visibility:public"],
)