-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWORKSPACE
50 lines (37 loc) · 1.53 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
workspace(name = "rules_emulation")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# Setup documentation generator for Bazel.
# Required by: rules_emulation.
http_archive(
name = "io_bazel_stardoc",
sha256 = "c9794dcc8026a30ff67cf7cf91ebe245ca294b20b071845d12c192afe243ad72",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.5.0/stardoc-0.5.0.tar.gz",
"https://github.com/bazelbuild/stardoc/releases/download/0.5.0/stardoc-0.5.0.tar.gz",
],
)
load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories")
stardoc_repositories()
# Setup starlark libraries for Bazel.
# Required by: rules_emulation.
http_archive(
name = "bazel_skylib",
sha256 = "c6966ec828da198c5d9adbaa94c05e3a1c7f21bd012a0b29ba8ddbccb2c93b0d",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.1.1/bazel-skylib-1.1.1.tar.gz",
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.1.1/bazel-skylib-1.1.1.tar.gz",
],
)
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
bazel_skylib_workspace()
# Setup deps for rules_emulation.
# Required by rules_emulation.
load("@rules_emulation//:emulation_deps.bzl", "emulation_deps")
emulation_deps()
load(
"@rules_emulation//:emulation_workspace.bzl",
"emulation_workspace",
)
register_execution_platforms("@rules_emulation//examples/x86_baremetal:x86_64_baremetal")
emulation_workspace()
register_toolchains("@rules_emulation//emulation/qemu:all")