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:47:35 +0000 (08:47 -0800)
commit13503f7d6305a1d07aaa47e17bdd162dd65e6ee1
tree2107782ee4c4a901e8ca0fa413d6cfdc75d23788
parent9583f0746f878ba3e628eea79744dc1532ad8bda
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.

(From OE-Core rev: 79ddb0c33401da442dbaa8e0d73ebacf297d9185)

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