Skip to content

Commit ae5f071

Browse files
committed
[bazel] Migrate nonhermetic repo to bzlmod
Signed-off-by: James Wainwright <[email protected]>
1 parent 3af1cd0 commit ae5f071

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

MODULE.bazel

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ bitstreams_repo = use_repo_rule("//rules:bitstreams.bzl", "bitstreams_repo")
4040

4141
bitstreams_repo(name = "bitstreams")
4242

43+
nonhermetic_repo = use_repo_rule("//rules:nonhermetic.bzl", "nonhermetic_repo")
44+
45+
nonhermetic_repo(name = "nonhermetic")
46+
4347
# Source repositories (not Bazel-aware):
4448
github_tools = use_extension("//third_party/github:extensions.bzl", "github_tools")
4549
use_repo(github_tools, "com_github_gh")

WORKSPACE.bzlmod

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ crt_deps()
1818
load("@crt//config:registration.bzl", "crt_register_toolchains")
1919
crt_register_toolchains(riscv32 = True)
2020

21-
# The nonhermetic_repo imports environment variables needed to run vivado.
22-
load("//rules:nonhermetic.bzl", "nonhermetic_repo")
23-
nonhermetic_repo(name = "nonhermetic")
24-
2521
register_toolchains(
2622
"//rules/opentitan:localtools",
2723
)

0 commit comments

Comments
 (0)