-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
251 lines (203 loc) · 7.87 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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file")
################################
# BAZEL
# "com_google_protobuf" declares some terribly old version of skylib,
# forcing the newest version beforehead
http_archive(
name = "bazel_skylib",
sha256 = "e5d90f0ec952883d56747b7604e2a15ee36e288bb556c3d0ed33e818a4d971f2",
strip_prefix = "bazel-skylib-1.0.2",
urls = ["https://github.com/bazelbuild/bazel-skylib/archive/1.0.2.tar.gz"],
)
###############################
# LLVM
http_archive(
# cannot change this name, because files in its workspace refer to it
name = "com_grail_bazel_toolchain",
strip_prefix = "bazel-toolchain-e608913c0e106da931234fdd37de9ee37e0b2541",
urls = ["https://github.com/pompon0/bazel-toolchain/archive/e608913c0e106da931234fdd37de9ee37e0b2541.tar.gz"],
sha256 = "e09e8ef8a5f97078da2961561e176a5bf461962683159bcbd81674052475cdd0",
)
load("@com_grail_bazel_toolchain//toolchain:deps.bzl", "bazel_toolchain_dependencies")
bazel_toolchain_dependencies()
load("@com_grail_bazel_toolchain//toolchain:rules.bzl", "llvm_toolchain")
llvm_toolchain(
name = "llvm_toolchain",
distribution = "clang+llvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz",
llvm_version = "10.0.0",
)
load("@llvm_toolchain//:toolchains.bzl", "llvm_register_toolchains")
llvm_register_toolchains()
################################
# GOLANG
http_archive(
name = "io_bazel_rules_go",
urls = ["https://github.com/bazelbuild/rules_go/releases/download/v0.23.3/rules_go-v0.23.3.tar.gz"],
sha256 = "a8d6b1b354d371a646d2f7927319974e0f9e52f73a2452d2b3877118169eb6bb",
)
load("@io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_toolchains")
go_rules_dependencies()
go_register_toolchains()
http_archive(
name = "bazel_gazelle",
urls = ["https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.19.1/bazel-gazelle-v0.19.1.tar.gz"],
sha256 = "86c6d481b3f7aedc1d60c1c211c6f76da282ae197c3b3160f54bd3a8f847896f",
)
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository")
gazelle_dependencies()
# gazelle:repository_macro gazelle_generated_rules.bzl%gazelle_generated
load("//:gazelle_generated_rules.bzl","gazelle_generated")
gazelle_generated()
################################
# PROTO
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()
################################
# C++
http_archive(
name = "gtest",
strip_prefix = "googletest-release-1.8.1",
urls = ["https://github.com/google/googletest/archive/release-1.8.1.zip"],
sha256 = "927827c183d01734cc5cfef85e0ff3f5a92ffe6188e0d18e909c5efebf28a0c7",
)
http_archive(
name = "abseil",
strip_prefix = "abseil-cpp-d659fe54b35ab9b8e35c72e50a4b8814167d5a84",
urls = ["https://github.com/abseil/abseil-cpp/archive/d659fe54b35ab9b8e35c72e50a4b8814167d5a84.zip"],
sha256 = "743f879030960c80a0445310567ca99d8eae87468dd0e78fd0c8bfd46f429e37",
)
################################
# DOCKER
http_archive(
name = "io_bazel_rules_docker",
sha256 = "7eff487e95d268d577f13f6e3ea49be8704504b2096367e4a2181ecbbc111bad",
strip_prefix = "rules_docker-9bfcd7dbf0294ed9d11a99da6363fc28df904502",
urls = ["https://github.com/bazelbuild/rules_docker/archive/9bfcd7dbf0294ed9d11a99da6363fc28df904502.tar.gz"],
)
load(
"@io_bazel_rules_docker//repositories:repositories.bzl",
container_repositories = "repositories",
)
container_repositories()
load("@io_bazel_rules_docker//go:image.bzl", _go_image_repos = "repositories")
_go_image_repos()
load("@io_bazel_rules_docker//container:container.bzl", "container_pull")
container_pull(
name = "swipl",
registry = "index.docker.io",
repository = "amd64/swipl",
digest = "sha256:b6f51e9cbccc55386bfa3381336c70bda145405cc258055fc8cc2afaddb9a35b",
)
################################
# HASKELL
http_archive(
name = "rules_haskell",
strip_prefix = "rules_haskell-51f854748cd634b30001c49b6fe4c1574c0a3da0",
urls = ["https://github.com/pompon0/rules_haskell/archive/51f854748cd634b30001c49b6fe4c1574c0a3da0.tar.gz"],
sha256 = "75b2b48ec147cc162a22538466e876d83f0936281a188119ccce5a83c60bc934",
)
load("@rules_haskell//haskell:repositories.bzl", "rules_haskell_dependencies")
rules_haskell_dependencies()
load("@rules_haskell//haskell:toolchain.bzl", "rules_haskell_toolchains")
rules_haskell_toolchains()
load("@rules_haskell//haskell:cabal.bzl", "stack_snapshot")
stack_snapshot(
name = "stackage",
packages = [
"attoparsec",
"base",
"bytestring",
"containers",
"data-default-class",
"deepseq",
"haskell-src-exts",
"lens",
"lens-family",
"mtl",
"parsec",
"prettyprinter",
"proto-lens",
"proto-lens-protoc",
"proto-lens-runtime",
"scientific",
"semigroups",
"tasty",
"tasty-hunit",
"text",
"transformers",
"vector",
],
snapshot = "lts-14.2",
)
http_archive(
name = "tptp",
urls = ["https://github.com/aztek/tptp/archive/c920f1e611db53062fccc1bc5b7b3e2c0537cd15.zip"],
build_file = "//:third_party/tptp.BUILD",
sha256 = "f6d9f0a9e39e725c46ff94ceac20e8b689ec80184d612d1e2fb60c8f4876ea49",
)
http_archive(
name = "proto-lens-protoc",
urls = ["http://hackage.haskell.org/package/proto-lens-protoc-0.5.0.0/proto-lens-protoc-0.5.0.0.tar.gz"],
build_file = "//:third_party/proto-lens-protoc.BUILD",
sha256 = "161dcee2aed780f62c01522c86afce61721cf89c0143f157efefb1bd1fa1d164",
strip_prefix = "proto-lens-protoc-0.5.0.0",
)
register_toolchains(":protobuf-toolchain")
################################
# OTHER
http_archive(
name = "eprover",
urls = [
"http://wwwlehre.dhbw-stuttgart.de/~sschulz/WORK/E_DOWNLOAD/V_2.3/E.tgz",
"https://storage.googleapis.com/tptp/eprover_2_3.tgz",
],
sha256 = "5366d2de77e6856250e26a967642389e81a6f823caedccaf5022a09242aceb96",
build_file = "//:third_party/eprover.BUILD",
)
http_archive(
name = "vampire",
strip_prefix = "vampire-ec2c30cb615e41aecd04be6b02d4718e22e4774e",
urls = ["https://github.com/pompon0/vampire/archive/ec2c30cb615e41aecd04be6b02d4718e22e4774e.tar.gz"],
sha256 = "b9f1248f9334df237b8cacbec76f3590ff18ea47b7efa9c2c431b25f9e4b1dac",
)
http_archive(
name = "leancop",
urls = ["https://storage.googleapis.com/tptp/leancop_bin.tgz"],
sha256 = "c8c154c7f694ffd5eee7453bb50bd07f5eac0b4c564a5b9a0cb548e802ed7bbf",
build_file = "//:third_party/leancop.BUILD",
)
http_archive(
name = "leancop_prolog",
urls = [
"http://www.leancop.de/programs/leancop21.tar.gz",
"https://storage.googleapis.com/tptp/leancop21.tar.gz",
],
sha256 = "ce432c5f9368c093f08df3120218463d8bdb8412e71ec980ab9c852c13cef300",
build_file = "//:third_party/leancop_prolog.BUILD",
)
http_file(
name = "tptp4X",
executable = 1,
urls = ["https://storage.googleapis.com/tptp/tptp4X"],
sha256 = "2418cb42c0f9013289ef7653c4ad9cd4d9b7d7ac67bbf5687dbb1ef1639e590e",
)
http_file(
name = "mizar_problems",
urls = ["https://storage.googleapis.com/tptp/mizar_problems.zip"],
sha256 = "70a6e8467753395125f281ea371adc390585b667b84db79451fd0cc8780bd749",
)
http_file(
name = "tptp_problems",
urls = ["https://storage.googleapis.com/tptp/tptp_problems.zip"],
sha256 = "f56cd27648898713e83e2e0dc69e295b316ba4b7acad0e41d7667610b666c5f0",
)