Skip to content
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

github-actions: Do not treat tautological-constant-compare as error. #15327

Merged
merged 1 commit into from Jun 16, 2023

Conversation

marcfehling
Copy link
Member

@marcfehling marcfehling commented Jun 7, 2023

Part of #15301.

Instead of disabling finite math for the IntelLLVM build, I propose to no longer treat the warning associated with the isnan comparison as an error. They will still be displayed as warnings, but the build completes. This only affects the CI check, not the general way we build the library with IntelLLVM.

This way we can catch other issues related to finite math mode, which is the default for the IntelLLVM compiler.

@masterleinad -- What do you think?

@bangerth
Copy link
Member

bangerth commented Jun 8, 2023

The question is whether we still get correct code?

@masterleinad
Copy link
Member

In my opinion, we shouldn't try to promise (and thus test) correctness for fast-math optimization flags in our CI (but possibly for regression testing at https://cdash.dealii.org/index.php?project=deal.II).

@bangerth
Copy link
Member

bangerth commented Jun 8, 2023

To be clear, I'm ok with enabling this flag for the CI check. But it should not be a default flag we use for this compiler.

@bangerth bangerth merged commit 11b4d31 into dealii:master Jun 16, 2023
11 of 14 checks passed
@marcfehling marcfehling deleted the isnan-3 branch June 19, 2023 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants