diff --git a/MODULE.bazel b/MODULE.bazel index b66488108ff..a31647972c6 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -151,6 +151,7 @@ archive_override( patch_strip = 1, patches = [ "//bazel/bazel-orfs-patches:0035-fix-remove-non-root-overrides-from-MODULE.bazel.patch", + "//bazel/bazel-orfs-patches:0036-fix-sdc-readonly.patch", ], sha256 = "8325c6755215857a87a84db078d47dfbb2dfcbef70eaf0dd376fe5a7a363cd58", strip_prefix = "OpenROAD-flow-scripts-" + ORFS_COMMIT, diff --git a/bazel/bazel-orfs-patches/0036-fix-sdc-readonly.patch b/bazel/bazel-orfs-patches/0036-fix-sdc-readonly.patch new file mode 100644 index 00000000000..d065da8a83b --- /dev/null +++ b/bazel/bazel-orfs-patches/0036-fix-sdc-readonly.patch @@ -0,0 +1,8 @@ +--- a/flow/scripts/synth_odb.tcl.orig 2026-07-05 16:03:40.847972593 +0200 ++++ b/flow/scripts/synth_odb.tcl 2026-07-05 16:03:40.850477641 +0200 +@@ -30,4 +30,5 @@ + # the user could have dependencies, such as sourcing util.tcl, + # which are read in here and a canonicalized version is written + # out by OpenSTA that has no dependencies. ++catch {exec chmod +w $::env(RESULTS_DIR)/1_synth.sdc} + orfs_write_sdc $::env(RESULTS_DIR)/1_synth.sdc