Skip to content

Commit

Permalink
[bazel] Migrate Google dependencies to bzlmod
Browse files Browse the repository at this point in the history
Signed-off-by: James Wainwright <[email protected]>
  • Loading branch information
jwnrt committed Dec 18, 2024
1 parent 579025e commit 10d1167
Show file tree
Hide file tree
Showing 6 changed files with 279 additions and 82 deletions.
6 changes: 6 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@
module(name = "lowrisc_opentitan")

# Dependencies:
bazel_dep(name = "abseil-cpp", version = "20230802.0")
bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "googletest", version = "1.11.0")
bazel_dep(name = "platforms", version = "0.0.10")
bazel_dep(name = "rules_cc", version = "0.0.9")
bazel_dep(name = "rules_foreign_cc", version = "0.9.0")
bazel_dep(name = "rules_fuzzing", version = "0.5.2")
bazel_dep(name = "rules_pkg", version = "0.7.0")

# Dev dependencies:
bazel_dep(
Expand Down
273 changes: 273 additions & 0 deletions MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions WORKSPACE.bzlmod
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@

workspace(name = "lowrisc_opentitan")

# Google/Bazel dependencies. This needs to be after Python initialization
# so that our preferred python configuration takes precedence.
load("//third_party/google:repos.bzl", "google_repos")
google_repos()
load("//third_party/google:deps.bzl", "google_deps")
google_deps()

# CRT is the Compiler Repository Toolkit. It contains the configuration for
# the windows compiler.
load("//third_party/crt:repos.bzl", "crt_repos")
Expand Down
3 changes: 0 additions & 3 deletions third_party/google/BUILD

This file was deleted.

13 changes: 0 additions & 13 deletions third_party/google/deps.bzl

This file was deleted.

Loading

0 comments on commit 10d1167

Please sign in to comment.