-
Notifications
You must be signed in to change notification settings - Fork 13
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
Build with cmake #18
Build with cmake #18
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.
I'm no CMake expert but this seems like a big improvement.
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.
@petebachant same, and I agree. Having one Makefile, instead of one for each platform, seems like a huge improvement to me.
@jcokemurray can you review and approve this PR? |
Travis OSX image provides 3.11.3, Linux (bionic) provides 3.12.4
PGI Fortran doesn't like that
Should have universal support across GNU, Intel, PGI compilers
-O2 should be in dialect, not in bounds-check set of flags
These are outdated and should be replaced with instructions to build with CMake in Windows
Rebased onto the tip of |
Works for me. Cmake would definitely be an improvement over the manual Makefile approach... |
@jcokemurray thanks for reviewing. @whophil merging this PR now. |
The previous build system of platform-specific Makefiles requiring manual modification was pretty hairy. Here is a new build setup which uses CMake, with the following advantages:
CMakeLists.txt
) for all platforms and optionsThis will require some updates to the compile instructions, but those will conflict with #17. So let's merge that one first, and then I'll fix this PR up.