generated from limine-bootloader/limine-c-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
MODULE.bazel
55 lines (46 loc) · 1.23 KB
/
MODULE.bazel
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
module(name = "bolt")
#
# Constraints / Configuration for cross-platform setup.
#
bazel_dep(name = "platforms", version = "0.0.8")
#
# Utilities
#
bazel_dep(name = "bazel_skylib", version = "1.5.0")
# For compile_commands.json generation.
bazel_dep(name = "hedron_compile_commands", dev_dependency = True)
git_override(
module_name = "hedron_compile_commands",
remote = "https://github.com/hedronvision/bazel-compile-commands-extractor.git",
commit = "ceeb5dbdefb8839a1e29cc242bc1fe755a43609c",
)
#
# Rules
#
bazel_dep(name = "rules_cc", version = "0.0.9")
bazel_dep(name = "rules_foreign_cc", version = "0.10.1")
bazel_dep(name = "rules_python", version = "0.28.0")
#
# Python
#
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(
configure_coverage_tool = True,
is_default = True,
python_version = "3.12",
ignore_root_user_error = True,
)
#
# Testing
#
bazel_dep(name = "catch2", version = "3.5.1")
#
# Assembly
#
bazel_dep(name = "nasm", version = "2.14.02")
#
# Non-Module Dependencies
#
non_module_dependencies = use_extension("//:bazel/extensions.bzl", "non_module_dependencies")
use_repo(non_module_dependencies, "limine")
use_repo(non_module_dependencies, "xorriso")