-
-
Notifications
You must be signed in to change notification settings - Fork 248
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
Fix compiler detection to avoid bad mpicc match #959
Conversation
Sorry, should have checked before assuming, but |
It does not need APPLE at all because UNIX implies APPLE. So it would be better if APPLE was removed. |
LGTM thank you! |
I think a maintainer has to click a button to allow the workflows to run for this PR. I am a first-time contributor to this repository. |
@Dead2 will need to approve. |
Did anyone actually test this with an Intel compiler to verify we don't have any regressions? |
Codecov Report
@@ Coverage Diff @@
## develop #959 +/- ##
===========================================
- Coverage 77.36% 77.34% -0.02%
===========================================
Files 74 74
Lines 8309 8309
Branches 1374 1374
===========================================
- Hits 6428 6427 -1
Misses 1348 1348
- Partials 533 534 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@Dead2 Yes, I have tested it with |
I tested this on Windows as well. Before this PR, GCC |
- Minor code cleanup #983 #984 - Fix mpicc compilation #959 - Fix build on NetBSD #964 - Fix build on OpenBSD #970 - Fix build on Cygwin #972 #974 - Fix linter warnings in configure #975 - Spelling fixes #961 - Improve unistd.h handling #960 - Remove stdarg.h detection #976 - CI/Test improvements #977 #981 #985 - Cmake improvements #980
- Minor code cleanup #983 #984 - Fix mpicc compilation #959 - Fix build on NetBSD #964 - Fix build on OpenBSD #970 - Fix build on Cygwin #972 #974 - Fix linter warnings in configure #975 - Spelling fixes #961 - Improve unistd.h handling #960 - Remove stdarg.h detection #976 - CI/Test improvements #977 #981 #985 - Cmake improvements #980 #989
- Fix inflate corruption #982 - Minor code cleanup #983 #984 - Fix mpicc compilation #959 - Fix build on NetBSD #964 - Fix build on OpenBSD #970 - Fix build on Cygwin #972 #974 - Fix linter warnings in configure #975 - Spelling fixes #961 - Improve unistd.h handling #960 - Remove stdarg.h detection #976 - CI/Test improvements #977 #981 #985 - Cmake improvements #980 #989
- Fix inflate corruption #982 - Minor code cleanup #983 #984 - Fix mpicc compilation #959 - Fix build on NetBSD #964 - Fix build on OpenBSD #970 - Fix build on Cygwin #972 #974 - Fix linter warnings in configure #975 - Spelling fixes #961 - Improve unistd.h handling #960 - Remove stdarg.h detection #976 - CI/Test improvements #977 #981 #985 - Cmake improvements #980 #989
Redo of #956. The previous test would match the MPI
mpicc
with the test for matching the intel compilericc
. This test uses CMake determinedCMAKE_C_COMPILER_ID
which is a safer test.Also fixes a test for the host machine.
APPLE
was missingCMAKE_HOST_APPLE