-
Notifications
You must be signed in to change notification settings - Fork 61
/
WORKSPACE
48 lines (42 loc) · 1.94 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
workspace(name = 'com_baidu_babylon')
load('@bazel_tools//tools/build_defs/repo:http.bzl', 'http_archive')
http_archive(
name = 'com_google_absl',
urls = ['https://github.com/abseil/abseil-cpp/archive/refs/tags/20220623.1.tar.gz'],
strip_prefix = 'abseil-cpp-20220623.1',
sha256 = '91ac87d30cc6d79f9ab974c51874a704de9c2647c40f6932597329a282217ba8',
)
http_archive(
name = 'com_google_protobuf',
urls = ['https://github.com/protocolbuffers/protobuf/archive/refs/tags/v3.19.6.zip'],
strip_prefix = 'protobuf-3.19.6',
sha256 = '387e2c559bb2c7c1bc3798c4e6cff015381a79b2758696afcbf8e88730b47389',
)
load('@com_google_protobuf//:protobuf_deps.bzl', 'protobuf_deps')
protobuf_deps()
http_archive(
name = 'com_github_nelhage_rules_boost',
urls = ['https://github.com/nelhage/rules_boost/archive/4ab574f9a84b42b1809978114a4664184716f4bf.tar.gz'],
strip_prefix = 'rules_boost-4ab574f9a84b42b1809978114a4664184716f4bf',
sha256 = '2215e6910eb763a971b1f63f53c45c0f2b7607df38c96287666d94d954da8cdc',
)
load('@com_github_nelhage_rules_boost//:boost/boost.bzl', 'boost_deps')
boost_deps()
################################################################################
# test only dependency
http_archive(
name = 'com_google_googletest',
urls = ['https://github.com/google/googletest/releases/download/v1.15.2/googletest-1.15.2.tar.gz'],
strip_prefix = 'googletest-1.15.2',
sha256 = '7b42b4d6ed48810c5362c265a17faebe90dc2373c885e5216439d37927f02926',
)
http_archive(
name = 'rules_cuda',
urls = ['https://github.com/bazel-contrib/rules_cuda/releases/download/v0.2.3/rules_cuda-v0.2.3.tar.gz'],
strip_prefix = 'rules_cuda-v0.2.3',
sha256 = 'c92b334d769a07cd991b7675b2f6076b8b95cd3b28b14268a2f379f8baae58e0',
)
load('@rules_cuda//cuda:repositories.bzl', 'register_detected_cuda_toolchains', 'rules_cuda_dependencies')
rules_cuda_dependencies()
register_detected_cuda_toolchains()
################################################################################