-
-
Notifications
You must be signed in to change notification settings - Fork 47
🚨 Run clang-tidy on MLIR subproject, switch to LLVM@20, and update to CMake >= 3.24
#879
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
Conversation
Codecov ReportAttention: Patch coverage is 📢 Thoughts on this report? Let us know! |
1ed6a13 to
5204eaa
Compare
5204eaa to
2db583b
Compare
|
@flowerthrower @ystade just venting my frustration here. Of course the LLVM set up would be making problems with clang-tidy.. it's not like that is actually part of the same monorepository.. |
LLVM@20, and update to CMake >= 3.24
…VM@20 Signed-off-by: burgholzer <burgholzer@me.com>
Signed-off-by: burgholzer <burgholzer@me.com>
Signed-off-by: burgholzer <burgholzer@me.com>
the latest Ubuntu LTS version 24.04 ships with 3.28 so we should be good. Signed-off-by: burgholzer <burgholzer@me.com>
…CoreIR library privately linking to the `project_options` does not propagte the feature requirement to the interface properties of the linked target, which is undesired. Everyone linking against our libraries will almost surely have to have C++ 17 support. Signed-off-by: burgholzer <burgholzer@me.com>
this was revealed as part of enabling `CMAKE_VERIFY_INTERFACE_HEADER_SETS` Signed-off-by: burgholzer <burgholzer@me.com>
also removes the legacy `QFRException` class and moves some methods from the `ir/Definitions` file to a more suitable place. Signed-off-by: burgholzer <burgholzer@me.com>
… enable interface header verification Signed-off-by: burgholzer <burgholzer@me.com>
Signed-off-by: burgholzer <burgholzer@me.com>
Signed-off-by: burgholzer <burgholzer@me.com>
Signed-off-by: burgholzer <burgholzer@me.com>
Signed-off-by: burgholzer <burgholzer@me.com>
Signed-off-by: burgholzer <burgholzer@me.com>
Signed-off-by: burgholzer <burgholzer@me.com>
b5d56e5 to
4642a92
Compare
|
Alright, after the revelation that the project needs to be built in order for the MLIR files in the build directory to be generated, this seems to work now. I guess we will see in the upcoming MLIR PRs. I am disregarding the patch coverage here, as these are mostly code paths that should never be exercised and merely exist out of caution. |
Description
This pull request enables running
clang-tidyfor the MLIR subproject and updates the project to use LLVM version 20. This enhances code quality checks and aligns the project with the latest LLVM updates. It is also the same version currently shipped with CLion.In addition, this PR raises the minimum supported CMake version to 3.24, which brings in several improvements:
Checklist: