[OE-core] [meta-oe][meta-networking][PATCH] cmake-native: add dependency on openssl-native libidn-native
Burton, Ross
ross.burton at intel.com
Tue Sep 13 19:32:59 UTC 2016
On 12 September 2016 at 18:05, Martin Jansa <martin.jansa at gmail.com> wrote:
> +DEPENDS += "bzip2-native zlib-native openssl-native libidn-native"
>
So this is coming from the embedded fork of curl inside cmake, which is
optional and likely has more dependencies that we didn't yet notice. How
about adding a dependency on curl-native instead?
I've a few changes that end up adding curl-native to cmake-native. Using
Markus's magic buildstats-diff script which he totally should submit to
oe-core:
PKG TASK ABSDIFF RELDIFF
CPUTIME1 CPUTIME2
cmake-native do_compile -19.4s -3.8%
510.6s -> 491.3s
cmake-native do_configure -18.1s -11.7%
155.3s -> 137.2s
xz-native do_configure -3.6s -20.6%
17.6s -> 14.0s
m4-native do_configure -1.5s -7.3%
20.5s -> 19.0s
++openssl-native do_configure +3.3s +inf%
0.0s -> 3.3s
cmake-native do_unpack +3.4s +118.8%
2.8s -> 6.2s
++openssl-native do_unpack +3.6s +inf%
0.0s -> 3.6s
++bzip2-native do_configure +4.9s +inf%
0.0s -> 4.9s
++curl-native do_unpack +4.9s +inf%
0.0s -> 4.9s
++makedepend-native do_configure +7.3s +inf%
0.0s -> 7.3s
++xproto-native do_configure +7.6s +inf%
0.0s -> 7.6s
++curl-native do_compile +20.2s +inf%
0.0s -> 20.2s
++pkgconfig-native do_compile +20.5s +inf%
0.0s -> 20.5s
++pkgconfig-native do_configure +32.3s +inf%
0.0s -> 32.3s
++openssl-native do_install +38.0s +inf%
0.0s -> 38.0s
++curl-native do_configure +48.8s +inf%
0.0s -> 48.8s
++openssl-native do_compile +121.9s +inf%
0.0s -> 121.9s
Cumulative Time
769.3s -> 1065.4s
cmake builds faster because it is using more libraries from the sysroot,
but we now need to build more pieces to get cmake-native building. Your
patch is slightly faster (total time of 1023 seconds) but with less
determinism, which is an acceptable tradeoff as far as I'm concerned.
Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160913/eeefa689/attachment-0002.html>
More information about the Openembedded-core
mailing list