-
Notifications
You must be signed in to change notification settings - Fork 129
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
Bugfix/windows ninja #300
Bugfix/windows ninja #300
Conversation
36dcd93
to
7849126
Compare
@gardner48 Please review this PR |
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 change could break existing builds, do we know if the Ninja user needs both static and shared libraries installed together?
Some files still use MPI_C_COMPILER
or MPI_INCLUDE_PATH
nvector/parallel/fmod/CMakeLists.txt
nvector/parallel/CMakeLists.txt
nvector/manyvector/fmod/CMakeLists.txt
nvector/mpiplusx/fmod/CMakeLists.txt
nvector/petsc/CMakeLists.txt
sunmatrix/slunrloc/CMakeLists.txt
sunnonlinsol/petscsnes/CMakeLists.txt
The examples also use these variables but that might be less of an issue.
set_target_properties(${_actual_target_name} PROPERTIES | ||
OUTPUT_NAME ${tgt_output_name} | ||
CLEAN_DIRECT_OUTPUT 1 | ||
) |
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 changes the installed static library name to have the _static
suffix e.g., libsundials_cvode_static.a
rather than libsundials_cvode.a
and could break user builds.
Closing this for now since we do not want to change the installed library name. |
Patches from https://github.com/spack/spack/pull/38776/files. Opening PR now to trigger testing.