Skip to content

Commit

Permalink
third_party:add bos to download package
Browse files Browse the repository at this point in the history
  • Loading branch information
lx18233184051 authored and storypku committed Aug 31, 2020
1 parent 888f9ae commit 658787c
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 10 deletions.
5 changes: 4 additions & 1 deletion third_party/absl/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@ def repo():
name = "com_google_absl",
sha256 = "f41868f7a938605c92936230081175d1eae87f6ea2c248f41077c8f88316f111",
strip_prefix = "abseil-cpp-20200225.2",
urls = ["https://github.com/abseil/abseil-cpp/archive/20200225.2.tar.gz"],
urls = [
"https://apollo-platform-system.cdn.bcebos.com/archive/6.0/20200225.2.tar.gz",
"https://github.com/abseil/abseil-cpp/archive/20200225.2.tar.gz",
],
)
5 changes: 4 additions & 1 deletion third_party/ad_rss_lib/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@ def repo():
build_file = clean_dep("//third_party/ad_rss_lib:ad_rss_lib.BUILD"),
sha256 = "10c161733a06053f79120f389d2d28208c927eb65759799fb8d7142666b61b9f",
strip_prefix = "ad-rss-lib-1.1.0",
urls = ["https://github.com/intel/ad-rss-lib/archive/v1.1.0.tar.gz"],
urls = [
"https://apollo-platform-system.cdn.bcebos.com/archive/6.0/v1.1.0.tar.gz",
"https://github.com/intel/ad-rss-lib/archive/v1.1.0.tar.gz",
],
)
5 changes: 4 additions & 1 deletion third_party/benchmark/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@ def repo():
name = "com_google_benchmark",
sha256 = "23082937d1663a53b90cb5b61df4bcc312f6dee7018da78ba00dd6bd669dfef2",
strip_prefix = "benchmark-1.5.1",
urls = ["https://github.com/google/benchmark/archive/v1.5.1.tar.gz"],
urls = [
"https://apollo-platform-system.cdn.bcebos.com/archive/6.0/v1.5.1.tar.gz",
"https://github.com/google/benchmark/archive/v1.5.1.tar.gz",
],
)
5 changes: 4 additions & 1 deletion third_party/civetweb/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@ def repo():
build_file = clean_dep("//third_party/civetweb:civetweb.BUILD"),
sha256 = "de7d5e7a2d9551d325898c71e41d437d5f7b51e754b242af897f7be96e713a42",
strip_prefix = "civetweb-1.11",
urls = ["https://github.com/civetweb/civetweb/archive/v1.11.tar.gz"],
urls = [
"https://apollo-platform-system.cdn.bcebos.com/archive/6.0/v1.11.tar.gz",
"https://github.com/civetweb/civetweb/archive/v1.11.tar.gz",
],
)
5 changes: 4 additions & 1 deletion third_party/cpplint/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@ def repo():
build_file = clean_dep("//third_party/cpplint:cpplint.BUILD"),
sha256 = "5ace9cb77ddfa61bb0135b21d8a3fe62970266588ba41b8a644cd271d3c0676e",
strip_prefix = "cpplint-1.5.2",
urls = ["https://github.com/cpplint/cpplint/archive/1.5.2.tar.gz"],
urls = [
"https://apollo-platform-system.cdn.bcebos.com/archive/6.0/1.5.2.tar.gz",
"https://github.com/cpplint/cpplint/archive/1.5.2.tar.gz",
],
)
5 changes: 4 additions & 1 deletion third_party/eigen3/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ def repo():
build_file = clean_dep("//third_party/eigen3:eigen.BUILD"),
sha256 = "a8d87c8df67b0404e97bcef37faf3b140ba467bc060e2b883192165b319cea8d",
strip_prefix = "eigen-git-mirror-3.3.7",
urls = ["https://github.com/eigenteam/eigen-git-mirror/archive/3.3.7.tar.gz"],
urls = [
"https://apollo-platform-system.cdn.bcebos.com/archive/6.0/3.3.7.tar.gz",
"https://github.com/eigenteam/eigen-git-mirror/archive/3.3.7.tar.gz",
],
)
#native.new_local_repository(
# name = "eigen",
Expand Down
5 changes: 4 additions & 1 deletion third_party/gtest/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@ def repo():
name = "com_google_googletest",
sha256 = "9dc9157a9a1551ec7a7e43daea9a694a0bb5fb8bec81235d8a1e6ef64c716dcb",
strip_prefix = "googletest-release-1.10.0",
urls = ["https://github.com/google/googletest/archive/release-1.10.0.tar.gz"],
urls = [
"https://apollo-platform-system.cdn.bcebos.com/archive/6.0/release-1.10.0.tar.gz",
"https://github.com/google/googletest/archive/release-1.10.0.tar.gz",
],
)
5 changes: 4 additions & 1 deletion third_party/nlohmann_json/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ def clean_dep(dep):
def repo():
http_archive(
name = "com_github_nlohmann_json",
urls = ["https://github.com/nlohmann/json/archive/v3.8.0.tar.gz"],
sha256 = "7d0edf65f2ac7390af5e5a0b323b31202a6c11d744a74b588dc30f5a8c9865ba",
strip_prefix = "json-3.8.0",
build_file = clean_dep("//third_party/nlohmann_json:json.BUILD"),
urls = [
"https://apollo-platform-system.cdn.bcebos.com/archive/6.0/v3.8.0.tar.gz",
"https://github.com/nlohmann/json/archive/v3.8.0.tar.gz",
],
)
5 changes: 4 additions & 1 deletion third_party/protobuf/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@ def repo():
name = "com_google_protobuf",
sha256 = "71030a04aedf9f612d2991c1c552317038c3c5a2b578ac4745267a45e7037c29",
strip_prefix = "protobuf-3.12.3",
urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.12.3.tar.gz"],
urls = [
"https://apollo-platform-system.cdn.bcebos.com/archive/6.0/v3.12.3.tar.gz",
"https://github.com/protocolbuffers/protobuf/archive/v3.12.3.tar.gz",
],
)
5 changes: 4 additions & 1 deletion third_party/yaml_cpp/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@ def repo():
build_file = clean_dep("//third_party/yaml_cpp:yaml_cpp.BUILD"),
sha256 = "77ea1b90b3718aa0c324207cb29418f5bced2354c2e483a9523d98c3460af1ed",
strip_prefix = "yaml-cpp-yaml-cpp-0.6.3",
urls = ["https://github.com/jbeder/yaml-cpp/archive/yaml-cpp-0.6.3.tar.gz"],
urls = [
"https://apollo-platform-system.cdn.bcebos.com/archive/6.0/yaml-cpp-0.6.3.tar.gz",
"https://github.com/jbeder/yaml-cpp/archive/yaml-cpp-0.6.3.tar.gz",
],
)

0 comments on commit 658787c

Please sign in to comment.