-
Notifications
You must be signed in to change notification settings - Fork 168
Refactoring compiler #914
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
Refactoring compiler #914
Conversation
angus-g
left a comment
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.
It does seem like this will make it a bit easier to configure different compilers!
I've got a few comments about structure: there's quite a lot of duplication between different compiler configs, and they're pretty verbose.
angus-g
left a comment
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 looks like it should work for the moment, although I haven't tested the extension to the non-GCC compilers. Importantly, it respects CC for non-MPI compilation (although in MPI mode it will always use mpicc).
Just one problem with the specification of the linker flags that I can see, otherwise seems fine!
5978a8f to
c72eed9
Compare
This PR implements #869, and supports external libraries and multiple source files in the Compiler
Thanks to @CKehl, from whose #862 most of these changes were lifted