forked from livegrep/livegrep
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathWORKSPACE
158 lines (124 loc) · 3.96 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
147
148
149
150
151
152
153
154
155
156
157
158
workspace(name = "com_github_livegrep_livegrep")
load(
"@bazel_tools//tools/build_defs/repo:git.bzl",
"git_repository",
"new_git_repository",
)
load(
"@bazel_tools//tools/build_defs/repo:http.bzl",
"http_archive",
)
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "build_stack_rules_proto",
sha256 = "128c4486b1707db917411c6e448849dd76ea3b8ba704f9e0627d9b01f2ee45fe",
strip_prefix = "rules_proto-f5d6eea6a4528bef3c1d3a44d486b51a214d61c2",
urls = ["https://github.com/stackb/rules_proto/archive/f5d6eea6a4528bef3c1d3a44d486b51a214d61c2.tar.gz"],
)
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "divsufsort",
build_file = "//third_party:BUILD.divsufsort",
patch_args = ["-p1"],
patches = ["//third_party:divsufsort.patch"],
sha256 = "9164cb6044dcb6e430555721e3318d5a8f38871c2da9fd9256665746a69351e0",
strip_prefix = "libdivsufsort-2.0.1",
type = "tgz",
url = "https://codeload.github.com/y-256/libdivsufsort/tar.gz/2.0.1",
)
git_repository(
name = "com_googlesource_code_re2",
commit = "767de83bb7e4bfe3a2d8aec0ec79f9f1f66da30a",
remote = "https://github.com/google/re2",
)
git_repository(
name = "gflags",
commit = "e171aa2d15ed9eb17054558e0b3a6a413bb01067", # v2.2.2
remote = "https://github.com/gflags/gflags",
)
git_repository(
name = "com_github_nelhage_rules_boost",
commit = "c1d618315fa152958baef8ea0d77043eebf7f573",
remote = "https://github.com/nelhage/rules_boost",
)
# local_repository(
# name = "com_github_nelhage_boost",
# path = "../rules_boost",
# )
load(
"@com_github_nelhage_rules_boost//:boost/boost.bzl",
"boost_deps",
)
boost_deps()
git_repository(
name = "com_google_absl",
commit = "5e0dcf72c64fae912184d2e0de87195fe8f0a425",
remote = "https://github.com/abseil/abseil-cpp",
)
git_repository(
name = "io_bazel_rules_go",
commit = "da0ac6f8d552baef52abf8c36e669df306f416d0", # 0.18.1
remote = "https://github.com/bazelbuild/rules_go.git",
)
git_repository(
name = "bazel_gazelle",
commit = "e443c54b396a236e0d3823f46c6a931e1c9939f2", # 0.17.0
remote = "https://github.com/bazelbuild/bazel-gazelle.git",
)
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
go_register_toolchains()
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
gazelle_dependencies()
load(
"//tools/build_defs:go_externals.bzl",
"go_externals",
)
go_externals()
load(
"//tools/build_defs:libgit2.bzl",
"new_libgit2_archive",
)
new_libgit2_archive(
name = "com_github_libgit2",
build_file = "//third_party:BUILD.libgit2",
sha256 = "0269ec198c54e44f275f8f51e7391681a03aa45555e2ab6ce60b0757b6bde3de",
url = "https://github.com/libgit2/libgit2/archive/v0.24.1.tar.gz",
version = "0.24.1",
)
load(
"@build_stack_rules_proto//cpp:deps.bzl",
"cpp_grpc_compile",
"cpp_proto_compile",
)
cpp_proto_compile()
cpp_grpc_compile()
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()
git_repository(
name = "io_bazel_buildifier",
commit = "ae772d29d07002dfd89ed1d9ff673a1721f1b8dd",
remote = "https://github.com/bazelbuild/buildifier.git",
)
git_repository(
name = "org_dropbox_rules_node",
commit = "f35666fe95bff69b9c96b95a97973ee5bef108bd",
remote = "https://github.com/dropbox/rules_node.git",
)
load("@org_dropbox_rules_node//node:defs.bzl", "node_repositories")
node_repositories()
new_git_repository(
name = "compdb",
build_file_content = (
"""
package(default_visibility = ["//visibility:public"])
"""
),
commit = "7bc80f9355b09466fffabce24d463d65e37fcc0f",
remote = "https://github.com/grailbio/bazel-compilation-database.git",
)
git_repository(
name = "com_google_googletest",
commit = "0ea2d8f8fa1601abb9ce713b7414e7b86f90bc61",
remote = "https://github.com/google/googletest",
)