forked from nvidia-riva/cpp-clients
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
90 lines (78 loc) · 2.99 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
workspace(name = "com_nvidia_riva_api")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository", "new_git_repository")
# alsa is only library required to exist in local environment
new_local_repository(
name = "alsa",
path = "/usr/lib/x86_64-linux-gnu",
build_file = "third_party/BUILD.alsa"
)
new_local_repository(
name = "alsa_aarch64",
path = "/usr/lib/aarch64-linux-gnu",
build_file = "third_party/BUILD.alsa"
)
http_archive(
name = "com_google_absl",
urls = ["https://github.com/abseil/abseil-cpp/archive/c22c032a353b5dc16d86ddc879e628344e591e77.zip"],
strip_prefix = "abseil-cpp-c22c032a353b5dc16d86ddc879e628344e591e77",
sha256 = "88e79f5b7e3f92d3f19ad470cb38ef6becaf9bf195206ca9dba1a23d4017bc1a"
)
http_archive(
name = "com_github_grpc_grpc",
sha256 = "8c05641b9f91cbc92f51cc4a5b3a226788d7a63f20af4ca7aaca50d92cc94a0d",
strip_prefix = "grpc-1.44.0",
urls = [
"https://github.com/grpc/grpc/archive/v1.44.0.tar.gz",
],
)
http_archive(
name = "com_github_gflags_gflags",
strip_prefix = "gflags-2.2.2",
sha256 = "34af2f15cf7367513b352bdcd2493ab14ce43692d2dcd9dfc499492966c64dcf",
urls = [
"https://github.com/gflags/gflags/archive/v2.2.2.tar.gz",
],
)
http_archive(
name = "glog",
urls = ["https://github.com/google/glog/archive/v0.4.0.tar.gz"],
sha256 = "f28359aeba12f30d73d9e4711ef356dc842886968112162bc73002645139c39c",
strip_prefix = "glog-0.4.0",
)
http_archive(
name = "googletest",
url = "https://github.com/google/googletest/archive/refs/tags/release-1.11.0.tar.gz",
sha256 = "b4870bf121ff7795ba20d20bcdd8627b8e088f2d1dab299a031c1034eddc93d5",
strip_prefix = "googletest-release-1.11.0",
)
http_archive(
name = "rapidjson",
urls = ["https://github.com/Tencent/rapidjson/archive/0ccdbf364c577803e2a751f5aededce935314313.zip"],
sha256 = "79c7e037e25413673e29676e579676d761380329427d221ff74a4c00bf82efac",
strip_prefix = "rapidjson-0ccdbf364c577803e2a751f5aededce935314313",
build_file = "@//third_party:BUILD.rapidjson"
)
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()
load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
grpc_extra_deps()
git_repository(
name = "nvriva_common",
remote = "https://github.com/nvidia-riva/common.git",
commit = "9dfc052bba9a0cc2cc4b4f156e0ca8a273e9444e"
)
http_archive(
name = "libopus",
url = "https://github.com/xiph/opus/archive/refs/tags/v1.3.1.tar.gz",
sha256 = "4834a8944c33a7ecab5cad9454eeabe4680ca1842cb8f5a2437572dbf636de8f",
strip_prefix = "opus-1.3.1",
build_file = "//third_party:BUILD.libopus"
)
http_archive(
name = "libopusfile",
url = "https://github.com/xiph/opusfile/archive/refs/tags/v0.12.tar.gz",
sha256 = "a20a1dff1cdf0719d1e995112915e9966debf1470ee26bb31b2f510ccf00ef40",
strip_prefix = "opusfile-0.12",
build_file = "//third_party:BUILD.libopusfile"
)