提交 4eb22ca0 编写于 作者: D Dong Li

reorder the WORKSPACE items

上级 92e693b2
......@@ -3,18 +3,18 @@ workspace(name = "apollo")
# googletest (GTest and GMock)
new_http_archive(
name = "gtest",
url = "https://github.com/google/googletest/archive/release-1.8.0.tar.gz",
sha256 = "58a6f4277ca2bc8565222b3bbd58a177609e9c488e8a72649359ba51450db7d8",
build_file = "third_party/gtest.BUILD",
sha256 = "58a6f4277ca2bc8565222b3bbd58a177609e9c488e8a72649359ba51450db7d8",
strip_prefix = "googletest-release-1.8.0",
url = "https://github.com/google/googletest/archive/release-1.8.0.tar.gz",
)
# gflags
http_archive(
name = "com_github_gflags_gflags",
url = "https://github.com/gflags/gflags/archive/v2.2.0.tar.gz",
sha256 = "466c36c6508a451734e4f4d76825cf9cd9b8716d2b70ef36479ae40f08271f88",
strip_prefix = "gflags-2.2.0",
url = "https://github.com/gflags/gflags/archive/v2.2.0.tar.gz",
)
bind(
......@@ -25,30 +25,31 @@ bind(
# glog
new_http_archive(
name = "glog",
url = "https://github.com/google/glog/archive/v0.3.5.tar.gz",
sha256 = "7580e408a2c0b5a89ca214739978ce6ff480b5e7d8d7698a2aa92fadc484d1e0",
build_file = "third_party/glog.BUILD",
sha256 = "7580e408a2c0b5a89ca214739978ce6ff480b5e7d8d7698a2aa92fadc484d1e0",
strip_prefix = "glog-0.3.5",
url = "https://github.com/google/glog/archive/v0.3.5.tar.gz",
)
# Google Benchmark
new_http_archive(
name = "benchmark",
url = "https://github.com/google/benchmark/archive/v1.1.0.tar.gz",
sha256 = "e7334dd254434c6668e33a54c8f839194c7c61840d52f4b6258eee28e9f3b20e",
build_file = "third_party/benchmark.BUILD",
strip_prefix = "benchmark-1.1.0"
sha256 = "e7334dd254434c6668e33a54c8f839194c7c61840d52f4b6258eee28e9f3b20e",
strip_prefix = "benchmark-1.1.0",
url = "https://github.com/google/benchmark/archive/v1.1.0.tar.gz",
)
# proto rules (Protobuf and GRPC)
http_archive(
name = "org_pubref_rules_protobuf",
url = "https://github.com/pubref/rules_protobuf/archive/v0.7.1.tar.gz",
sha256 = "646b39438d8eeba02d9af890dee444c7e4e9d08ae8611bc0e0621257010162db",
strip_prefix = "rules_protobuf-0.7.1",
url = "https://github.com/pubref/rules_protobuf/archive/v0.7.1.tar.gz",
)
load("@org_pubref_rules_protobuf//cpp:rules.bzl", "cpp_proto_repositories")
cpp_proto_repositories(
lang_deps = {
# Grpc repo is required by multiple languages but we put it here.
......@@ -60,12 +61,11 @@ cpp_proto_repositories(
#"tag": "v1.0.1",
},
# Hooray! The boringssl team provides a "master-with-bazel" branch
# with all BUILD files ready to go. To update, pick the
# newest-ish commit-id off that branch.
# Hooray! The boringssl team provides a "chromium-stable-with-bazel" branch
# with all BUILD files ready to go.
"boringssl": {
"rule": "http_archive",
"url": "https://github.com/google/boringssl/archive/chromium-stable-with-bazel.zip"
"url": "https://github.com/google/boringssl/archive/chromium-stable-with-bazel.zip",
},
# libssl is required for c++ grpc where it is expected in
......@@ -128,48 +128,48 @@ cpp_proto_repositories(
)
load("@org_pubref_rules_protobuf//python:rules.bzl", "py_proto_repositories")
py_proto_repositories()
# cpplint from google style guide
new_git_repository(
name = "google_styleguide",
remote = "https://github.com/google/styleguide.git",
commit = "159b4c81bbca97a9ca00f1195a37174388398a67",
build_file = "third_party/google_styleguide.BUILD",
commit = "159b4c81bbca97a9ca00f1195a37174388398a67",
remote = "https://github.com/google/styleguide.git",
)
# eigen
new_http_archive(
name = "eigen",
url = "https://bitbucket.org/eigen/eigen/get/3.2.10.tar.gz",
sha256 = "04f8a4fa4afedaae721c1a1c756afeea20d3cdef0ce3293982cf1c518f178502",
build_file = "third_party/eigen.BUILD",
sha256 = "04f8a4fa4afedaae721c1a1c756afeea20d3cdef0ce3293982cf1c518f178502",
strip_prefix = "eigen-eigen-b9cd8366d4e8",
url = "https://bitbucket.org/eigen/eigen/get/3.2.10.tar.gz",
)
# CivetWeb (web server)
new_http_archive(
name = "civetweb",
url = "https://github.com/civetweb/civetweb/archive/v1.9.1.tar.gz",
sha256 = "880d741724fd8de0ebc77bc5d98fa673ba44423dc4918361c3cd5cf80955e36d",
build_file = "third_party/civetweb.BUILD",
sha256 = "880d741724fd8de0ebc77bc5d98fa673ba44423dc4918361c3cd5cf80955e36d",
strip_prefix = "civetweb-1.9.1",
url = "https://github.com/civetweb/civetweb/archive/v1.9.1.tar.gz",
)
# curlpp
new_http_archive(
name = "curlpp",
url = "https://github.com/jpbarrette/curlpp/archive/v0.8.1.tar.gz",
sha256 = "97e3819bdcffc3e4047b6ac57ca14e04af85380bd93afe314bee9dd5c7f46a0a",
build_file = "third_party/curlpp.BUILD",
sha256 = "97e3819bdcffc3e4047b6ac57ca14e04af85380bd93afe314bee9dd5c7f46a0a",
strip_prefix = "curlpp-0.8.1",
url = "https://github.com/jpbarrette/curlpp/archive/v0.8.1.tar.gz",
)
#ros
new_http_archive(
name = "ros",
url = "https://github.com/ApolloAuto/apollo-platform/releases/download/1.0.0/ros-indigo-apollo-1.0.0.MACHINE_ARCH.tar.gz",
build_file = "third_party/ros.BUILD",
strip_prefix = "ros",
url = "https://github.com/ApolloAuto/apollo-platform/releases/download/1.0.0/ros-indigo-apollo-1.0.0.MACHINE_ARCH.tar.gz",
)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册