Skip to content
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

Closed
wants to merge 15 commits into from
Closed

Bugfix/windows ninja #300

wants to merge 15 commits into from

Conversation

balos1
Copy link
Member

@balos1 balos1 commented Jul 7, 2023

Patches from https://github.com/spack/spack/pull/38776/files. Opening PR now to trigger testing.

drreynolds
drreynolds previously approved these changes Jul 7, 2023
@balos1 balos1 added this to the SUNDIALS v6.6.0 milestone Jul 19, 2023
@balos1
Copy link
Member Author

balos1 commented Jul 19, 2023

@gardner48 Please review this PR

Copy link
Member

@gardner48 gardner48 left a 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
)
Copy link
Member

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.

@balos1 balos1 removed this from the SUNDIALS 6.6.1 milestone Sep 5, 2023
@balos1 balos1 added this to the SUNDIALS Next milestone Sep 5, 2023
@balos1
Copy link
Member Author

balos1 commented Oct 20, 2023

Closing this for now since we do not want to change the installed library name.

@balos1 balos1 closed this Oct 20, 2023
@balos1 balos1 deleted the bugfix/windows-ninja branch February 16, 2024 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants