-
Notifications
You must be signed in to change notification settings - Fork 64
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
Speedup system build time #259
Comments
Hi, I would like to work on this |
@Emmanueltech you need to show some initial progress in a PR to lock the bounty - the lock then times out after a week of no progress. More info in Bounties. |
@adeebshihadeh I would propose to store the compiled .deb files for capnp, ffpmeg, modemmanager and qtwayland, as well as the wheel for pyqt5 in the repo. This should bring down the docker image creation time by quite a bit. Or do you prefer to compile them every time from source? |
I suspect it won't be worth it, but feel free to prove me wrong with a PR. Things I'd be concerned about:
|
If we want custom "debs" built and uploaded separately, we should have a comma PPA. The install of the comma PPA would look like this:
Then you can just install the packages with Ubuntu launchpad also has it's own CI, so the packages will be built there. Never actually used it, but this is nice way of delivering Ubuntu packages. Could be used for:
As for these ones I would just move them to the 24.04 packages:
A random example of a popular PPA: |
If we don't want to deal with a PPA, we could:
|
@adeebshihadeh |
@adeebshihadeh Can we ignore the package compile time assuming they will only be updated infrequently? With this PR #354 the overall build_system.sh time is around 9mins (see #359). This uses the docker cache for the package compilation, but builds the overall image from scratch for calculation of the build time. |
What is the config of |
exactly as in the name:
|
This is related to #225, you have way way to much stuff in your image. Reducing image size and setting up separate build jobs for qtwayland, ffmpeg and kernel should help immensely. Creating a local mirror of the Ub repo would also help. Not using docker(I know its cool) will also help. |
Goal is to get a <10m build time without a cache on the CI runner. According to #251, we're currently at 33m.
For validation, trigger CI 5 times and post the timings of the "Build system" step. The max shouldn't exceed 10m.
If done carefully, it should be possible to do this without a comma 3/3X and have someone on the Discord test it for you at the end.
Bounty is worth 3x ($600) if it ends up being <5m.
The text was updated successfully, but these errors were encountered: