Re: [OE-core] [PATCH 1/3] layer.conf: Filter docs dependencies for efficiency

2022-03-04 Thread Richard Purdie
The net result of this series is that for a recipe like run-postinsts (allarch)
with api-documentation enabled, for the do_package task, the recipe-sysroot-
native no longer needs to contain: 

e2fsprogs-native
gperf-native
gtk-doc-native
libcap-ng-native
libpcre2-native
libxml2-native
libxslt-native
python3-flit-core-native
python3-pip-native
python3-pygments-native
python3-setuptools-native
python3-six-native
python3-wheel-native
unzip-native
util-linux-native

with the dependencies reduced to:

bzip2-native
curl-native
dwarfsrcfiles-native
elfutils-native
file-native
gdbm-native
gmp-native
gnutls-native
libarchive-native
libcap-native
libffi-native
libgcrypt-native
libgpg-error-native
libidn2-native
libmicrohttpd-native
libnsl2-native
libtirpc-native
libunistring-native
lua-native
lzo-native
ncurses-native
nettle-native
openssl-native
perlcross-native
perl-native
popt-native
python3-native
readline-native
rpm-native
sqlite3-native
util-linux-libuuid-native
xz-native
zlib-native
zstd-native

which does make a significant difference to the numbers of files.

Cheers,

Richard



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#162743): 
https://lists.openembedded.org/g/openembedded-core/message/162743
Mute This Topic: https://lists.openembedded.org/mt/89552837/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 1/3] layer.conf: Filter docs dependencies for efficiency

2022-03-04 Thread Richard Purdie
Where a recipe has depends on native docs tools, in most cases
we don't need recipes that depend on that recipe to also install
these things into the sysroot. We can rely on recipes wanting these
tools to have direct dependencies instead.

This massively reduced dependency creep in simple recipes (e.g. an
allarch one) and reduced the size of builds with the api-documentation
feature substancially.

gperf-native is also included since that would normally have a direct
dependency in a recipe which needs it too.

Signed-off-by: Richard Purdie 
---
 meta/conf/layer.conf | 4 
 1 file changed, 4 insertions(+)

diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf
index bdeb8a47589..8f30de5f6b4 100644
--- a/meta/conf/layer.conf
+++ b/meta/conf/layer.conf
@@ -100,6 +100,10 @@ SSTATE_EXCLUDEDEPS_SYSROOT += "\
 .*->patch-native \
 .*->pkgconfig-native \
 .*->quilt-native \
+.*->xmlto-native \
+.*->gperf-native \
+.*->gtk-doc-native \
+.*->texinfo-native \
 "
 # Nothing needs to depend on libc-initial
 # base-passwd/shadow-sysroot don't need their dependencies
-- 
2.32.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#162739): 
https://lists.openembedded.org/g/openembedded-core/message/162739
Mute This Topic: https://lists.openembedded.org/mt/89552837/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-