-
Notifications
You must be signed in to change notification settings - Fork 9
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
CMake build needs to require sp library #27
Comments
The thing is that none of these libraries have interfaces and they are built statically so even though it does use sp it's not enforced at compile time. |
OK, so then the bug here is that the ip CMakeLists.txt file does not require sp, but should. |
OK, actually the sp library is required in the CMake build, but only if tests are run. Here's the tests/CMakeLists.txt file:
Is sp only needed for testing? |
SP is needed to create an executable that uses ip because of the aforementioned interface/static library thing. It should be found at compile time even if it's currently not used. |
OK, understood. In that case this should be checked at the top level CMakeLists.txt file. When you execute #226, then sp will be needed for make all as well as make tests, because the interface will allow fortran to check for sp at compile time. (I believe...) |
That is correct |
In the workflow we have:
Yet CMakeLists.txt does not check for sp, and it is not needed to build ip.
The text was updated successfully, but these errors were encountered: