Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Pin versions of dependencies in preparation for release. #273

Merged
merged 2 commits into from
Jan 31, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 21 additions & 14 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -19,31 +19,35 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# We depend on Abseil.
http_archive(
name = "com_google_absl",
strip_prefix = "abseil-cpp-master",
urls = ["https://github.com/abseil/abseil-cpp/archive/master.zip"],
sha256 = "41407f630af76558a6da99f46a573eca108399aaff8905dfe7468cf0e904310c",
strip_prefix = "abseil-cpp-540e2537b92cd4abfae6ceddfe24304345461f32",
urls = ["https://github.com/abseil/abseil-cpp/archive/540e2537b92cd4abfae6ceddfe24304345461f32.zip"],
)

# GoogleTest framework.
# Only needed for tests, not to build the OpenCensus library.
http_archive(
name = "com_google_googletest",
strip_prefix = "googletest-master",
urls = ["https://github.com/google/googletest/archive/master.zip"],
sha256 = "72b93443943961eac7d28bbe6b303cb11cc7be63678e617c9bdeb6603f89161f",
strip_prefix = "googletest-e04254989d262ad453ebd4f5cf07474014d81d52",
urls = ["https://github.com/google/googletest/archive/e04254989d262ad453ebd4f5cf07474014d81d52.zip"],
)

# Google Benchmark library.
# Only needed for benchmarks, not to build the OpenCensus library.
http_archive(
name = "com_github_google_benchmark",
strip_prefix = "benchmark-master",
urls = ["https://github.com/google/benchmark/archive/master.zip"],
sha256 = "dadf44f5c4a4714a169ddb54e80d82cdc8bbe05e4b1ee4839dc645ed03ebb6bc",
strip_prefix = "benchmark-785e2c3158589e8ef48c59ba80e48d76bdbd8902",
urls = ["https://github.com/google/benchmark/archive/785e2c3158589e8ef48c59ba80e48d76bdbd8902.zip"],
)

# gRPC
http_archive(
name = "com_github_grpc_grpc",
strip_prefix = "grpc-master",
urls = ["https://github.com/grpc/grpc/archive/master.tar.gz"],
sha256 = "a439405b5691ad3f168f31a91db91cbab493e59502aa0893a7f5b6d95b59a663",
strip_prefix = "grpc-8860eb34ab9183589a039a36a6e10a74b440c501",
urls = ["https://github.com/grpc/grpc/archive/8860eb34ab9183589a039a36a6e10a74b440c501.tar.gz"],
)

load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
Expand All @@ -70,8 +74,9 @@ local_repository(
# Prometheus client library - used by Prometheus exporter.
http_archive(
name = "com_github_jupp0r_prometheus_cpp",
strip_prefix = "prometheus-cpp-master",
urls = ["https://github.com/jupp0r/prometheus-cpp/archive/master.zip"],
sha256 = "f24cb2a2d25bc31782e6424d20d8361563449b249be64f7c438e48f4efa741b7",
strip_prefix = "prometheus-cpp-e9b8a774bb18ec8e432c7e943516d990a5abcd47",
urls = ["https://github.com/jupp0r/prometheus-cpp/archive/e9b8a774bb18ec8e432c7e943516d990a5abcd47.zip"],
)

load("@com_github_jupp0r_prometheus_cpp//:repositories.bzl", "load_civetweb")
Expand Down Expand Up @@ -116,8 +121,9 @@ cc_library(
visibility = ["//visibility:public"],
)
""",
strip_prefix = "curl-master",
urls = ["https://github.com/curl/curl/archive/master.zip"],
sha256 = "3140ec1663cad975a38da9fce606fd80ca5978f89e87fc992c8fcd66cab0d1e4",
strip_prefix = "curl-06f744d447af6648a00f0571116b5b901854abc4",
urls = ["https://github.com/curl/curl/archive/06f744d447af6648a00f0571116b5b901854abc4.zip"],
)

# Rapidjson library - used by zipkin exporter.
Expand All @@ -138,6 +144,7 @@ cc_library(
visibility = ["//visibility:public"],
)
""",
strip_prefix = "rapidjson-master",
urls = ["https://github.com/Tencent/rapidjson/archive/master.zip"],
sha256 = "e3feb9d5f26de688d058056187a6901e89df0d4d1602fb3965455186c1e30df3",
strip_prefix = "rapidjson-bfdcf4911047688fec49014d575433e2e5eb05be",
urls = ["https://github.com/Tencent/rapidjson/archive/bfdcf4911047688fec49014d575433e2e5eb05be.zip"],
)
2 changes: 1 addition & 1 deletion cmake/abseil.CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ project(abseil-download NONE)
include(ExternalProject)
externalproject_add(abseil_project
GIT_REPOSITORY https://github.com/abseil/abseil-cpp
GIT_TAG "master"
GIT_TAG "540e2537b92cd4abfae6ceddfe24304345461f32"
SOURCE_DIR "${CMAKE_BINARY_DIR}/abseil-src"
BINARY_DIR "${CMAKE_BINARY_DIR}/abseil-build"
UPDATE_COMMAND ""
Expand Down
2 changes: 1 addition & 1 deletion cmake/googletest.CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ project(googletest-download NONE)
include(ExternalProject)
externalproject_add(googletest_project
GIT_REPOSITORY https://github.com/abseil/googletest
GIT_TAG "master"
GIT_TAG "e04254989d262ad453ebd4f5cf07474014d81d52"
SOURCE_DIR "${CMAKE_BINARY_DIR}/googletest-src"
BINARY_DIR "${CMAKE_BINARY_DIR}/googletest-build"
UPDATE_COMMAND ""
Expand Down
2 changes: 1 addition & 1 deletion cmake/prometheus-cpp.CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ project(prometheus-cpp-download NONE)
include(ExternalProject)
externalproject_add(prometheus_cpp_project
GIT_REPOSITORY https://github.com/jupp0r/prometheus-cpp
GIT_TAG "master"
GIT_TAG "e9b8a774bb18ec8e432c7e943516d990a5abcd47"
SOURCE_DIR "${CMAKE_BINARY_DIR}/prometheus-src"
BINARY_DIR "${CMAKE_BINARY_DIR}/prometheus-build"
UPDATE_COMMAND ""
Expand Down