-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE.in
executable file
·232 lines (203 loc) · 5.76 KB
/
WORKSPACE.in
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
workspace(name = "apollo")
# googletest (GTest and GMock)
new_http_archive(
name = "gtest",
build_file = "third_party/gtest.BUILD",
sha256 = "58a6f4277ca2bc8565222b3bbd58a177609e9c488e8a72649359ba51450db7d8",
strip_prefix = "googletest-release-1.8.0",
url = "file:///home/tmp/googletest-release-1.8.0.tar.gz",
)
# gflags
new_local_repository(
name = "com_github_gflags_gflags",
build_file = "third_party/gflags.BUILD",
path = "/usr/local/include/gflags",
)
bind(
name = "gflags",
actual = "@com_github_gflags_gflags//:gflags",
)
# glog
new_local_repository(
name = "glog",
build_file = "third_party/glog.BUILD",
path = "/usr/local/include/glog",
)
# Google Benchmark
new_http_archive(
name = "benchmark",
build_file = "third_party/benchmark.BUILD",
sha256 = "e7334dd254434c6668e33a54c8f839194c7c61840d52f4b6258eee28e9f3b20e",
strip_prefix = "benchmark-1.1.0",
url = "file:///home/tmp/benchmark-1.1.0.tar.gz",
)
new_http_archive(
name = "ctpl",
build_file = "third_party/ctpl.BUILD",
sha256 = "8c1cec7c570d6d84be1d29283af5039ea27c3e69703bd446d396424bf619816e",
strip_prefix = "CTPL-ctpl_v.0.0.2",
url = "file:///home/tmp/CTPL-ctpl_v.0.0.2.tar.gz",
)
# cpplint from google style guide
new_git_repository(
name = "google_styleguide",
build_file = "third_party/google_styleguide.BUILD",
commit = "159b4c81bbca97a9ca00f1195a37174388398a67",
# remote = "https://github.com/google/styleguide.git",
remote = "/home/tmp/styleguide",
)
# eigen
new_http_archive(
name = "eigen",
build_file = "third_party/eigen.BUILD",
sha256 = "7e84ef87a07702b54ab3306e77cea474f56a40afa1c0ab245bb11725d006d0da",
strip_prefix = "eigen-eigen-323c052e1731",
url = "file:///home/tmp/eigen-3.3.7.tar.gz",
)
# CivetWeb (web server)
new_http_archive(
name = "civetweb",
build_file = "third_party/civetweb.BUILD",
sha256 = "e6958f005aa01b02645bd3ff9760dd085e83d30530cdd97b584632419195bea5",
strip_prefix = "civetweb-1.10",
url = "file:///home/tmp/civetweb-1.10.tar.gz",
)
# curlpp
new_http_archive(
name = "curlpp",
build_file = "third_party/curlpp.BUILD",
sha256 = "97e3819bdcffc3e4047b6ac57ca14e04af85380bd93afe314bee9dd5c7f46a0a",
strip_prefix = "curlpp-0.8.1",
url = "file:///home/tmp/curlpp-0.8.1.tar.gz",
)
#ros
new_local_repository(
name = "ros",
build_file = "third_party/ros.BUILD",
path = "/home/tmp/ros",
)
# OpenCV 2.4.13.2
#new_http_archive(
# name = "opencv2",
# build_file = "third_party/opencv2.BUILD",
# strip_prefix = "opencv-2.4.13.2",
# url = "file:///home/tmp/opencv-2.4.13.2.zip",
#)
new_local_repository(
name = "opencv2",
build_file = "third_party/opencv2.BUILD",
path = "/usr/include",
)
# PCL 1.7
# =======
# This requires libpcl-dev to be installed in your Ubuntu/Debian.
new_local_repository(
name = "pcl",
build_file = "third_party/pcl.BUILD",
path = "/usr/local/include/pcl-1.7",
)
new_local_repository(
name = "glew",
build_file = "third_party/glew.BUILD",
path = "/usr/include",
)
new_local_repository(
name = "opengl",
build_file = "third_party/opengl.BUILD",
path = "/usr/include",
)
new_local_repository(
name = "glfw",
build_file = "third_party/glfw.BUILD",
path = "/usr/include",
)
new_local_repository(
name = "vtk",
build_file = "third_party/vtk.BUILD",
path = "/usr/include/vtk-VTK_VERSION",
)
# Caffe
new_local_repository(
name = "caffe",
build_file = "third_party/caffe.BUILD",
path = "/usr/include/caffe",
)
# tensorrt
new_local_repository(
name = "tensorrt",
build_file = "third_party/tensorrt.BUILD",
path = "/usr/include/aarch64-linux-gnu",
)
# YAML-CPP
#new_http_archive(
# name = "yaml_cpp",
# build_file = "third_party/yaml_cpp.BUILD",
# strip_prefix = "yaml-cpp-yaml-cpp-0.5.3",
# url = "file:///home/tmp/yaml-cpp-0.5.3.zip",
#)
new_local_repository(
name = "yaml_cpp",
build_file = "third_party/yaml_cpp.BUILD",
path = "/usr/include",
)
new_http_archive(
name = "qpOASES",
build_file = "third_party/qpOASES.BUILD",
sha256 = "e70b49586b58b8f5fd348e951f3c3094ed0ad371a96097a499f343a7aeec7dbe",
strip_prefix = "qp-oases-3.2.1-1",
url = "file:///home/tmp/qp-oases-3.2.1-1.zip",
)
# IpOpt
new_local_repository(
name = "ipopt",
build_file = "third_party/ipopt.BUILD",
path = "/usr/local/ipopt/include/coin",
)
# Cuda
new_local_repository(
name = "cuda",
build_file = "third_party/cuda.BUILD",
path = "/usr/local/cuda",
)
# Proj.4
new_http_archive(
name = "proj4",
build_file = "third_party/proj4.BUILD",
strip_prefix = "proj.4-4.9.3",
url = "file:///home/tmp/proj.4-4.9.3.zip",
)
# tinyxml2
new_http_archive(
name = "tinyxml2",
build_file = "third_party/tinyxml2.BUILD",
strip_prefix = "tinyxml2-5.0.1",
url = "file:///home/tmp/tinyxml2-5.0.1.zip",
)
#protobuf 3.3
http_archive(
name = "com_google_protobuf",
strip_prefix = "protobuf-3.3.0",
url = "file:///home/tmp/protobuf-3.3.0.tar.gz",
)
#adv_plat
new_http_archive(
name = "adv_plat",
build_file = "third_party/adv_plat.BUILD",
sha256 = "0a58dadab924b520d5b5a58ef82fc0f76c2aa4feaaabd49ec9873228c125d513",
url = "file:///home/tmp/plat-sw-3.0.0.1.zip",
)
#libprotobuf-mutator
new_http_archive(
name = "libprotobuf_mutator",
build_file = "third_party/libprotobuf_mutator.BUILD",
sha256 = "9e8c92b4e70c2639d355eb5e99c89f9f5f760ca9cb87a400e3c38e10711e58b6",
strip_prefix = "libprotobuf-mutator-1.0",
url = "file:///home/tmp/libprotobuf-mutator-1.0.tar.gz",
)
# sqlite3
new_http_archive(
name = "sqlite3",
build_file = "third_party/sqlite3.BUILD",
strip_prefix = "sqlite-amalgamation-3250300",
url = "file:///home/tmp/sqlite-amalgamation-3250300.zip",
)