-
Notifications
You must be signed in to change notification settings - Fork 506
Bazel orfs update #4229
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
Merged
maliberty
merged 10 commits into
The-OpenROAD-Project:master
from
oharboe:bazel-orfs-update
May 14, 2026
Merged
Bazel orfs update #4229
Changes from 8 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
a8a4733
flow: declare LIB_MODEL + MIN_CLK_ROUTING_LAYER + SDC_FILE_EXTRA
oharboe a655249
designs/mock-alu: declare MOCK_ALU_{WIDTH,OPERATIONS} as user_arguments
oharboe fd25207
flow/designs: exports_files() for cross-package source references
oharboe 4014255
flow: exports_files for platform + cva6 cross-package source labels
oharboe 24acdb3
flow: log synthesized-netlist hash in synth.sh + clarify column label
oharboe 2ebd38e
bazel: stop tracking MODULE.bazel.lock
oharboe c18e424
flow/designs/design.bzl: export gds/gds.gz + factor helper
oharboe c44b22d
bazel: bump bazel-orfs to ce6efd9 with shared-block.mk + determinism …
oharboe cd5f4c7
fix: address gemini-code-assist nits on #4229
oharboe 5d5949a
bazel: user_sources= for design-private SOURCE_VARS, drop SDC_FILE_EX…
oharboe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,12 @@ | ||
| build --incompatible_strict_action_env | ||
| build --cxxopt "-std=c++20" --host_cxxopt "-std=c++20" | ||
|
|
||
| # Don't track MODULE.bazel.lock. Resolved versions ride along with the | ||
| # pinned BCR + git_override(commit=…) coordinates in MODULE.bazel and | ||
| # downstream cache hits are what we actually care about. Tracking the | ||
| # lockfile just means every bazel-orfs / yosys / openroad bump produces | ||
| # a 1000-line lock diff that buries the real change. Matches what | ||
| # bazel-orfs itself does (its own .bazelrc:7). | ||
| common --lockfile_mode=off | ||
|
|
||
| try-import %workspace%/user.bazelrc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,9 @@ | ||
| load("//flow/designs:design.bzl", "design") | ||
|
|
||
| design(config = "config.mk") | ||
| design( | ||
| config = "config.mk", | ||
| user_arguments = [ | ||
| "MOCK_ALU_OPERATIONS", | ||
| "MOCK_ALU_WIDTH", | ||
| ], | ||
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,39 @@ | ||
| filegroup( | ||
| name = "include", | ||
| srcs = glob(["*.v", "*.sv", "*.svh"], allow_empty = True), | ||
| srcs = glob( | ||
| [ | ||
| "*.v", | ||
| "*.sv", | ||
| "*.svh", | ||
| ], | ||
| allow_empty = True, | ||
| ), | ||
| visibility = ["//visibility:public"], | ||
| ) | ||
|
|
||
| filegroup( | ||
| name = "verilog", | ||
| srcs = glob(["*.v", "*.sv"], allow_empty = True), | ||
| srcs = glob( | ||
| [ | ||
| "*.v", | ||
| "*.sv", | ||
| ], | ||
| allow_empty = True, | ||
| ), | ||
| visibility = ["//visibility:public"], | ||
| ) | ||
|
|
||
| # bazel-orfs may translate $(DESIGN_HOME)/src/cva6/core/include/<file> | ||
| # references in a config.mk into per-file labels. Export individual | ||
| # files so cross-package label references resolve. | ||
| exports_files( | ||
| glob( | ||
| [ | ||
| "*.v", | ||
| "*.sv", | ||
| "*.svh", | ||
| ], | ||
| allow_empty = True, | ||
| ), | ||
| visibility = ["//visibility:public"], | ||
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.