-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathMODULE.bazel
More file actions
42 lines (33 loc) · 1.39 KB
/
MODULE.bazel
File metadata and controls
42 lines (33 loc) · 1.39 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
"""muda"""
module(
name = "hugooole_muda",
version = "1.0.0-beta",
compatibility_level = 1,
)
bazel_dep(name = "rules_cc", version = "0.2.8")
bazel_dep(name = "rules_license", version = "1.0.0")
bazel_dep(name = "eigen", version = "3.4.1", dev_dependency = True)
bazel_dep(name = "bazel_skylib", version = "1.8.2")
# rules_cuda is required for CUDA toolchain support
bazel_dep(name = "rules_cuda", version = "0.2.4")
git_override(
module_name = "rules_cuda",
remote = "https://github.com/bazel-contrib/rules_cuda.git",
commit = "1bf21ef1eee98042c0b2c5f39365ac39a4217c53",
)
cuda = use_extension("@rules_cuda//cuda:extensions.bzl", "toolchain")
cuda.toolkit(
name = "cuda",
toolkit_path = "",
)
use_repo(cuda, "cuda")
# Optional for debug: Hedron's Compile Commands Extractor for Bazel
# https://github.com/hedronvision/bazel-compile-commands-extractor
# 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 = "abb61a688167623088f8768cc9264798df6a9d10",
# # Replace the commit hash (above) with the latest (https://github.com/hedronvision/bazel-compile-commands-extractor/commits/main).
# # Even better, set up Renovate and let it do the work for you (see "Suggestion: Updates" in the README).
# )