WORKSPACE.in 4.9 KB
Newer Older
D
Dong Li 已提交
1 2 3 4 5 6
workspace(name = "apollo")

# googletest (GTest and GMock)
new_http_archive(
    name = "gtest",
    build_file = "third_party/gtest.BUILD",
D
Dong Li 已提交
7
    sha256 = "58a6f4277ca2bc8565222b3bbd58a177609e9c488e8a72649359ba51450db7d8",
D
Dong Li 已提交
8
    strip_prefix = "googletest-release-1.8.0",
D
Dong Li 已提交
9
    url = "https://github.com/google/googletest/archive/release-1.8.0.tar.gz",
D
Dong Li 已提交
10 11 12 13 14 15 16
)

# gflags
http_archive(
    name = "com_github_gflags_gflags",
    sha256 = "466c36c6508a451734e4f4d76825cf9cd9b8716d2b70ef36479ae40f08271f88",
    strip_prefix = "gflags-2.2.0",
D
Dong Li 已提交
17
    url = "https://github.com/gflags/gflags/archive/v2.2.0.tar.gz",
D
Dong Li 已提交
18 19 20 21 22 23 24 25 26 27 28
)

bind(
    name = "gflags",
    actual = "@com_github_gflags_gflags//:gflags",
)

# glog
new_http_archive(
    name = "glog",
    build_file = "third_party/glog.BUILD",
D
Dong Li 已提交
29
    sha256 = "7580e408a2c0b5a89ca214739978ce6ff480b5e7d8d7698a2aa92fadc484d1e0",
D
Dong Li 已提交
30
    strip_prefix = "glog-0.3.5",
D
Dong Li 已提交
31
    url = "https://github.com/google/glog/archive/v0.3.5.tar.gz",
D
Dong Li 已提交
32 33 34 35 36 37
)

# Google Benchmark
new_http_archive(
    name = "benchmark",
    build_file = "third_party/benchmark.BUILD",
D
Dong Li 已提交
38 39 40
    sha256 = "e7334dd254434c6668e33a54c8f839194c7c61840d52f4b6258eee28e9f3b20e",
    strip_prefix = "benchmark-1.1.0",
    url = "https://github.com/google/benchmark/archive/v1.1.0.tar.gz",
D
Dong Li 已提交
41 42 43 44 45 46
)

# cpplint from google style guide
new_git_repository(
    name = "google_styleguide",
    build_file = "third_party/google_styleguide.BUILD",
D
Dong Li 已提交
47 48
    commit = "159b4c81bbca97a9ca00f1195a37174388398a67",
    remote = "https://github.com/google/styleguide.git",
D
Dong Li 已提交
49 50 51 52 53 54
)

# eigen
new_http_archive(
    name = "eigen",
    build_file = "third_party/eigen.BUILD",
D
Dong Li 已提交
55
    sha256 = "04f8a4fa4afedaae721c1a1c756afeea20d3cdef0ce3293982cf1c518f178502",
D
Dong Li 已提交
56
    strip_prefix = "eigen-eigen-b9cd8366d4e8",
D
Dong Li 已提交
57
    url = "https://bitbucket.org/eigen/eigen/get/3.2.10.tar.gz",
D
Dong Li 已提交
58 59 60 61 62 63
)

# CivetWeb (web server)
new_http_archive(
    name = "civetweb",
    build_file = "third_party/civetweb.BUILD",
D
Dong Li 已提交
64
    sha256 = "880d741724fd8de0ebc77bc5d98fa673ba44423dc4918361c3cd5cf80955e36d",
D
Dong Li 已提交
65
    strip_prefix = "civetweb-1.9.1",
D
Dong Li 已提交
66
    url = "https://github.com/civetweb/civetweb/archive/v1.9.1.tar.gz",
D
Dong Li 已提交
67 68 69 70 71 72
)

# curlpp
new_http_archive(
    name = "curlpp",
    build_file = "third_party/curlpp.BUILD",
D
Dong Li 已提交
73
    sha256 = "97e3819bdcffc3e4047b6ac57ca14e04af85380bd93afe314bee9dd5c7f46a0a",
D
Dong Li 已提交
74
    strip_prefix = "curlpp-0.8.1",
D
Dong Li 已提交
75
    url = "https://github.com/jpbarrette/curlpp/archive/v0.8.1.tar.gz",
D
Dong Li 已提交
76
)
77 78 79 80 81 82

#ros
new_http_archive(
    name = "ros",
    build_file = "third_party/ros.BUILD",
    strip_prefix = "ros",
83 84
    # url = "https://github.com/ApolloAuto/apollo-platform/releases/download/1.0.0/ros-indigo-apollo-1.0.0.MACHINE_ARCH.tar.gz",
    # temporary ros archive for apollo-1.5
F
fengkaiwen01 已提交
85
    url = "https://github.com/fengqikai1414/apollo-platform/releases/download/1.5.0/ros-indigo-apollo-1.5.2-x86_64-dev.tar.gz",
86
)
87 88 89 90 91 92

# OpenCV 2.4.13.2
new_http_archive(
    name = "opencv2",
    build_file = "third_party/opencv2.BUILD",
    strip_prefix = "opencv-2.4.13.2",
D
Dong Li 已提交
93
    url = "https://github.com/opencv/opencv/archive/2.4.13.2.zip",
94 95 96 97 98 99 100 101
)

# 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",
D
Dong Li 已提交
102
    path = "/usr/include/pcl-1.7",
103 104
)

W
weidezhang 已提交
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
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",
)

W
Weide Zhang 已提交
122 123 124 125 126 127
new_local_repository(
    name = "vtk",
    build_file = "third_party/vtk.BUILD",
    path = "/usr/include/vtk-5.8",
)

128
# Caffe
129
new_http_archive(
130 131
    name = "caffe",
    build_file = "third_party/caffe.BUILD",
132 133
    strip_prefix = "caffe-1.0",
    url = "https://github.com/BVLC/caffe/archive/1.0.zip",
134 135
)

136

137 138 139 140 141
# YAML-CPP
new_http_archive(
    name = "yaml_cpp",
    build_file = "third_party/yaml_cpp.BUILD",
    strip_prefix = "yaml-cpp-yaml-cpp-0.5.3",
D
Dong Li 已提交
142 143 144 145 146 147 148 149 150 151
    url = "https://github.com/jbeder/yaml-cpp/archive/yaml-cpp-0.5.3.zip",
)

# qpOASES
new_http_archive(
    name = "qp_oases",
    build_file = "third_party/qp_oases.BUILD",
    sha256 = "ae15eee80455c26d0c26078498893582b67b1d71df18f14f12591023561e5f88",
    strip_prefix = "qpOASES-3.2.1",
    url = "https://www.coin-or.org/download/source/qpOASES/qpOASES-3.2.1.zip",
152
)
多味笋丝's avatar
多味笋丝 已提交
153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168

# Proj.4
new_http_archive(
    name = "proj4",
    url = "https://github.com/OSGeo/proj.4/archive/4.9.3.zip",
    build_file = "third_party/proj4.BUILD",
    strip_prefix = "proj.4-4.9.3",
)

# tinyxml2
new_http_archive(
    name = "tinyxml2",
    url = "https://github.com/leethomason/tinyxml2/archive/5.0.1.zip",
    build_file = "third_party/tinyxml2.BUILD",
    strip_prefix = "tinyxml2-5.0.1",
)
L
Lei Wang 已提交
169

L
Lei Wang 已提交
170
#protobuf 3.3
L
Lei Wang 已提交
171 172 173 174 175
http_archive(
    name = "com_google_protobuf",
    url = "https://github.com/google/protobuf/releases/download/v3.3.0/protobuf-cpp-3.3.0.tar.gz",
    strip_prefix = "protobuf-3.3.0",
)