Proposal to Simplify Dependency Management: Transitioning from "contrib" Submodule to vcpkg and System Libraries #7302
Replies: 3 comments 10 replies
-
Actually vcpkg coin-or should work. I think I mistook it for conda. I updated the list. |
Beta Was this translation helpful? Give feedback.
-
The problem with vcpkg is its missing/rudimentary support for binary artifacts and Qt is just too slow. Other libs are not very quick either. Yes, you can overwrite ports to use e.g. an install from a package manager but then you cannot guarantee the same dependencies anymore (specifically zlib, bzip, etc.). Might be possible by also overwriting their ports but still sounds very unstable to me. |
Beta Was this translation helpful? Give feedback.
-
Question about this as is relates to the Dockerfile migration. @jpfeuffer, you said you want the contrib image to be built separately, will the |
Beta Was this translation helpful? Give feedback.
-
Background:
Our project has been utilizing the "contrib" submodule to manage third-party libraries. While this approach has served us adequately, it has also introduced complexities in terms of project setup, updates, and compatibility across different development environments. As we continue to grow and expand the project, addressing these challenges becomes crucial to ensure a smoother development process.
Proposal:
We propose that we consider migrating to a combination of vcpkg and system libraries for managing our project dependencies. Here are some key benefits of this approach:
The Pros:
Simplified Dependency Management:
Why system libraries:
Why vcpkg:
Technical Details to Consider for vcpkg:
Cons:
The general question is: can we get this to work on all platforms? And can we still cache it?
For Ubuntu we know it works:
Ubuntu:
but what about the others? Can you fill some from your memory? I saw you added something to brew
manylinux2014
Mac Intel
Mac Silicon
Windows
Beta Was this translation helpful? Give feedback.
All reactions