Skip to content

Simplify tcl library initialization post switch to Tcl9#10227

Merged
maliberty merged 1 commit into
The-OpenROAD-Project:masterfrom
hzeller:feature-20260422-no-tcl8
Apr 29, 2026
Merged

Simplify tcl library initialization post switch to Tcl9#10227
maliberty merged 1 commit into
The-OpenROAD-Project:masterfrom
hzeller:feature-20260422-no-tcl8

Conversation

@hzeller

@hzeller hzeller commented Apr 22, 2026

Copy link
Copy Markdown
Collaborator

In tcl9, we don't need the runfiles anymore as we can use the embedded zipfs. Remove remants that were needed to provide runfile support.

@hzeller

hzeller commented Apr 22, 2026

Copy link
Copy Markdown
Collaborator Author

Setting as draft for now, so that we can watch the Tcl9 change from earlier soak for a while until we're confident to permanently switching to it and leave runfiles behind.

@hzeller hzeller force-pushed the feature-20260422-no-tcl8 branch from 113de20 to e59fb2c Compare April 22, 2026 09:06

@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 removes support for Tcl 8, simplifying the build system and the Tcl library initialization by exclusively using the Tcl 9 zipfs feature. The extract_zip rule, associated build configurations, and complex runfile-based initialization logic in tcl_library_init.cc have been deleted. Feedback suggests updating an outdated comment and returning the mount point as a constant string literal instead of retrieving it from the Tcl interpreter to improve clarity and robustness.

Comment thread bazel/tcl_library_init.cc Outdated
@github-actions

Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

1 similar comment
@github-actions

Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

In tcl9, we don't need the runfiles anymore as we can use the
embedded zipfs. Remove remants that were needed to provide
runfile support.

Signed-off-by: Henner Zeller <h.zeller@acm.org>
@hzeller hzeller force-pushed the feature-20260422-no-tcl8 branch from e59fb2c to e2a4b6f Compare April 22, 2026 09:11
@github-actions

Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@hzeller hzeller marked this pull request as ready for review April 29, 2026 14:55
@hzeller

hzeller commented Apr 29, 2026

Copy link
Copy Markdown
Collaborator Author

Un-drafting. Looks like things are sufficiently soaked with Tcl9 working well. Time to simplify and get rid of the runfiles compatibility layer.

@maliberty maliberty merged commit b15a316 into The-OpenROAD-Project:master Apr 29, 2026
16 checks passed
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