]> code.ossystems Code Review - openembedded-core.git/commit
pseudo.inc: pseudo 1.5 uprev, support extra config flags
authorPeter Seebach <peter.seebach@windriver.com>
Sun, 17 Feb 2013 23:31:33 +0000 (23:31 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Feb 2013 16:33:53 +0000 (08:33 -0800)
commit79ddb0c33401da442dbaa8e0d73ebacf297d9185
treeb89df3e8f10d53d86039bd17c60caada1dd0fa54
parent4ade9c60acea0ac92d0a08f3078361b6f54c85e2
pseudo.inc: pseudo 1.5 uprev, support extra config flags

The pseudo 1.5 update is a moderately experimental set of changes
which ought to improve performance. With these changes, pseudo
uses an in-memory sqlite database which is lushed on exit,
the protocol is changed to reduce waiting for server responses,
and pseudo can suppress any and all fsync/fdatasync type operations.

This last feature is optional, and not on by default, so we need
to pass in an extra configure argument, but that argument wouldn't
be known to an older configure, so... Enter PSEUDO_EXTRA_OPTS which
is passed to configure, and which pseudo_1.5.bb sets by default to
"--enable-force-async". (I haven't added it in pseudo_git.bb, but
maybe it should be changed; I'm not quite as sure there.)

The justification for these changes is that, for most of the real-world
build cases I deal with, they produce a 25% or more reduction in the
build time of a project. This increases when a system is heavily
loaded.

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/pseudo/pseudo.inc
meta/recipes-devtools/pseudo/pseudo_1.5.bb [new file with mode: 0644]
meta/recipes-devtools/pseudo/pseudo_git.bb