Skip to content

Commit d308ca9

Browse files
oharboeclaude
andcommitted
deps: drop redundant yosys Tcl 9 patch
The carried patch (yosys upstream commit 167c6c4, "Replace deprecated Tcl API to fix use-after-free") was upstreamed into BCR yosys 0.62.bcr.2 via bazel-central-registry#8636. bazel-orfs already dropped the same patch in commit 78f19f25 (\"chore: bump yosys to 0.62.bcr.2 and drop carried patches\"); we forked from a state that pre-dated that absorption. yosys-slang stays — it's the runtime slang.so plugin we still need to build from source for SYNTH_HDL_FRONTEND=slang. OpenROAD's tools/OpenROAD/MODULE.bazel sidesteps both by pinning a pre-d11ce8a bazel-orfs that pulls yosys+slang out of the ORFS docker image. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
1 parent fe89d47 commit d308ca9

3 files changed

Lines changed: 0 additions & 93 deletions

File tree

‎MODULE.bazel‎

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -67,20 +67,6 @@ git_override(
6767
remote = "https://github.com/povik/yosys-slang.git",
6868
)
6969

70-
# YosysHQ/yosys 167c6c4 ("Replace deprecated Tcl API to fix use-after-free")
71-
# fixes a Tcl 9 use-after-free in rtlil::get_attr/get_param that produces
72-
# corrupted module names like '\K B-W_KOGGE_STONE' during ORFS-style
73-
# wrapcell flows. The fix is in yosys main but not yet in the BCR-tagged
74-
# 0.62; carry it as a patch until the next release lands.
75-
single_version_override(
76-
module_name = "yosys",
77-
patch_strip = 1,
78-
patches = [
79-
"//bazel/yosys-patches:0001-Replace-deprecated-Tcl-API-to-fix-use-after-free.patch",
80-
],
81-
version = "0.62.bcr.2",
82-
)
83-
8470
# --- Extensions ---
8571

8672
llvm = use_extension(

‎bazel/yosys-patches/0001-Replace-deprecated-Tcl-API-to-fix-use-after-free.patch‎

Lines changed: 0 additions & 78 deletions
This file was deleted.

‎bazel/yosys-patches/BUILD.bazel‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)