8000 [SystemC] integration tests: avoid compile_commands.json in clang-tidy. by dtzSiFive · Pull Request #5239 · llvm/circt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[SystemC] integration tests: avoid compile_commands.json in clang-tidy. #5239

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 23, 2023

Conversation

dtzSiFive
Copy link
Contributor

If CXX compiler is not clang (or not same clang as clang-tidy used), build flags may not be appropriate (or valid) for use by clang-tidy.

Workaround by adding trailing '--'.

Fixes #5236.

See upstream
llvm/llvm-project@626849c .

If CXX compiler is not clang (or not same clang as clang-tidy used),
build flags may not be appropriate (or valid) for use by clang-tidy.

Workaround by adding trailing '--'.

Fixes llvm#5236.

See upstream
llvm/llvm-project@626849c .
@dtzSiFive
Copy link
Contributor Author

If we are expecting clang-tidy to know about the systemc headers we may need to specify that here explicitly with this change (?). Have not confirmed to resolve the nightly test issue, but this is how upstream resolved similar problem.

@teqdruid teqdruid added the SystemC Related to the 'systemc' dialect label May 22, 2023
Copy link
Contributor
@teqdruid teqdruid left a comment

Choose a reason for hiding this comment

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

Based on the upstream commit, this looks appropriate to me. Thanks!

@dtzSiFive
Copy link
Contributor Author

Let's give it a try, then. Thanks!

@dtzSiFive dtzSiFive merged commit 53c65b7 into llvm:main May 23, 2023
@dtzSiFive dtzSiFive deleted the fix/clang-tidy-compile-commands branch May 23, 2023 16:27
@dtzSiFive
Copy link
Contributor Author

Looks like these configurations are now fixed in nightly!

Still fails due to valgrind issue, will file issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SystemC Related to the 'systemc' dialect
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[SystemC] Nightly integration ExportSystemC 'release' mode tests are failing
2 participants
0