This repository has been archived by the owner on Dec 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
/
WORKSPACE
146 lines (123 loc) · 5.45 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
workspace(name = "com_github_google_cuckoo_index")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
# abseil-cpp.
http_archive(
name = "com_google_absl",
sha256 = "d3311ead20ffce78c7fde96df803b73d0de8d992d46bdf36753954bd2d459f31",
strip_prefix = "abseil-cpp-df3ea785d8c30a9503321a3d35ee7d35808f190d",
urls = ["https://github.com/abseil/abseil-cpp/archive/df3ea785d8c30a9503321a3d35ee7d35808f190d.zip"],
)
# Google Test.
http_archive(
name = "com_google_googletest",
sha256 = "7c7709af5d0c3c2514674261f9fc321b3f1099a2c57f13d0e56187d193c07e81",
strip_prefix = "googletest-10b1902d893ea8cc43c69541d70868f91af3646b",
urls = ["https://github.com/google/googletest/archive/10b1902d893ea8cc43c69541d70868f91af3646b.zip"],
)
# Google Benchmark.
http_archive(
name = "com_google_benchmark",
sha256 = "e777f978593ea6db38356ce09ec3902e839b3037a9a19ff543e6f901e50cc773",
strip_prefix = "benchmark-090faecb454fbd6e6e17a75ef8146acb037118d4",
urls = ["https://github.com/google/benchmark/archive/090faecb454fbd6e6e17a75ef8146acb037118d4.zip"],
)
# C++ rules for Bazel.
http_archive(
name = "rules_cc",
sha256 = "954b7a3efc8752da957ae193a13b9133da227bdacf5ceb111f2e11264f7e8c95",
strip_prefix = "rules_cc-9e10b8a6db775b1ecd358d8ddd3dab379a2c29a5",
urls = ["https://github.com/bazelbuild/rules_cc/archive/9e10b8a6db775b1ecd358d8ddd3dab379a2c29a5.zip"],
)
# Build rules for Boost.
# Apache License 2.0 for the rules.
# Boost Software License for boost (similar to MIT or BSD).
git_repository(
name = "com_github_nelhage_rules_boost",
commit = "353a58c5d231293795e7b63c2c21467922153add",
remote = "https://github.com/nelhage/rules_boost",
shallow_since = "1580416893 -0800",
)
load("@com_github_nelhage_rules_boost//:boost/boost.bzl", "boost_deps")
boost_deps()
# Protocol buffers.
http_archive(
name = "com_google_protobuf",
sha256 = "65e020a42bdab44a66664d34421995829e9e79c60e5adaa08282fd14ca552f57",
strip_prefix = "protobuf-3.15.6",
urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.15.6.tar.gz"],
)
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
protobuf_deps()
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()
http_archive(
name = "rules_cc",
sha256 = "35f2fb4ea0b3e61ad64a369de284e4fbbdcdba71836a5555abb5e194cf119509",
strip_prefix = "rules_cc-624b5d59dfb45672d4239422fa1e3de1822ee110",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/624b5d59dfb45672d4239422fa1e3de1822ee110.tar.gz",
"https://github.com/bazelbuild/rules_cc/archive/624b5d59dfb45672d4239422fa1e3de1822ee110.tar.gz",
],
)
load("@rules_cc//cc:repositories.bzl", "rules_cc_dependencies")
rules_cc_dependencies()
# Roaring.
# Apache License 2.0
http_archive(
name = "CRoaring",
build_file = "@//:croaring.BUILD",
sha256 = "b26a1878c1016495c758e98b1ec62ed36bb401afd0d0f5f84f37615a724d2b1d",
strip_prefix = "CRoaringUnityBuild-c1d1a754faa6451436efaffa3fe449edc7710b65",
urls = ["https://github.com/lemire/CRoaringUnityBuild/archive/c1d1a754faa6451436efaffa3fe449edc7710b65.zip"],
)
# CSV parser.
# MIT License
http_archive(
name = "csv-parser",
build_file = "@//:csv-parser.BUILD",
sha256 = "550681980b7012dd9ef64dc46ff24044444c4f219b34b96f15fdc7bbe3f1fdc6",
strip_prefix = "csv-parser-6fb1f43ad43fc7962baa3b0fe524b282a56ae4b0",
urls = ["https://github.com/vincentlaucsb/csv-parser/archive/6fb1f43ad43fc7962baa3b0fe524b282a56ae4b0.zip"],
)
# XOR filter
# Apache License 2.0
http_archive(
name = "xor_singleheader",
build_file = "@//:xor_singleheader.BUILD",
sha256 = "c58d0d21404c11ccf509e9435693102ca5806ea75321d39afb894314a882f3a6",
strip_prefix = "xor_singleheader-6cea6a4dcf2f18a0e3b9b9e0b94d6012b804ffa1",
urls = ["https://github.com/FastFilter/xor_singleheader/archive/6cea6a4dcf2f18a0e3b9b9e0b94d6012b804ffa1.zip"],
)
# LevelDB (just the Bloom filter)
# BSD 3-Clause "New" or "Revised" License
http_archive(
name = "leveldb",
build_file = "@//:leveldb.BUILD",
sha256 = "2d9cc0a0c4bd1a98d6110f1abeb518086d9448ce74a0ee9deb197df4facefb04",
strip_prefix = "leveldb-78b39d68c15ba020c0d60a3906fb66dbf1697595",
urls = ["https://github.com/google/leveldb/archive/78b39d68c15ba020c0d60a3906fb66dbf1697595.zip"],
)