Skip to content

Conversation

@ZedThree
Copy link
Member

No description provided.

ZedThree added 5 commits July 30, 2024 16:36
This type might be different between MPI implementations, warnings
involving it being a specific typdef should mostly be ignored
We usually want to include `boutcomm` instead of `mpi` directly
@ZedThree
Copy link
Member Author

ZedThree commented Aug 1, 2024

The failing Fedora test is because this branch is missing the recent fix for fmt

Copy link
Contributor

@dschwoerer dschwoerer left a comment

Choose a reason for hiding this comment

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

Looks good, thanks 👍

*
**************************************************************************/

#include "bout/build_config.hxx"
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we generally push to prefer build_defines.hxx?

Copy link
Member Author

Choose a reason for hiding this comment

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

I have been switching to build_defines.hxx when we only need the preprocessor macro in a #if BOUT_HAS_FEATURE, because the misc-include-cleaner/IWYU complains about it -- alternatively, it's possible to add an IWYU pragma comment to make build_config.hxx the preferred header. Maybe that's better? Then we can basically forget about build_defines.hxx

@ZedThree ZedThree merged commit 526dca1 into v5.1.1-rc Aug 21, 2024
@ZedThree ZedThree deleted the sundials-clang-tidy-fixes branch August 21, 2024 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants