diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-07-11 00:00:28 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-07-18 17:21:39 +0100 |
commit | d9066258a1e48e75cf814fb0940ac420bcdd6e99 (patch) | |
tree | 1b83f763d0be81659d715e7765a3ade10a18a12d /scripts/lib/scriptpath.py | |
parent | 431767f069e9a8aedcb99c3013a261d606288d6f (diff) | |
download | poky-d9066258a1e48e75cf814fb0940ac420bcdd6e99.tar.gz |
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.
(From OE-Core rev: a0483b962dfbba051de2c0b1acbe268579a81f22)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptpath.py')
0 files changed, 0 insertions, 0 deletions