Skip to content

Fix version strings in standalone bazel build#308

Open
openroad-ci wants to merge 1 commit intoThe-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:bzl-banner
Open

Fix version strings in standalone bazel build#308
openroad-ci wants to merge 1 commit intoThe-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:bzl-banner

Conversation

@openroad-ci
Copy link
Copy Markdown
Collaborator

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.

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 16ac05c 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>
QuantamHD pushed a commit to QuantamHD/OpenSTA that referenced this pull request Mar 24, 2026
…ct#308)

This prevents the thundering herd problem and should increase the
scalability of the DispatchQueue significantly.

Additionally the code the DispatchQueue was taken from made this
improvement five years ago:
embeddedartistry/embedded-resources@79ad8a5

Signed-off-by: Drew Lewis <cannada@google.com>
Copy link
Copy Markdown
Contributor

@dsengupta0628 dsengupta0628 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR sets STA_VERSION "3.0.0" but CMakeLists.txt line 27 has: project(STA VERSION 3.1.0
These should be consistent. Either this PR should use 3.1.0, or there's a deliberate reason for the difference. Please check

Please sync to latest OpenSTA as I have some changes in this file to take in the string squash change from upstream OpenSTA

@maliberty
Copy link
Copy Markdown
Member

Who are you asking to sync?

@dsengupta0628
Copy link
Copy Markdown
Contributor

Who are you asking to sync?

My bad! I meant this for the PR author @povik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants