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

Add icub-firmware-build to icub-head profile #1559

Merged
merged 2 commits into from
Feb 28, 2024
Merged

Conversation

traversaro
Copy link
Member

@traversaro traversaro commented Dec 19, 2023

This PR requires that the following PRs are merged and released:

This PR adds the icub-firmware-build as a repository that is cloned and installed with the icub-head, to simplify the process of downloading the firmware corresponding to a given distro release.

A first problem that I noticed is that while the size of firmware itself is quite limited (~4 MB for all files), the repo is quite heavy to download (~250 MB), due to the size of the whole history of icub-firmware-build binaries. To reduce the burden for existing robotology-superbuild users, for the first time for this project we pass the GIT_SHALLOW option, so that a shallow clone is performed while cloning the repo (hence the modifications in robotology/ycm-cmake-modules#440). Unfortunately, CMake's GIT_SHALLOW is not actually shallow (see https://gitlab.kitware.com/cmake/cmake/-/issues/17770), but even if it is not a strictly shallow clone, passing GIT_SHALLOW the repo clone size reduced from 250 MB to 60 MB, so I think it is a worth improvement.

This PR also fixes half of #863 .

@traversaro
Copy link
Member Author

fyi @marcoaccame @Nicogene @S-Dafarra @GiulioRomualdi

@traversaro
Copy link
Member Author

CI fails as the PRs still need to be merged.

@GiulioRomualdi
Copy link
Member

probably we can retry to run again the CI

@traversaro traversaro closed this Feb 1, 2024
@traversaro traversaro reopened this Feb 1, 2024
@traversaro
Copy link
Member Author

probably we can retry to run again the CI

We probably need to wait for icub-firmware release, or have some temporary hack.

@traversaro
Copy link
Member Author

@Nicogene do you think we can have some buffer time between the icub-firmware-build release and the distro release? So we can have the time to integrate this PR.

@traversaro
Copy link
Member Author

@davidetome I forgot to mention you back in time, just for your information after this PR (that we can merge once robotology/icub-firmware-build#124 is release) the icub-firmware-build files will be present in the superbuild automatically.

@traversaro traversaro merged commit 0eac778 into master Feb 28, 2024
37 checks passed
@traversaro traversaro deleted the addicubfirmware branch February 28, 2024 23:03
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

Successfully merging this pull request may close these issues.

3 participants