Skip to content

Fix a couple of dependency and linking issues#7728

Merged
maliberty merged 11 commits into
The-OpenROAD-Project:masterfrom
hzeller:feature-20250706-fix-link
Jul 10, 2025
Merged

Fix a couple of dependency and linking issues#7728
maliberty merged 11 commits into
The-OpenROAD-Project:masterfrom
hzeller:feature-20250706-fix-link

Conversation

@hzeller
Copy link
Copy Markdown
Collaborator

@hzeller hzeller commented Jul 6, 2025

No description provided.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jul 6, 2025

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

@maliberty
Copy link
Copy Markdown
Member

Once #7730 merges, please merge master to this PR so we can see bazel run

Comment thread src/mpl/BUILD Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why is this necessary? mpl has no direct use of cudd

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.

ah, it was not. It was due to an include of "util.h" which is a very generically named header without the use of project-relative paths. And it is also provided by cudd. Anyway, my scripts picked up on that.

We really should establish project-relative paths soon.

Fixed.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't see it as fixed. I see the same in rcx as well.

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.

done.

@hzeller hzeller force-pushed the feature-20250706-fix-link branch from f3d5710 to 9ff89ce Compare July 6, 2025 16:54
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jul 6, 2025

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

1 similar comment
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jul 6, 2025

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

@oharboe
Copy link
Copy Markdown
Collaborator

oharboe commented Jul 7, 2025

@hzeller I think a merge with master will fix the bazelisk snag.

@hzeller hzeller force-pushed the feature-20250706-fix-link branch from dff45e4 to 2fcda33 Compare July 7, 2025 08:26
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jul 7, 2025

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

@maliberty
Copy link
Copy Markdown
Member

Bazelisk is fixed but it now fails on build errors, eg : error: undefined symbol: grt::GlobalRouter::getPinGridPositions(odb::dbNet*)

@hzeller hzeller force-pushed the feature-20250706-fix-link branch from 1e7d2e2 to e56fb30 Compare July 8, 2025 11:37
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jul 8, 2025

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

1 similar comment
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jul 8, 2025

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

hzeller and others added 10 commits July 8, 2025 05:57
The ompt-specific.cpp file is included in ompt-general.cpp, so it should
not be also compiled and linked separately, otherwise this results
in duplicate symbols in linking.

Signed-off-by: Henner Zeller <h.zeller@acm.org>
Signed-off-by: Henner Zeller <h.zeller@acm.org>
Signed-off-by: Henner Zeller <h.zeller@acm.org>
Signed-off-by: Henner Zeller <h.zeller@acm.org>
Signed-off-by: Henner Zeller <h.zeller@acm.org>
Signed-off-by: Henner Zeller <h.zeller@acm.org>
Signed-off-by: Henner Zeller <h.zeller@acm.org>
Signed-off-by: Henner Zeller <h.zeller@acm.org>
Signed-off-by: Henner Zeller <h.zeller@acm.org>
The unit test fails to link as rsz can not have its needed
dependency on grt (e.g. rsz::Resizer::ensureParasitics()
calls grt::GlobalRouter::haveRoutes())

Since we can't provide a proper dependency quite yet, add it
to the unittest to satisfy.

Signed-off-by: Henner Zeller <hzeller@google.com>
@hzeller hzeller force-pushed the feature-20250706-fix-link branch from e56fb30 to efc2353 Compare July 8, 2025 12:57
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jul 8, 2025

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

Comment thread src/drt/BUILD Outdated
Comment thread src/cts/test/BUILD
Signed-off-by: Henner Zeller <h.zeller@acm.org>
@github-actions
Copy link
Copy Markdown
Contributor

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

@maliberty maliberty merged commit 512c29b into The-OpenROAD-Project:master Jul 10, 2025
11 checks passed
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