Skip to content

Remove not needed system header includes. - #9090

Closed
hzeller wants to merge 1 commit into
The-OpenROAD-Project:masterfrom
hzeller:feature-20251218-remove-unneeded-sys-hdrs
Closed

Remove not needed system header includes.#9090
hzeller wants to merge 1 commit into
The-OpenROAD-Project:masterfrom
hzeller:feature-20251218-remove-unneeded-sys-hdrs

Conversation

@hzeller

@hzeller hzeller commented Dec 18, 2025

Copy link
Copy Markdown
Collaborator

No description provided.

@maliberty
maliberty enabled auto-merge December 18, 2025 21:13

@github-actions github-actions Bot left a comment

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.

clang-tidy made some suggestions

Comment thread src/mpl/src/hier_rtlmp.cpp
Comment thread src/mpl/src/hier_rtlmp.cpp
auto-merge was automatically disabled December 19, 2025 15:05

Head branch was pushed to by a user without write access

@hzeller
hzeller force-pushed the feature-20251218-remove-unneeded-sys-hdrs branch 2 times, most recently from bac4319 to 3dc020b Compare December 19, 2025 15:06

@github-actions github-actions Bot left a comment

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.

clang-tidy made some suggestions

@@ -26,6 +25,7 @@
#include "SACoreHardMacro.h"
#include "SACoreSoftMacro.h"
#include "SimulatedAnnealingCore.h"
#include "boost/polygon/polygon.hpp"
#include "clusterEngine.h"

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.

warning: included header polygon.hpp is not used directly [misc-include-cleaner]

Suggested change
#include "clusterEngine.h"
#include "clusterEngine.h"

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.

Header is used, but they don't have the correct annotations ( which I attempt to fix upstream boostorg/polygon#98 ).

@hzeller
hzeller force-pushed the feature-20251218-remove-unneeded-sys-hdrs branch from 3dc020b to 87ef3ad Compare December 22, 2025 08:56
@maliberty

Copy link
Copy Markdown
Member

approved in concept; will merge when the CI passes

Signed-off-by: Henner Zeller <h.zeller@acm.org>
@hzeller
hzeller force-pushed the feature-20251218-remove-unneeded-sys-hdrs branch from 87ef3ad to e24666b Compare December 23, 2025 10:22
@github-actions

Copy link
Copy Markdown
Contributor

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

@hzeller

hzeller commented Dec 23, 2025

Copy link
Copy Markdown
Collaborator Author

is the CI failure something from the change or just a CI glitch ?

@maliberty

Copy link
Copy Markdown
Member

real failures, eg https://jenkins.openroad.tools/job/OpenROAD-Public/job/PR-9090-head/5/pipeline-overview/log?nodeId=264

[2025-12-23T10:42:35.773Z] #9 119.0 /OpenROAD/src/gui/src/dbDescriptors.cpp:1313:8: error: ‘priority_queue’ is not a member of ‘std’

@hzeller

hzeller commented Dec 23, 2025

Copy link
Copy Markdown
Collaborator Author

ok, I think for now let's abandon this. We should first add all missing headers before we remove some. clang-tidy gets confused with that.

@maliberty maliberty closed this Dec 23, 2025
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.

2 participants