Repository navigation
Expand file tree
/
Copy pathMODULE.bazel
More file actions
45 lines (38 loc) · 1.61 KB
/
Copy pathMODULE.bazel
File metadata and controls
45 lines (38 loc) · 1.61 KB
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
module(
name = "rest_api_helper",
version = "0.0.1",
)
bazel_dep(name = "platforms", version = "1.0.0")
bazel_dep(name = "rules_cc", version = "0.2.16")
bazel_dep(name = "cpp-httplib", version = "0.22.0")
bazel_dep(name = "nlohmann_json", version = "3.12.0.bcr.1")
bazel_dep(name = "googletest", version = "1.17.0", dev_dependency = True)
bazel_dep(name = "hedron_compile_commands", dev_dependency = True)
bazel_dep(name = "toolchains_llvm", version = "1.6.0", dev_dependency = True)
bazel_dep(name = "bazel_clang_format", version = "0.0.1", dev_dependency = True)
bazel_dep(name = "bazel_clang_tidy", version = "0.0.1", dev_dependency = True)
# Build Utils
bazel_dep(name = "build_utils", version = "0.0.1")
# LLVM Setup
llvm = use_extension("@toolchains_llvm//toolchain/extensions:llvm.bzl", "llvm", dev_dependency = True)
llvm.toolchain(
llvm_version = "21.1.6",
)
use_repo(llvm, "llvm_toolchain")
register_toolchains("@llvm_toolchain//:all", dev_dependency = True)
# Overrides for dependencies used by build_utils (root module must define these if not in registry)
git_override(
module_name = "bazel_clang_format",
remote = "https://github.com/oliverlee/bazel_clang_format.git",
commit = "af6c342dc592ad4f1af76d0260aac90d5c9b426f",
)
git_override(
module_name = "bazel_clang_tidy",
remote = "https://github.com/erenon/bazel_clang_tidy.git",
commit = "9e54bbb15d1939a9d030c52f3032886a0b278f98",
)
git_override(
module_name = "hedron_compile_commands",
remote = "https://github.com/mikael-s-persson/bazel-compile-commands-extractor.git",
commit = "f5fbd4cee671d8d908f37c83abaf70fba5928fc7",
)