-
Notifications
You must be signed in to change notification settings - Fork 19
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 GCC-9 and GCC-10 in Github Action #94
Use GCC-9 and GCC-10 in Github Action #94
Conversation
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.
Thanks very much for this @kgerheiser , but I'm a little surprised by one thing here. Specifically, it looks like you had a successful gcc-10 build even though you're testing on the develop branch, whereas @mathomp4 wasn't able to do that, and which is why he opened #81 in the first place. In other words, you're not testing on the jba_mstabs branch that I created to fix that issue that he reported. So now I'm curious how you were able to do that, or what you may be doing differently from what he was doing? @mathomp4, were you doing your own compilation outside of our CMake scripts, perhaps with some different compiler flags than we use in our standard builds? Again, I'm wondering why/how @kgerheiser apparently had no problems with the GNU v10+ compiler even though he wasn't testing against my new branch(?) |
Yes, building with GCC 10 just worked for me. I didn't really look at the original error. |
It's possible @kgerheiser builds bufr with DYNAMIC_ALLOCATION? Or perhaps that is the default in whatever version he has? If so, you avoid the bug. |
OK, then it sounds like maybe we need to add testing for STATIC as well as DYNAMIC builds, in order to try to reproduce this error. I hadn't realized this before, but it looks like the static builds are only being tested for the Intel compiler!? Here's a snippet from # Only Intel supports STATIC_ALLOCATION if(CMAKE_C_COMPILER_ID MATCHES "^(Intel)$") list(APPEND test_kinds "4") endif() Does anyone know why this filter is here? Unless I'm missing something, we should be testing all builds (both STATIC and DYNAMIC) for all compilers, not just Intel. The only exceptions are Please understand that when we're talking about STATIC vs. DYNAMIC here, we're talking about how arrays are allocated internally within the library, not about how the library is linked to an application program! So again, at least in my mind there's no reason we shouldn't be testing the STATIC builds as well as the DYNAMIC builds on all platforms (again, for all test programs except for |
Also, @kgerheiser, I noticed that there are two checks from yesterday which are still hung in a "Waiting for status to be reported" state. Do you have any idea what's going on here? |
Yes, since the checks changed, they need to be updated in the repository settings |
I've updated the branch settings. It can be merged now. I think we should merge this and then deal with the other issues separately. |
OK, I'll go ahead and merge your main.yml change, and then we can deal with the static vs. dynamic as a separate issue. |
Add GCC-10 to build matrix
Fixes #93