-
Notifications
You must be signed in to change notification settings - Fork 308
misc: ci warnings rollup #7642
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
base: main
Are you sure you want to change the base?
misc: ci warnings rollup #7642
Conversation
`clang` emits `-Wsometimes-uninitialized` for the error case of `prepare_local_lpids` as `*num_worlds_out` is set to an uninitialized `num_worlds` upon jump to `fn_exit`. The fix is to move the initialization of `num_worlds` prior to the check.
`clang` doesn't have an equivalent to `-Wdiscarded-qualifiers`, so we shouldn't bother setting the ignore pragma.
`f16_sum/store/load` are unused when `MPIR_FLOAT16_CTYPE` exists, we should only include the function declaration and definitions if we need the software implementation.
`ucs_status_ptr_t` is a typedef for `void *` and `UCS_OK` is an enum which equals `0`. `NULL` and `UCS_OK` are equivalent for the purposes of `status`.
bb84dd9 to
50e3e0d
Compare
|
test: mpich/custom/spack |
3 similar comments
|
test: mpich/custom/spack |
|
test: mpich/custom/spack |
|
test: mpich/custom/spack |
|
test: mpich/custom/spack |
3 similar comments
|
test: mpich/custom/spack |
|
test: mpich/custom/spack |
|
test: mpich/custom/spack |
|
test: mpich/ch4/ofi |
|
test: mpich/custom/spack |
8 similar comments
|
test: mpich/custom/spack |
|
test: mpich/custom/spack |
|
test: mpich/custom/spack |
|
test: mpich/custom/spack |
|
test: mpich/custom/spack |
|
test: mpich/custom/spack |
|
test: mpich/custom/spack |
|
test: mpich/custom/spack |
Pull Request Description
This PR is a roll-up of various minor fixes for warning emits from our nightly CI. Most of these are emits which only present themselves on
clang. Comments are welcome if these fixes could be improved. :)Meta: I'm intending on using this PR as a testbed for the new
mpich-review-spackCI job which I've been workshopping. Please hold off merging this so I have a place to test the job and not pollute the comments of other PRs.Author Checklist
Particularly focus on why, not what. Reference background, issues, test failures, xfail entries, etc.
Commits are self-contained and do not do two things at once.
Commit message is of the form:
module: short descriptionCommit message explains what's in the commit.
Whitespace checker. Warnings test. Additional tests via comments.
For non-Argonne authors, check contribution agreement.
If necessary, request an explicit comment from your companies PR approval manager.