-
Notifications
You must be signed in to change notification settings - Fork 48
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
Migrate Windows binary installer to be based on conda binary packages instead of vcpkg dependencies? #884
Comments
Back in time I tought this installer were not used, but then recently I discovered indirectly that a few users where using them (in particular @sgiraz (that however I think already migrated to conda) , @Iaxama (due to #608), @andrearosasco (due to robotology/yarp#2710, even if I guess he already migrate to conda). |
I investigated a bit the use of
Then go in that directory and execute:
This creates a 1.1 GB |
Example:
|
To support uploading, we can take inspiration from https://github.com/conda-forge/miniforge/blob/9d4744574dc7a246a3711cc1eaeb1202472f0c33/.github/workflows/ci.yml#L165 . |
Currently, for each release of the robotology-superbuild we are also shipping a Windows-installer built with QtIFW that installs binaries for almost all the packages of the robotology-superbuild.
The binaries are build (in Debug and Release modes) by GitHub Actions (see https://github.com/robotology/robotology-superbuild/blob/v2021.08/.github/workflows/ci.yml#L462), except for dependencies that instead are built from vcpkg in another repo (in particular https://github.com/robotology/robotology-superbuild-dependencies-vcpkg). During the installation process, there is also an option (that by default is enabled) to set all the necessary environment variables for all the process created by the users (this is done by running the
addPathsToUserEnvVariables.ps1
script during the installation process).In the long run, I would like to avoid mantaining this vcpkg-based installation process, as it is quite tricky to debug if something goes wrong (a full build of the dependencies is ~8 hours, and then a full build of the installer given the binaries dependecies ~3 hours). As an alternative I wanted to start creating this installers using conda packages and the
conda/constructor
tool, see https://github.com/conda/constructor . This has both pros and cons, outlined in the following:Pros of migrating the installer to be build using conda constructor:
Cons of migrating the installer to be build using conda constructor:
However, it is possible that there are more cons I am not aware of, and this is the reason why I opened this issue.
The text was updated successfully, but these errors were encountered: