]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
distro/include: Add yocto-space-optimize, disabling debugging for large components
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 10 Jul 2024 23:00:28 +0000 (00:00 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 Jul 2024 16:21:01 +0000 (17:21 +0100)
commita0483b962dfbba051de2c0b1acbe268579a81f22
tree8af76e1a15ec9dae98bbea97f58d5d0d365f7243
parentb9c992e69f3f44051610386ce4f743e224750694
distro/include: Add yocto-space-optimize, disabling debugging for large 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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/include/yocto-space-optimize.inc [new file with mode: 0644]