bazel: Switch to tcl9, don't use runfiles anymore.#10094
bazel: Switch to tcl9, don't use runfiles anymore.#10094hzeller wants to merge 1 commit intoThe-OpenROAD-Project:masterfrom
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the openmp and tcl_lang dependencies to newer versions and enables the use_zipfs flag by default in bazel/BUILD. Feedback was provided to remove an outdated inline comment that is no longer accurate following the Tcl 9 migration.
|
clang-tidy review says "All clean, LGTM! 👍" |
7a747da to
74fc11a
Compare
|
clang-tidy review says "All clean, LGTM! 👍" |
maliberty
left a comment
There was a problem hiding this comment.
Does this help reduced the symlinking done when running tests?
|
Yes. It reduces the symlinks to zero. |
|
(at least for |
|
mmh, testing locally Maybe there is an issue mapping with swig under Tcl 9 ? |
|
This happens when calling Is there something special that we need to do to hage Searcch.tcl see the definition in |
|
Looks like CI also fails with this as well. |
|
I see it in ./sta/util/Util.i I don't know why it isn't found. |
Pull request was converted to draft
Pull request was converted to draft
|
Will convert to draft for now and have a look separately when I find some time. |
|
Tried with latest swig 4.4.1 (which I am about to push to BCR), but that does not make a difference. |
We now can store a zipped set of tcl files for init.tcl and readline, so we don't need runfiles anymore. Also advantage: the bazel-bin/openroad binary is now self-complete, so it can be copied anywhere as it does not need to find the tcl files relative to the binary anymore. Signed-off-by: Henner Zeller <h.zeller@acm.org>
74fc11a to
8710f38
Compare
|
clang-tidy review says "All clean, LGTM! 👍" |
We now can store a zipped set of tcl files for init.tcl and readline, so we don't need runfiles anymore.
Also advantage: the bazel-bin/openroad binary is now self-complete, so it can be copied anywhere as it does not need to find the tcl files relative to the binary anymore.
While at it, also update
openmp: the previous version had some runfile that is actually not needed. So that helps us entirely not needing any runfiles anymore.