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

Link dependencies dynamically #596

Merged
merged 3 commits into from
Jun 4, 2020

Conversation

kyllingstad
Copy link
Member

This fixes #595.

I'm only setting shared=True for our direct dependencies, since those are the ones we link against, so I also reordered the requires list to make it obvious which ones they are.

@kyllingstad kyllingstad added the enhancement New feature or request label Jun 3, 2020
@kyllingstad kyllingstad self-assigned this Jun 3, 2020
@kyllingstad kyllingstad marked this pull request as draft June 3, 2020 13:47
kyllingstad added a commit to open-simulation-platform/cosim-cli that referenced this pull request Jun 3, 2020
This change accompanies open-simulation-platform/libcosim#596, and
includes the other libraries which are now dynamically linked to
libcosim in the dist/lib folder.
@kyllingstad kyllingstad marked this pull request as ready for review June 3, 2020 14:26
@kyllingstad
Copy link
Member Author

This fails on Windows because the fmilibrary package isn't available in Artifactory with shared=true. Not sure what the best way to fix this is. Should I add -b missing to the workflow?

@kyllingstad
Copy link
Member Author

Nevermind, I see that it's supposed to be built by the win-conan workflows, but they're failing for some other reason. I'll fix that.

Copy link
Contributor

@hplatou hplatou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@kyllingstad kyllingstad merged commit ed9cd44 into master Jun 4, 2020
@kyllingstad kyllingstad deleted the feature/595-link-dependencies-dynamically branch June 4, 2020 10:44
kyllingstad added a commit to open-simulation-platform/cosim-cli that referenced this pull request Jun 4, 2020
This change accompanies open-simulation-platform/libcosim#596, and
adds the now-dynamically-linked dependencies in the dist/lib folder.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Link all direct dependencies dynamically
2 participants