forked from google/language-resources
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
71 lines (64 loc) · 2 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
# OpenFst, OpenGrm NGram & Thrax
#
# It is possible to configure the Bazel workspace so that dependencies
# will be downloaded automatically. Unfortunately, the following all fail
# with an HTTP 403 status code:
#
# new_http_archive(
# name = "openfst",
# url = "http:https://openfst.org/twiki/pub/FST/FstDownload/openfst-1.5.0.tar.gz",
# sha256 = "01c2b810295a942fede5b711bd04bdc9677855c846fedcc999c792604e02177b",
# build_file = "openfst.BUILD",
# )
#
# new_http_archive(
# name = "opengrm_ngram",
# url = "http:https://openfst.org/twiki/pub/GRM/NGramDownload/opengrm-ngram-1.2.1.tar.gz"
# sha256 = "713f07dccf225cde29cb048ce955d45d3c2a5ce6be7d923b5a688012d4285453",
# build_file = "opengrm-ngram.BUILD",
# )
#
# new_http_archive(
# name = "thrax",
# url = "http:https://openfst.org/twiki/pub/GRM/ThraxDownload/thrax-1.1.0.tar.gz",
# sha256 = "ce99d5b9b67b0d4ef3c9d7003aebad37f31235ef03191a44b11facd8e1b917da",
# build_file = "thrax.BUILD",
# )
#
# Work around this with GitHub mirrors:
new_git_repository(
name = "openfst",
build_file = "openfst.BUILD",
remote = "https://github.com/mjansche/openfst.git",
tag = "1.5.0",
)
new_git_repository(
name = "opengrm_ngram",
build_file = "opengrm-ngram.BUILD",
remote = "https://github.com/mjansche/opengrm-ngram.git",
tag = "1.2.1",
)
new_git_repository(
name = "thrax",
build_file = "thrax.BUILD",
remote = "https://github.com/mjansche/thrax.git",
tag = "1.2.0",
)
# Google Test & Protocol Buffers
new_git_repository(
name = "googletest",
build_file = "googletest.BUILD",
commit = "ff5ffd457e032c8be8a64a7a94c824063c8b11e3",
remote = "https://github.com/google/googletest.git",
)
git_repository(
name = "protobuf",
commit = "5e933847cc9e7826f1a9ee8b3dc1df4960b1ea5d",
remote = "https://github.com/google/protobuf.git",
)
new_git_repository(
name = "farmhash",
build_file = "farmhash.BUILD",
commit = "34c13ddfab0e35422f4c3979f360635a8c050260",
remote = "https://github.com/google/farmhash.git",
)