Openembedded Core Discussions
 help / color / mirror / Atom feed
* Performance datapoint - impact of static libs
@ 2011-07-15 13:31 Richard Purdie
  2011-07-15 13:37 ` Phil Blundell
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2011-07-15 13:31 UTC (permalink / raw)
  To: openembedded-core

Before:

real	104m1.135s
user	415m57.560s
sys	61m31.180s

With "--disable-static" being passed to configure (changes below):

real	99m46.645s
user	383m32.390s
sys	60m42.170s

So static libs add an extra ~30mins of processing (7%) and ~5 mins to
the overall build time. Not as much of a gain as I'd have liked but
interesting none the less.

The changes were effectively:

DISABLESTATIC = "--disable-static"
DISABLESTATIC_pn-sqlite3-native = ""
DISABLESTATIC_pn-openssl = ""
DISABLESTATIC_pn-openssl-native = ""
DISABLESTATIC_pn-qemu-native = ""
EXTRA_OECONF_append  = " ${DISABLESTATIC}"

in local.conf with a patch to the openjade-native recipe to not install
the .a file using oe_libinstall and a patch to apmd to fix a libtool
related compiling bug in its makefile.

Cheers,

Richard





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-20 14:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-15 13:31 Performance datapoint - impact of static libs Richard Purdie
2011-07-15 13:37 ` Phil Blundell
2011-07-20 14:50   ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox