Skip to content

Migrate to bzlmod.#430

Merged
QuantamHD merged 1 commit into
hdl:mainfrom
grebe:bzlmod2
Mar 25, 2026
Merged

Migrate to bzlmod.#430
QuantamHD merged 1 commit into
hdl:mainfrom
grebe:bzlmod2

Conversation

@grebe

@grebe grebe commented Mar 24, 2026

Copy link
Copy Markdown
Collaborator

This drops a lot of stuff in dependency_support/ and also changes how we do path discovery in some places.

@grebe grebe force-pushed the bzlmod2 branch 4 times, most recently from 6597da6 to 4ca75d7 Compare March 24, 2026 01:58
@mikesinouye

Copy link
Copy Markdown
Collaborator

/gcbrun

Comment thread MODULE.bazel

# 7zip extension
extension_setup_7zip = use_extension("@rules_7zip//:extension_setup_7zip.bzl", "extension_setup_7zip")
use_repo(extension_setup_7zip, "7zip")

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm seeing this error:

Step #1: ERROR: Traceback (most recent call last):
Step #1: 	File "/workspace/MODULE.bazel", line 54, column 9, in <toplevel>
Step #1: 		use_repo(extension_setup_7zip, "7zip")
Step #1: Error in use_repo: invalid user-provided repo name '7zip': valid names may contain only A-Z, a-z, 0-9, '-', '_', '.', and must start with a letter
Step #1: ERROR: Error computing the main repository mapping: error executing MODULE.bazel file for <root>

@mikesinouye

Copy link
Copy Markdown
Collaborator

/gcbrun

@mikesinouye

Copy link
Copy Markdown
Collaborator

/gcbrun

@mikesinouye

Copy link
Copy Markdown
Collaborator

/gcbrun

@mikesinouye

Copy link
Copy Markdown
Collaborator

/gcbrun

@mikesinouye

Copy link
Copy Markdown
Collaborator

/gcbrun

@mikesinouye

Copy link
Copy Markdown
Collaborator

/gcbrun

@mikesinouye

Copy link
Copy Markdown
Collaborator

/gcbrun

@mikesinouye

Copy link
Copy Markdown
Collaborator

/gcbrun

@mikesinouye

Copy link
Copy Markdown
Collaborator

/gcbrun

@mikesinouye

Copy link
Copy Markdown
Collaborator

/gcbrun

This drops a lot of stuff in dependency_support/ and also changes how we
do path discovery in some places.
@mikesinouye

Copy link
Copy Markdown
Collaborator

/gcbrun

@QuantamHD QuantamHD merged commit f4fadd7 into hdl:main Mar 25, 2026
4 checks passed
@mikesinouye mikesinouye mentioned this pull request Mar 25, 2026
5 tasks
@MrAMS

MrAMS commented Mar 26, 2026

Copy link
Copy Markdown
Contributor

Great to see rules_hdl has finally migrated to Bzlmod! 🥳 Thank you so much for your work.

By the way, I was wondering if rules_hdl would accept PR that replaces its internally maintained independent rulesets with the standalone ones from the BCR. I believe this would benefit the overall BCR ecosystem and align better with the modular philosophy of Bzlmod.

If rules_hdl prefers to maintain all its own rulesets internally, please let me know. ❤️

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.

4 participants