Skip to content

Migration to bazelmod/Bazel 8 #405

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft

Conversation

stridge-tnp
Copy link

This is a draft of migration to bazel 8 and away from WORKSPACE. Its based on the branch @hovind made that i have modified slightly.

Relevant issues: #336 #210
Revelant PRs: bazelbuild/bazel-central-registry#4341

.bazelrc config

common --registry=https://raw.githubusercontent.com/UebelAndre/bazel-central-registry/verilator

MODULE.bazel snippet

bazel_dep(name = "rules_hdl", version = "")
git_override(
    module_name = "rules_hdl",
    commit = "34c35fe03f06d7f7ded79a36e54d73415fc12595",
    remote = "https://github.com/TernaryNP/bazel_rules_hdl.git",
)

bazel_dep(name = "verilator", version = "5.034")

I have verified that verilator is working correctly with these changes. Maybe someone can take over from here and ensure other parts of bazel_rules_hdl are not broken.
@hovind @UebelAndre @QuantamHD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants