-
Notifications
You must be signed in to change notification settings - Fork 188
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
Update build system for Clang 10 #4084
Conversation
Use sm_52 for CUDA 11 and sm_30 for CUDA 10.
The latest version has fixed -Wimplicit-float-conversion and has added missing includes.
Source files from external libraries are ignored by Clang-Tidy. Header files from external libraries are not ignored when included in source files from the current project. For example with Clang 10, ScaFaCoS triggers multiple alerts, e.g. bugprone-macro-parentheses and modernize-deprecated-headers. However, Clang-Tidy ignores header files from folder included with -isystem instead of -I, so that you can exclude them by marking them as SYSTEM.
There's no point in adding the automerge label if the CI infrastructure is down :-) |
so i cant express that i want to merge if our infrastructure is down? |
The merge commit will fail and kodiak will try to merge the following PRs in the queue, which will also fail. In the end we'll have merge commits everywhere, and once CI is up again, kodiak will have to introduce more merge commits since all PRs in the queue will outdate each other. We had this situation on December 19, if you remember. |
Description of changes:
-Wimplicit-float-conversion
everywhere (enabled by default in Clang 10 in constant expressions), fixes Implicit float conversions raise warnings in Clang 10 #4082SYSTEM
method already used by Random123 and h5xx (ScaFaCoS raises several alerts in Clang-Tidy 10)sm_XY
architecture(s) get compiled depending on the CUDA version