-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathWORKSPACE
153 lines (133 loc) · 3.8 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
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file")
release = "1.10.0"
http_archive(
name = "googletest",
urls = ["https://github.com/google/googletest/archive/release-" + release + ".tar.gz"],
strip_prefix = "googletest-release-" + release,
)
http_file(
name = "cpplint_build",
urls = ["https://raw.githubusercontent.com/nicmcd/pkgbuild/master/cpplint.BUILD"],
)
release = "1.5.4"
http_archive(
name = "cpplint",
urls = ["https://github.com/cpplint/cpplint/archive/" + release + ".tar.gz"],
strip_prefix = "cpplint-" + release,
build_file = "@cpplint_build//file:downloaded",
)
http_file(
name = "clang_format",
urls = ["https://raw.githubusercontent.com/nicmcd/pkgbuild/master/clang-format"],
)
http_file(
name = "zlib_build",
urls = ["https://raw.githubusercontent.com/nicmcd/pkgbuild/master/zlib.BUILD"],
)
version = "1.2.12"
http_archive(
name = "zlib",
urls = ["https://www.zlib.net/zlib-" + version + ".tar.gz"],
strip_prefix = "zlib-" + version,
build_file = "@zlib_build//file:downloaded",
)
http_file(
name = "nlohmann_json_build",
urls = ["https://raw.githubusercontent.com/nicmcd/pkgbuild/master/nlohmannjson.BUILD"],
)
release = "3.9.1"
http_archive(
name = "nlohmann_json",
urls = ["https://github.com/nlohmann/json/archive/v" + release + ".tar.gz"],
strip_prefix = "json-" + release,
build_file = "@nlohmann_json_build//file:downloaded",
)
hash = "0a1151f"
http_archive(
name = "paragraph",
urls = ["https://github.com/paragraph-sim/paragraph-core/tarball/" + hash],
type = "tar.gz",
strip_prefix = "paragraph-sim-paragraph-core-" + hash,
)
hash = "97d8af4"
http_archive(
name = "rules_proto",
urls = [
"https://github.com/bazelbuild/rules_proto/tarball/" + hash,
],
type = "tar.gz",
strip_prefix = "bazelbuild-rules_proto-" + hash,
)
load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
rules_proto_dependencies()
rules_proto_toolchains()
hash = "c51510d"
http_archive(
name = "com_google_absl",
urls = ["https://github.com/abseil/abseil-cpp/tarball/" + hash],
type = "tar.gz",
strip_prefix = "abseil-abseil-cpp-" + hash,
)
hash = "f564c5c"
http_archive(
name = "libprim",
urls = ["https://github.com/nicmcd/libprim/tarball/" + hash],
type = "tar.gz",
strip_prefix = "nicmcd-libprim-" + hash,
)
hash = "878ff36"
http_archive(
name = "libcolhash",
urls = ["https://github.com/nicmcd/libcolhash/tarball/" + hash],
type = "tar.gz",
strip_prefix = "nicmcd-libcolhash-" + hash,
)
hash = "5f52dc7"
http_archive(
name = "libfactory",
urls = ["https://github.com/nicmcd/libfactory/tarball/" + hash],
type = "tar.gz",
strip_prefix = "nicmcd-libfactory-" + hash,
)
hash = "9820e0f"
http_archive(
name = "librnd",
urls = ["https://github.com/nicmcd/librnd/tarball/" + hash],
type = "tar.gz",
strip_prefix = "nicmcd-librnd-" + hash,
)
hash = "ba13761"
http_archive(
name = "libmut",
urls = ["https://github.com/nicmcd/libmut/tarball/" + hash],
type = "tar.gz",
strip_prefix = "nicmcd-libmut-" + hash,
)
hash = "e856f1d"
http_archive(
name = "libbits",
urls = ["https://github.com/nicmcd/libbits/tarball/" + hash],
type = "tar.gz",
strip_prefix = "nicmcd-libbits-" + hash,
)
hash = "ee4a54f"
http_archive(
name = "libstrop",
urls = ["https://github.com/nicmcd/libstrop/tarball/" + hash],
type = "tar.gz",
strip_prefix = "nicmcd-libstrop-" + hash,
)
hash = "6570b57"
http_archive(
name = "libfio",
urls = ["https://github.com/nicmcd/libfio/tarball/" + hash],
type = "tar.gz",
strip_prefix = "nicmcd-libfio-" + hash,
)
hash = "264f2b1"
http_archive(
name = "libsettings",
urls = ["https://github.com/nicmcd/libsettings/tarball/" + hash],
type = "tar.gz",
strip_prefix = "nicmcd-libsettings-" + hash,
)