Repository navigation
build: fix Bazel build constraints and bump bazel-orfs - #4398
Conversation
b5d0c3f to
05e5f75
Compare
There was a problem hiding this comment.
Code Review
This pull request updates Bazel build configurations, bumps the BAZEL_ORFS_COMMIT version, and refactors the design macro calls across several design configurations to specify local/user arguments and sources. Feedback suggests removing the now-unused private helper function _engine_variant_targets in flow/designs/design.bzl to avoid dead code, and cleaning up unnecessary blank lines introduced in MODULE.bazel.
- Bumped bazel-orfs commit in MODULE.bazel to pull latest upstream patches. - Fixed an invalid label reference (bazel/install.sh -> //bazel:install.sh) in BUILD.bazel. - Added `allow_empty = True` to patches glob in bazel/BUILD to prevent failures when no patches exist. - Removed unsupported `extra` argument from orfs_design in flow/designs/design.bzl. - Added missing variable scopes (user_arguments, local_arguments, user_sources) to design BUILD files for gf180 and ihp-sg13g2 to pass bazel-orfs strict validation. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
05e5f75 to
5328af2
Compare
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request updates the BAZEL_ORFS_COMMIT in MODULE.bazel, modifies BUILD.bazel and bazel/BUILD to properly export and reference the install.sh script, and updates the tools/OpenROAD subproject commit. Additionally, it removes the unused _engine_variant_targets function from flow/designs/design.bzl and updates several design BUILD files (aes-hybrid, aes, and i2c-gpio-expander) with specific local_arguments, user_arguments, and user_sources. There are no review comments, and I have no feedback to provide.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
🔍 QoR checkMetrics reflect the PR merge build — i.e. what will land on the target branch. Advisory — results are log-only and do not affect build status. The authoritative QoR gate remains the local rules-file check. Commit 61 design(s) checked — 0 with regression(s), 7 without a comparable baseline.
|
|
@maliberty looks like master problems, because bazek us not to CI for ORFS |
Separating out Bazel drive-by fixes from the FakeRAM PR.
These changes were originally part of the FakeRAM auto-memories work but are completely independent and solve existing build validation failures with Bazel:
bazel-orfscommit inMODULE.bazelto pull latest upstream patches.bazel/install.sh->//bazel:install.sh) inBUILD.bazel.allow_empty = Trueto patches glob inbazel/BUILDto prevent failures when no patches exist.extraargument fromorfs_designinflow/designs/design.bzl.user_arguments,local_arguments,user_sources) to designBUILDfiles forgf180andihp-sg13g2to passbazel-orfsstrict validation.