Skip to content

Conversation

@andrsd
Copy link
Collaborator

@andrsd andrsd commented Nov 11, 2025

Separate mpicpp-lite into a standalone dependency, i.e. treated it like other dependencies.

  • updating dependencies cmake script to grab and install mpicpp-lite
  • when apps use OpenSn and the find_package it, mpicpp-lite is automatically checked for
  • since mpicpp-lite is publicly linked, it is automatically added into application targets with target_link_libraries(... PUBLIC opensn::libopensn)

Supports Open-Sn/OpenSnApp#3

- mpicpp-lite is now treated as a regular dependency
- OpenSn behaves more as a library, i.e. does not come with
  bundled dependecies
- this helps applications depending on OpenSn not to re-package
  mpicpp-lite and just use ti via `find_package`
@andrsd andrsd self-assigned this Nov 11, 2025
@andrsd andrsd added the suggestion Suggestion label Nov 11, 2025
@andrsd
Copy link
Collaborator Author

andrsd commented Nov 11, 2025

This will fail, because it probably needs an update on the CI machine.

@andrsd andrsd marked this pull request as draft November 11, 2025 21:26
@andrsd
Copy link
Collaborator Author

andrsd commented Nov 11, 2025

I converted this into a draft and marked this as suggestion... This will need some more testing than on my machine locally...

@andrsd andrsd mentioned this pull request Nov 12, 2025
@wdhawkins
Copy link
Collaborator

I've updated the dependency installs on the CI machine and kicked off the regression and clang-tidy jobs on this PR.

@wdhawkins wdhawkins self-requested a review November 25, 2025 06:04
@andrsd andrsd marked this pull request as ready for review November 25, 2025 14:03
@andrsd andrsd merged commit 522f110 into Open-Sn:main Nov 25, 2025
6 of 9 checks passed
@andrsd andrsd deleted the mpicpp-lite-separation branch November 25, 2025 15:12
@andrsd andrsd restored the mpicpp-lite-separation branch December 19, 2025 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

suggestion Suggestion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants