-
Notifications
You must be signed in to change notification settings - Fork 330
/
Copy pathBUILD
112 lines (103 loc) · 2 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
load("//build_tools/rules:variables.bzl", "PLATO_OPTS")
cc_binary(
name = "archive",
srcs = [
"archive.cc",
],
copts = [
"-g",
"-O2",
"-Wall",
] + PLATO_OPTS,
defines = [
# "__ALIASTABLE_DEBUG__",
],
linkopts = [] + PLATO_OPTS,
linkstatic = 1,
deps = [
"//3rd/gflags",
"//3rd/glog",
"//plato/util:archive",
"//plato/util:perf",
],
)
cc_binary(
name = "aliastable",
srcs = [
"aliastable.cc",
],
copts = [
"-g",
"-O2",
"-Wall",
] + PLATO_OPTS,
defines = [
# "__ALIASTABLE_DEBUG__",
],
linkopts = [] + PLATO_OPTS,
linkstatic = 1,
deps = [
"//3rd/gflags",
"//3rd/glog",
"//plato/util:aliastable",
"//plato/util:perf",
],
)
cc_binary(
name = "intersection",
srcs = [
"intersection.cc",
],
copts = [
"-g",
"-O3",
"-Wall",
"-mavx2",
] + PLATO_OPTS,
linkopts = [] + PLATO_OPTS,
linkstatic = 1,
deps = [
"//3rd/boost:boost_include",
"//3rd/gflags",
"//3rd/glog",
"//plato/util:perf",
"//plato/util:defer",
"//plato/util:intersection",
],
)
cc_binary (
name = "convolve",
srcs = [
"convolve.cc",
],
copts = ['-g', '-O2', ] + PLATO_OPTS,
linkopts = [ ] + PLATO_OPTS,
deps = [
"//3rd/glog:glog",
"//3rd/gflags:gflags",
"//plato/util:perf",
"//plato/util:atomic",
"//plato/graph:graph",
"//plato/engine:dualmode",
],
defines = [
# "__DCSC_DEBUG__",
],
linkstatic = 1,
)
cc_binary (
name = "mpi_multi_comm",
srcs = [
"mpi_multi_comm.cc",
],
copts = ['-g', '-O2', ] + PLATO_OPTS,
linkopts = [ ] + PLATO_OPTS,
deps = [
"//3rd/glog:glog",
"//3rd/gflags:gflags",
"//plato/graph:graph",
],
defines = [
],
linkstatic = 1,
)