Skip to content

Run clang-tidy with nice if configured.#10369

Merged
maliberty merged 1 commit into
The-OpenROAD-Project:masterfrom
hzeller:feature-20260509-nice-tidy
May 10, 2026
Merged

Run clang-tidy with nice if configured.#10369
maliberty merged 1 commit into
The-OpenROAD-Project:masterfrom
hzeller:feature-20260509-nice-tidy

Conversation

@hzeller
Copy link
Copy Markdown
Collaborator

@hzeller hzeller commented May 9, 2026

... configuration default on.

I noticed while running clang-tidy in the background, that it otherwise bogs down the PC while doing other stuff.

... configuration default on.

I noticed while running clang-tidy in the background, that it
otherwise bogs down the PC while doing other stuff.

Signed-off-by: Henner Zeller <h.zeller@acm.org>
@github-actions github-actions Bot added the size/S label May 9, 2026
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

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 etc/run-clang-tidy-cached.cc
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a run_with_nice configuration option to execute clang-tidy via the Unix nice command, preventing it from consuming excessive system resources. Feedback suggests enhancing this feature by allowing an environment variable override (CLANG_TIDY_NICE) to maintain consistency with existing configuration patterns in the script.

Comment thread etc/run-clang-tidy-cached.cc
@maliberty maliberty merged commit 56b3158 into The-OpenROAD-Project:master May 10, 2026
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants