summaryrefslogtreecommitdiffstats
path: root/meta/conf/distro/include/yocto-space-optimize.inc
Commit message (Collapse)AuthorAgeFilesLines
* The poky repository master branch is no longer being updated.Richard Purdie2025-11-071-13/+0
| | | | | | | | | | | | | | | | | | | | | You can either: a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs b) use the new bitbake-setup You can find information about either approach in our documentation: https://docs.yoctoproject.org/ Note that "poky" the distro setting is still available in meta-yocto as before and we continue to use and maintain that. Long live Poky! Some further information on the background of this change can be found in: https://lists.openembedded.org/g/openembedded-architecture/message/2179 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-space-optimize.inc: move space optimize from recipe webkitgtkHongxu Jia2025-09-221-0/+3
| | | | | | | | | | | | | | | | | | The yocto-space-optimize.inc is used to allow turning off the debug compiler options for a small set of recipes to reduce build on disk footprint and package/sstate sizes [1]. Move space optimize from recipe webkitgtk to it. Due to commit [2], update comments to remove `Unless DEBUG_BUILD is enabled' [1] https://github.com/openembedded/openembedded-core/commit/a0483b962dfbba051de2c0b1acbe268579a81f22 [2] https://github.com/openembedded/openembedded-core/commit/9badf68d78d995f7d5d4cf27e045f029fc6d4044 (From OE-Core rev: 007c4aea10e13bd9b2d66d016c25f31c2709cbf6) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clang: Space optimize clang recipesKhem Raj2025-05-091-1/+3
| | | | | | | | | They can consume quite a bit of build space, we don't debug them as often (From OE-Core rev: 107c344a627c29a2c6a1a47f57d3d63e74bbb112) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro/include: Add yocto-space-optimize, disabling debugging for large ↵Richard Purdie2024-07-181-0/+8
components Add an include file to allow turning off the debug compiler options for a small set of recipes to reduce build on disk footprint and package/sstate sizes. This is currently applied to llvm and qemu target recipes. The llvm-staticdev package takes up around 1.3GB alone. These three changes lead to a reduction in TMPDIR size for a world build from 240GB to 199GB, also removing some very large sstate objects. There is more that could and should be done but this does illustrate one way to speed up and reduce build size in a focused way whilst we ideally look into other approaches. (From OE-Core rev: a0483b962dfbba051de2c0b1acbe268579a81f22) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>