| Summary: | Investigate and reduce significant increase in rootfs size | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Randy MacLeod <randy.macleod> |
| Component: | deployment | Assignee: | Randy MacLeod <randy.macleod> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | raj.khem, ross.burton, sundeep.kokkonda, wmills, Yash.Shinde |
| Version: | 5.3 | ||
| Target Milestone: | 5.3 M3 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
| Bug Depends on: | 15851 | ||
| Bug Blocks: | |||
|
Description
Randy MacLeod
2025-05-06 17:27:50 UTC
I have send couple of patches which should help with size and build time https://lists.openembedded.org/g/openembedded-core/message/216116 https://lists.openembedded.org/g/openembedded-core/message/216117 Bill is mostly correct: enabling llvmpipe in Mesa pulls in libllvm which is ~114MB. If a system wants llvmpipe then this is the cost. There's a good argument to be made for more modular packaging of mesa, so that systems that don't want it don't need to build or install it. We may be able to share source between llvm and rust-llvm. Preliminary summary is that rust-llm has: 20 backported patches, and 2 rust specific ones. More data next week. Linked related "build time increase" as a depends since bugzilla doesn't have "Relates". I think we've bottomed out on this. Disabling llvmpipe will reduce it back to where we were, which can be done if that functionality is not needed. Otherwise the size impact of having llvm is reduced from what it was. Closing, I think we've done all we can do here for the immediate impact. |