-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Copy pathBUILD
70 lines (58 loc) · 1.21 KB
/
BUILD
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# -*- python -*-
package(default_visibility = ["//visibility:public"])
sh_binary(
name = "valgrind",
srcs = ["valgrind.sh"],
data = ["valgrind.supp"],
)
sh_binary(
name = "kcov",
srcs = ["kcov.sh"],
)
py_binary(
name = "cmake_configure_file",
srcs = ["cmake_configure_file.py"],
)
py_binary(
name = "drakelint",
srcs = ["drakelint.py"],
)
alias(
name = "buildifier",
actual = "@com_github_bazelbuild_buildifier//buildifier",
)
cc_toolchain_suite(
name = "default-toolchain",
toolchains = {
"k8|clang-3.9": "cc-compiler-clang-3.9-linux",
},
)
filegroup(
name = "empty",
srcs = [],
)
cc_toolchain(
name = "cc-compiler-clang-3.9-linux",
all_files = ":empty",
compiler_files = ":empty",
cpu = "k8",
dwp_files = ":empty",
dynamic_runtime_libs = [":empty"],
linker_files = ":empty",
objcopy_files = ":empty",
static_runtime_libs = [":empty"],
strip_files = ":empty",
supports_param_files = 0,
)
config_setting(
name = "with_gurobi",
values = {"define": "WITH_GUROBI=ON"},
)
config_setting(
name = "linux",
values = {"cpu": "k8"},
)
config_setting(
name = "apple",
values = {"cpu": "darwin"},
)