From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: Some further build dependency timings
Date: Tue, 11 Oct 2011 12:35:28 +0100 [thread overview]
Message-ID: <1318332940.23801.90.camel@ted> (raw)
In-Reply-To: <1318279539.23801.68.camel@ted>
On Mon, 2011-10-10 at 21:45 +0100, Richard Purdie wrote:
> Just for reference, with a base configuration, sato image:
>
> real 50m8.223s
> user 298m41.450s
> sys 52m42.200s
>
> adding:
>
> ASSUME_PROVIDED =+ "bison-native flex-native sqlite3-native git-native"
>
> (and hacking the pseudo recipe to use a sqlite3-native):
>
> real 42m6.740s
> user 296m21.940s
> sys 52m25.220s
>
> We continue to have real dependency issues around gettext in both the
> native and target builds...
So to continue the story, adding:
DEBUG_FLAGS = ""
INHERIT_INSANE = ""
PACKAGE_CLASSES = "package_ipk"
USER_CLASSES = ""
Results in:
real 38m23.053s
user 237m7.430s
sys 39m3.720s
Then adding PSEUDO_RELOADED=yes to the environment of tasks not needing
pseudo (hack patch below):
real 36m20.683s
user 236m19.580s
sys 37m54.450s
Finally, adding:
DISABLESTATIC = "--disable-static"
DISABLESTATIC_pn-qemu = ""
DISABLESTATIC_pn-qemu-native = ""
DISABLESTATIC_pn-openssl = ""
DISABLESTATIC_pn-openssl-native = ""
EXTRA_OECONF += "${DISABLESTATIC}"
real 34m53.877s
user 233m34.780s
sys 38m50.190s
Cheers,
Richard
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1096,6 +1096,10 @@ class RunQueueExecute:
logger.debug(2, 'Running %s:%s under fakeroot, fakedirs: %s' %
(fn, taskname, ', '.join(fakedirs)))
+ else:
+ envbackup["PSEUDO_RELOADED"] = os.environ.get("PSEUDO_RELOADED")
+ os.environ["PSEUDO_RELOADED"] = "yes"
+ fakeenv["PSEUDO_RELOADED"] = "yes"
sys.stdout.flush()
sys.stderr.flush()
next prev parent reply other threads:[~2011-10-11 11:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-10 20:45 Some further build dependency timings Richard Purdie
2011-10-11 11:35 ` Richard Purdie [this message]
2011-10-12 14:40 ` Mark Hatle
2011-10-12 14:49 ` Richard Purdie
2011-10-14 11:34 ` Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1318332940.23801.90.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.