-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD
More file actions
38 lines (32 loc) · 841 Bytes
/
BUILD
File metadata and controls
38 lines (32 loc) · 841 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
30
31
32
33
34
35
36
37
38
genrule(
name = "build-info",
srcs = [],
outs = ["build-info.h"],
cmd = "cat bazel-out/stable-status.txt | while read line; do echo \"#define $$line\" >> $@; done; echo \"#define MALLOC_IMPLEMENTATION \\\"default\\\"\">>$@",
stamp = True,
visibility = ["//visibility:public"],
)
config_setting(
name = "gperftools_tcmalloc",
values = {"define": "tcmalloc=gperftools"},
)
config_setting(
name = "jemalloc",
values = {"define": "jemalloc=enabled"},
)
config_setting(
name = "counting_allocs",
values = {"define": "counting_allocs=enabled"},
)
config_setting(
name = "gurobi",
values = {"define": "gurobi=enabled"},
)
config_setting(
name = "spack",
values = {"define": "spack=enabled"},
)
config_setting(
name = "logging",
values = {"define": "logging=enabled"},
)