-
Notifications
You must be signed in to change notification settings - Fork 45
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
Use CMake abstract build commands #403
Conversation
@mathomp4 you will need to review this PR. |
I opened a related draft pull request: #404 |
@scivision I am a bit concerned that we go straight from ifort support to no ifort support in the CI. Why not start with two tests, one "Ifort Classic" and the other "Ifort LLVM". I'd prefer to keep Ifort Classic as long as the Intel repos have it around (and even then, we could install an older intel set of compilers as long as it it in the Apt repo). But there are more issues. First, every GFE repo needs an The bigger issue is that
When I see this:
I think this compiler is still too feature-light. I mean, Intel might say:
But, I mean, the compiler seems to disagree! Maybe ifx 2022.3 does support it, but we don't have it on discover at the moment. And I don't think that feature is Fortran 2018 as that was mainly C interoperability and coarray stuff (@tclune can be more precise). Maybe @tclune can figure out how to workaround the fact that NOTE: I think moving away from |
I removed oneAPI changes from this. I was planning another PR to simplify the compiler options -- these can be handled without overwriting defaults that can break the newer compilers by using add_compile_options() and CMake generator expressions. For now this just simplifies the CI cmake. Yes oneAPI 2022.2 isn't ready for this advanced level of Fortran syntax yet. |
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 like it passed. So seems safe. Approving!
use CMake abstract build commands for compactness and clarity