forked from Gan-Tu/cppGFS2.0
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWORKSPACE
110 lines (96 loc) · 3.6 KB
/
WORKSPACE
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
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# Google Protocol Buffers.
http_archive(
name = "rules_proto",
sha256 = "602e7161d9195e50246177e7c55b2f39950a9cf7366f74ed5f22fd45750cd208",
strip_prefix = "rules_proto-97d8af4dc474595af3900dd85cb3a29ad28cc313",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz",
"https://github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz",
],
)
load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
rules_proto_dependencies()
rules_proto_toolchains()
# Google Abseil C++ Library
# Example Useage: #include "absl/string"
http_archive(
name = "com_google_absl",
sha256 = "59b862f50e710277f8ede96f083a5bb8d7c9595376146838b9580be90374ee1f",
strip_prefix = "abseil-cpp-20210324.2",
urls = [
"https://github.com/abseil/abseil-cpp/archive/refs/tags/20210324.2.tar.gz",
],
)
# GoogleTest
# Example Useage: #include "gtest/gtest.h"
http_archive(
name = "com_google_test",
sha256 = "9dc9157a9a1551ec7a7e43daea9a694a0bb5fb8bec81235d8a1e6ef64c716dcb",
strip_prefix = "googletest-release-1.10.0",
urls = [
"https://github.com/google/googletest/archive/release-1.10.0.tar.gz",
],
)
# gRPC
http_archive(
name = "com_github_grpc_grpc",
sha256 = "d6277f77e0bb922d3f6f56c0f93292bb4cfabfc3c92b31ee5ccea0e100303612",
strip_prefix = "grpc-1.28.0",
urls = [
"https://github.com/grpc/grpc/archive/v1.28.0.tar.gz",
],
)
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()
load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
grpc_extra_deps()
# LevelDb
# Example dependency: "@com_google_leveldb//:leveldb"
http_archive(
name = "com_google_leveldb",
build_file = "//src/third_party/build_rules:leveldb.BUILD",
sha256 = "55423cac9e3306f4a9502c738a001e4a339d1a38ffbee7572d4a07d5d63949b2",
strip_prefix = "leveldb-1.22",
urls = ["https://github.com/google/leveldb/archive/1.22.tar.gz"],
)
# Parallel Hashmap
# https://greg7mdp.github.io/parallel-hashmap/
http_archive(
name = "parallel_hashmap",
build_file = "//src/third_party/build_rules:parallel_hashmap.BUILD",
sha256 = "1826589041140837f91ab0e3421abbf7e9184454bb83403b5a0359a0bf87bd68",
strip_prefix = "parallel-hashmap-1.31",
urls = ["https://github.com/greg7mdp/parallel-hashmap/archive/1.31.tar.gz"],
)
# Google glog C++ logging library
# Note: Don't use directly in your code,
# see examples/system_logger_main.cc for how to log.
# Example Usage: #include "glog/logging.h"
# Example dependency: "@com_google_glog//:glog"
http_archive(
name = "com_google_glog",
sha256 = "f28359aeba12f30d73d9e4711ef356dc842886968112162bc73002645139c39c",
strip_prefix = "glog-0.4.0",
urls = [
"https://github.com/google/glog/archive/v0.4.0.tar.gz",
],
)
# YAML Parser
# https://github.com/jbeder/yaml-cpp
http_archive(
name = "yaml_cpp",
build_file = "//src/third_party/build_rules: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"],
)
# Google Benchmark library
http_archive(
name = "com_google_benchmark",
sha256 = "3c6a165b6ecc948967a1ead710d4a181d7b0fbcaa183ef7ea84604994966221a",
strip_prefix = "benchmark-1.5.0",
urls = [
"https://github.com/google/benchmark/archive/v1.5.0.tar.gz",
],
)