Skip to content

bazel: profiling use case documentation#7609

Merged
maliberty merged 1 commit into
The-OpenROAD-Project:masterfrom
Pinata-Consulting:bazel-profile-use-case
Jun 18, 2025
Merged

bazel: profiling use case documentation#7609
maliberty merged 1 commit into
The-OpenROAD-Project:masterfrom
Pinata-Consulting:bazel-profile-use-case

Conversation

@oharboe
Copy link
Copy Markdown
Collaborator

@oharboe oharboe commented Jun 18, 2025

No description provided.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
@oharboe oharboe requested a review from maliberty June 18, 2025 06:31
@github-actions
Copy link
Copy Markdown
Contributor

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

Comment thread docs/user/Bazel.md
Comment on lines +59 to +62
$ gdb bazel-bin/openroad
[deleted]
(gdb) attach 578603
Attaching to program: /home/oyvind/.cache/bazel/_bazel_oyvind/896cc02f64446168f604c13ad7b60f8b/execroot/_main/bazel-out/k8-fastbuild/bin/openroad, process 578603
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.

what happens if the running tests executable is not the same as the one linked in bazel-bin/openroad?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Unsure what you mean. bazel-bin points to the most recent bazelisk build.,

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.

I just meant that in the example those could actually be two different binaries (just depends if they were recompiled while something was running, ie. changing the most recent build).

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

not bazel or openroad specific: dont do that. :-)

@maliberty maliberty merged commit 41a5d4d into The-OpenROAD-Project:master Jun 18, 2025
11 checks passed
@oharboe oharboe deleted the bazel-profile-use-case branch June 18, 2025 18:47
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.

3 participants