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

Cpack doens't seems to search for dependencies properly #6

Open
Guillaumebeuzeboc opened this issue Jan 17, 2019 · 1 comment
Open

Comments

@Guillaumebeuzeboc
Copy link
Owner

Guillaumebeuzeboc commented Jan 17, 2019

All the packages seems to have the same dependencies:
libboost-date-time1.58.0, libc6 (>= 2.4), libgcc1 (>= 1:3.0), libstdc++6 (>= 5.2) although z_lib is using eigen.
It seems that all the packages are using the dependencies of a_lib

@Guillaumebeuzeboc
Copy link
Owner Author

CPACK_DEBIAN_PACKAGE_SHLIBDEPS when set to ON list the dependencies for all the subdirectories.
This means that even the simple lib of a workspace will have all the dependencies (imported from another subdirectory).
A workaround for this is to define the workspace as small as possible when creating the .debs (If you just create the deb of the lib a_lib don't include other packages in the ws)

For the future it would be nice to use components and then use CPACK_DEBIAN__PACKAGE_SHLIBDEPS ON
The problem with components is that it would break other features of the project for now.
ex: The version per components is not ready yet https://gitlab.kitware.com/cmake/cmake/merge_requests/2305

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant