-
Notifications
You must be signed in to change notification settings - Fork 0
/
braiser_repos.bzl
60 lines (52 loc) · 2.08 KB
/
braiser_repos.bzl
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
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
all_content = """filegroup(name = "all", srcs = glob(["**"]), visibility = ["//visibility:public"])"""
def include_braiser_repositories():
http_archive(
name = "zlib",
build_file_content = all_content,
sha256 = "4ff941449631ace0d4d203e3483be9dbc9da454084111f97ea0a2114e19bf066",
strip_prefix = "zlib-1.2.11",
urls = [
"https://zlib.net/zlib-1.2.11.tar.xz",
],
)
http_archive(
name = "openssl",
build_file_content = all_content,
strip_prefix = "openssl-OpenSSL_1_1_1d",
urls = ["https://github.com/openssl/openssl/archive/OpenSSL_1_1_1d.tar.gz"],
)
http_archive(
name = "libevent",
build_file_content = all_content,
strip_prefix = "libevent-2.1.11-stable",
urls = ["https://github.com/libevent/libevent/releases/download/release-2.1.11-stable/libevent-2.1.11-stable.tar.gz"],
)
http_archive(
name = "boost",
build_file_content = all_content,
strip_prefix = "boost_1_68_0",
sha256 = "da3411ea45622579d419bfda66f45cd0f8c32a181d84adfa936f5688388995cf",
urls = ["https://dl.bintray.com/boostorg/release/1.68.0/source/boost_1_68_0.tar.gz"],
)
http_archive(
name = "thrift",
build_file_content = all_content,
strip_prefix = "thrift-0.12.0",
sha256 = "c336099532b765a6815173f62df0ed897528a9d551837d627c1f87fadad90428",
urls = ["https://www-us.apache.org/dist/thrift/0.12.0/thrift-0.12.0.tar.gz"],
)
http_archive(
name = "bison",
build_file_content = all_content,
strip_prefix = "bison-3.0.4",
urls = ["http://ftp.gnu.org/gnu/bison/bison-3.0.4.tar.gz"],
)
# 2.6.4 is more current but fails with GCC-7
# https://github.com/westes/flex/issues/219
http_archive(
name = "flex",
build_file_content = all_content,
strip_prefix = "flex-2.6.3",
urls = ["https://github.com/westes/flex/releases/download/v2.6.3/flex-2.6.3.tar.gz"],
)