Replace the hard-coded hash with a value fetched through the same
mechanism used for openroad. Also bump the tool version. This requires
changes to the workspace_status.sh script on the OR end.
When the hash is available (with --stamp):
$ bazel-bin/src/sta/opensta
OpenSTA 3.0.0 16ac05c87a Copyright (c) 2025, Parallax Software, Inc.
When it's not:
$ bazel-bin/src/sta/opensta
OpenSTA 3.0.0 unknown Copyright (c) 2025, Parallax Software, Inc.
Signed-off-by: Martin Povišer <povik@cutebit.org>
The bazel compile always happens as submodule in OpenROAD, so
we can use the same mechanism provided there to set up the
readline library.
Signed-off-by: Henner Zeller <h.zeller@acm.org>
In https://github.com/The-OpenROAD-Project/OpenROAD/pull/10041
we have a new way to initializa the tcl subsystem which
will allow to be entirely independent of separate files
once we can switch to Tcl9.
Signed-off-by: Henner Zeller <h.zeller@acm.org>
On MacOS the MachineApple.cc must be used instead of
MachineLinux.cc. I added a select statement.
Signed-off-by: Friedrich Beckmann <friedrich.beckmann@tha.de>
The tcl version in the bazel central registry supports MacOS and
it can be used via MODULES.bazel instead of WORKSPACE.
Signed-off-by: Friedrich Beckmann <friedrich.beckmann@tha.de>