On Fri, 14 May 2021 at 12:17, Robert P. J. Day <[email protected]> wrote: > pretty sure i know the answer to this one, but was asked the other > day and wanted to make sure. in order to speed up the normal OE build, > someone suggested bypassing the creation of packages that weren't > going to be relevant, such as -dev, -doc and so on -- the idea was > that that could make a significant difference in build time.
General case: no. Absolute waste of time. There are common exceptions: if the recipe has e.g. API documentation that takes a long time to build then add a PACKAGECONFIG for it and respect the api-documentation DISTRO_FEATURE. There are limited edge cases of course: Piglit is 99% auto-generated test cases, the binaries are *huge* and the need to debug them is limited, so the recipe installs striped binaries so there is no -dbg package to generate. We're talking minutes of time spent stripping gigabytes of libraries here and there's no hackery or magic, the recipe just tells the makefile to strip on install. Ross
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#152030): https://lists.openembedded.org/g/openembedded-core/message/152030 Mute This Topic: https://lists.openembedded.org/mt/82821703/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
