-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
145 lines (115 loc) · 4.06 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
workspace(name = "libopendrop")
BAZEL_VERSION = "5.1.0"
BAZEL_VERSION_SHA = "753434f4fa730266cf5ce21d1fdd425e1e167dd9347ad3e8adc19e8c0d54edca"
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",
)
git_repository(
name = "subpar",
commit = "15ddc75b94b19ea4f544cf5d3e640cd37a3a8b4b",
remote = "https://github.com/fughilli/subpar",
shallow_since = "1590903243 -0700",
)
git_repository(
name = "com_google_protobuf",
commit = "c9869dc7803eb0a21d7e589c40ff4f9288cd34ae",
patch_args = ["-p1"],
patches = ["@//third_party:additional_deps.patch"],
remote = "https://github.com/protocolbuffers/protobuf",
shallow_since = "1658780535 -0700",
)
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
protobuf_deps()
git_repository(
name = "com_google_absl",
commit = "0c92330442d6b1be934e0407115c8084250ef347",
remote = "https://github.com/abseil/abseil-cpp",
shallow_since = "1659719415 -0700",
)
git_repository(
name = "com_googletest",
commit = "5b909beeec178f338be997830b6c31a80cda7a93",
remote = "https://github.com/google/googletest",
shallow_since = "1659635637 -0700",
)
git_repository(
name = "com_google_re2",
commit = "a23f85cae66516b22fd35ba7b8f518133e4b68c4",
remote = "https://github.com/google/re2",
shallow_since = "1659694839 +0000",
)
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_python",
sha256 = "a3a6e99f497be089f81ec082882e40246bfd435f52f4e82f37e89449b04573f6",
strip_prefix = "rules_python-0.10.2",
url = "https://github.com/bazelbuild/rules_python/archive/refs/tags/0.10.2.tar.gz",
)
load("@rules_python//python:pip.bzl", "pip_parse")
pip_parse(
name = "py_deps",
requirements_lock = "//:requirements.txt",
)
load("@rules_python//python/pip_install:repositories.bzl", "pip_install_dependencies")
pip_install_dependencies()
load("@py_deps//:requirements.bzl", "install_deps")
install_deps()
git_repository(
name = "rpi_bazel",
commit = "e756f675ff35cc0f896869feb62d993384ad37e0",
remote = "https://github.com/fughilli/rpi_bazel",
shallow_since = "1604375754 -0800",
)
load("@rpi_bazel//tools/workspace:default.bzl", "add_default_repositories")
add_default_repositories()
http_archive(
name = "hedron_compile_commands",
sha256 = "8043456c9cdb084857628e1edbb92ecd15ea1cef93b9cf08745dd4f716dcc057",
strip_prefix = "bazel-compile-commands-extractor-e1e25d8d4827bfc7bf53d1aed35e8e28457ba96d",
url = "https://github.com/hedronvision/bazel-compile-commands-extractor/archive/e1e25d8d4827bfc7bf53d1aed35e8e28457ba96d.tar.gz",
)
load("@hedron_compile_commands//:workspace_setup.bzl", "hedron_compile_commands_setup")
hedron_compile_commands_setup()
new_git_repository(
name = "imgui",
build_file = "@//third_party:imgui.BUILD",
commit = "aa8680009248061c83f3d6722ec53c1a320d872b",
init_submodules = True,
remote = "https://github.com/ocornut/imgui",
shallow_since = "1644319784 +0100",
)
new_git_repository(
name = "implot",
build_file = "@//third_party:implot.BUILD",
commit = "b47c8bacdbc78bc521691f70666f13924bb522ab",
init_submodules = True,
remote = "https://github.com/epezent/implot",
shallow_since = "1643591232 -0800",
)
git_repository(
name = "fix_guards",
commit = "0a1142d81740a9f596d795654a2dab602a976ffa",
remote = "https://github.com/fughilli/fix_guards",
shallow_since = "1648239566 -0700",
)
new_git_repository(
name = "imgui_node_editor",
build_file = "@//third_party:imgui_node_editor.BUILD",
commit = "ba1e9a2490f8023321a98a941f0fb6a05f2da421",
init_submodules = True,
remote = "https://github.com/fughilli/imgui-node-editor",
shallow_since = "1650393433 -0700",
)
new_local_repository(
name = "host_sdl2",
build_file = "//third_party:sdl2.BUILD",
path = "/usr",
)
new_local_repository(
name = "host_gl",
build_file = "//third_party:gl.BUILD",
path = "/usr",
)