File: MODULE.bazel

package info (click to toggle)
spirv-tools 2025.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 28,588 kB
  • sloc: cpp: 470,407; javascript: 5,893; python: 3,326; ansic: 488; sh: 450; ruby: 88; makefile: 18; lisp: 9
file content (35 lines) | stat: -rw-r--r-- 915 bytes parent folder | download | duplicates (6)
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
bazel_dep(name = "bazel_skylib", version = "1.5.0")

bazel_dep(name = "googletest", dev_dependency = True)
local_path_override(
    module_name = "googletest",
    path = "external/googletest",
)

bazel_dep(name = "re2", dev_dependency = True)
local_path_override(
    module_name = "re2",
    path = "external/re2",
)

bazel_dep(name = "effcee", dev_dependency = True)
local_path_override(
    module_name = "effcee",
    path = "external/effcee",
)

bazel_dep(name = "rules_python",
          version = "1.5.1")

# https://rules-python.readthedocs.io/en/stable/toolchains.html#library-modules-with-dev-only-python-usage
python = use_extension(
    "@rules_python//python/extensions:python.bzl",
    "python",
    dev_dependency = True
)

python.toolchain(python_version = "3.12",
                 is_default = True,
                 ignore_root_user_error = True)

bazel_dep(name = "rules_cc", version = "0.1.1")