Skip to content

bazel: bump ORFS to pick up the single-writer 1_synth.sdc fix - #10907

Merged
eder-matheus merged 1 commit into
The-OpenROAD-Project:masterfrom
oharboe:oharboe/bump-orfs-single-writer-sdc
Jul 14, 2026
Merged

eder-matheus merged 1 commit into
The-OpenROAD-Project:masterfrom
oharboe:oharboe/bump-orfs-single-writer-sdc

Conversation

@oharboe

@oharboe oharboe commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Follow-up to #10818. The single-writer 1_synth.sdc fix landed in ORFS as The-OpenROAD-Project/OpenROAD-flow-scripts#4333, but this repo pins ORFS directly via a root-module archive_override, so neither that merge nor bazelisk run @bazel-orfs//:bump (which intentionally leaves ORFS_COMMIT alone here) picked it up. This bumps ORFS_COMMIT past the fix: yosys' synth.tcl no longer copies SDC_FILE over 1_synth.sdc, so synth_odb.tcl's write_sdc is the sole writer and no longer fails on read-only bazel inputs (cp preserves the missing write bit on RBE).

Also drops 0035-orfs-bazel-orfs-visible-non-root.patch — upstreamed, @orfs now declares its bazel-orfs bazel_dep non-dev.

Verified locally by emulating RBE's read-only inputs with chmod a-w test/orfs/gcd/constraint.sdc: bazelisk build //test/orfs/gcd:gcd_synth fails on master with cannot write file .../1_synth.sdc (hzeller's exact error) and passes with this change, with write_sdc as the only writer in the log.

@hzeller this should unbreak your RBE runs at head.

🤖 Generated with Claude Code

ORFS afad87da includes OpenROAD-flow-scripts#4333: yosys' synth.tcl no
longer copies SDC_FILE over 1_synth.sdc, so synth_odb.tcl's write_sdc
is the sole writer and no longer fails when bazel inputs are read-only
(RBE; cp preserves the missing write bit). Follow-up to The-OpenROAD-Project#10818.

Drop 0035-orfs-bazel-orfs-visible-non-root.patch: upstreamed, @orfs now
declares its bazel-orfs bazel_dep non-dev.

Verified with chmod a-w test/orfs/gcd/constraint.sdc to emulate RBE's
read-only inputs: //test/orfs/gcd:gcd_synth fails before this change
with "cannot write file .../1_synth.sdc" and passes after.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
@oharboe
oharboe requested a review from a team as a code owner July 14, 2026 05:08
@oharboe
oharboe requested a review from eder-matheus July 14, 2026 05:08

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates the orfs dependency in MODULE.bazel to a newer commit, which natively includes the changes from the previously applied local patch. As a result, the local patch file and its export configuration have been removed. There are no review comments, so I have no feedback to provide.

@oharboe

oharboe commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator Author

@eder-matheus An CI outage, could you retry, on Mac?

@oharboe

oharboe commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator Author

@eder-matheus Thank you!

Do you think you could set this to auto-merge?

It would help @hzeller

@eder-matheus
eder-matheus merged commit 89bf707 into The-OpenROAD-Project:master Jul 14, 2026
17 of 18 checks passed
@oharboe

oharboe commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants