-
Notifications
You must be signed in to change notification settings - Fork 407
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 minimum compiler versions + clean up #5323
Update minimum compiler versions + clean up #5323
Conversation
2ca4a30
to
1dd2b2d
Compare
// FIXME Workaround for ICE with intel <=21 in Trilinos | ||
#if (KOKKOS_COMPILER_INTEL <= 2100) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This corresponds to #5311.
I'll check the Intel version number stuff |
Intel 19.0.5:
|
Thanks! |
b0da859
to
f02c76f
Compare
The only failure is
in |
cmake/kokkos_compiler_id.cmake
Outdated
MESSAGE(FATAL_ERROR "${KOKKOS_MESSAGE_TEXT}") | ||
ENDIF() | ||
ELSEIF(KOKKOS_CXX_COMPILER_ID STREQUAL XL OR KOKKOS_CXX_COMPILER_ID STREQUAL XLClang) | ||
MESSAGE(FATAL_ERROR "${KOKKOS_MESSAGE_TEXT}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The list does not explicitly mention IBM XL
Should we say it is not supported?
Also should we have a flag to turn the error into a warning and continue processing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See 30fc3d6.
Other than Damien's remark about explicitly reporting that IBM XL is no longer supported, this all looks good to me. We may want to audit the remaining |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
30fc3d6
to
284bbba
Compare
Dropping XL is now part of #5349. |
# TODO check if PGI accepts GNU style warnings | ||
KOKKOS_INTERNAL_COMPILER_WARNINGS = | ||
ifeq ($(KOKKOS_INTERNAL_COMPILER_CLANG), 1) | ||
KOKKOS_INTERNAL_COMPILER_WARNINGS = -Wall -Wunused-parameter -Wshadow -pedantic -Wsign-compare -Wtype-limits -Wuninitialized | ||
else |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please format this way
ifeq (COND1)
...
else ifeq (COND2)
...
else ifeq (COND3)
...
else
...
endif
to improve readability
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good besides the format fix I asked for
Fixes #5285. This excludes ROCm/HIPCC and icpx. We'll update them later.