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

Worflow: refactoring SPR to standard cmake and suppress warnings #2502

Merged
merged 1 commit into from
Feb 19, 2025

Conversation

lucbv
Copy link
Contributor

@lucbv lucbv commented Feb 18, 2025

The -Wpass-fail warnings are poluting the output of the compiler this does not really tell us anything either so let us suppress these.

@lucbv lucbv added the AT2-SPECIAL-APPROVAL Mark .github changes as approved. label Feb 18, 2025
@lucbv lucbv self-assigned this Feb 18, 2025
@lucbv lucbv added AT2-SPECIAL-APPROVAL Mark .github changes as approved. and removed AT2-SPECIAL-APPROVAL Mark .github changes as approved. labels Feb 19, 2025
@lucbv
Copy link
Contributor Author

lucbv commented Feb 19, 2025

Do we want to add -DCMAKE_EXE_LINKER_FLAGS="-Wno-unused-command-line-argument" to suppress the linker warnings? I am guessing the warnings are due to some path spack is adding by default?

@ndellingwood
Copy link
Contributor

@lucbv I think it's worth trying the suppression with the linker flags to see if it quiets down the noise in the output

The -Wpass-fail warnings are poluting the output of the compiler
this does not really tell us anything either so let us suppress
these. Addtionally, suppressing linker warnging with
-Wno-unused-command-line-argument. The build comes out a lot
cleaner now.

Signed-off-by: Luc Berger-Vergiat <[email protected]>
@lucbv lucbv force-pushed the spr_workflow_refactor branch from 246af63 to 27cfaab Compare February 19, 2025 17:33
@lucbv lucbv added AT2-SPECIAL-APPROVAL Mark .github changes as approved. and removed AT2-SPECIAL-APPROVAL Mark .github changes as approved. labels Feb 19, 2025
@lucbv
Copy link
Contributor Author

lucbv commented Feb 19, 2025

This latest update suppresses the linker warning we use to have, it looks like it's mostly building warning free now

@lucbv lucbv merged commit b8539d7 into kokkos:develop Feb 19, 2025
18 checks passed
@lucbv lucbv deleted the spr_workflow_refactor branch February 19, 2025 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AT2-SPECIAL-APPROVAL Mark .github changes as approved.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants