1
0
mirror of https://git.yoctoproject.org/poky synced 2026-04-20 23:39:22 +00:00
Files
poky/meta/recipes-devtools
Robert Yang e788961cd8 smart:cache.py: getPackages() matches name + arch
It only matched name ony in the past, for example:
smart install busybox (matched)
but:
smart install busybox@core2_64 (didn't match)

The installation is very slow when no match since it would seach all the
packages in the repo, and what we use mostly in oe-core is the second
case, so the installation is very slow when install COMPLEMENTARY
packages such as the task do_populate_sdk.

This patch makes it match both.

* Speed up
  MACHINE = "qemux86-64"
  - When multilib enabled:
    $ bitbake core-image-sato -cpopulate_sdk
    time: 6m5s -> 2m34s (Reduce 57% )

    $ bitbake core-image-minimal -cpopulate_sdk
    time: 2m1s -> 1m26s (Reduce 28% )

    $ bitbake core-image-sato-sdk
    time: 10m15s -> 7m12s (Reduce 29% )

  - When multilib NOT enabled:
    $ bitbake core-image-sato -cpopulate_sdk
    time: 4m25s -> 2m28s (Reduce 44% )

[YOCTO #8389]

(From OE-Core rev: dae4149009be722943cc7deec7f03e87b77ea59b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-10-01 15:07:49 +01:00
..
2015-08-11 09:28:51 -07:00
2015-08-11 09:28:51 -07:00
2015-08-11 09:28:48 -07:00
2015-08-30 12:35:49 +01:00
2015-09-23 09:52:50 +01:00
2015-08-11 09:28:50 -07:00
2015-09-01 11:44:03 +01:00
2015-09-01 11:44:03 +01:00
2015-08-10 12:40:31 -07:00
2015-08-10 12:40:20 -07:00
2015-08-10 12:40:20 -07:00
2015-07-12 22:55:42 +01:00
2015-09-23 09:53:08 +01:00
2015-09-12 23:01:53 +01:00
2015-07-31 10:32:44 +01:00
2015-09-12 23:01:53 +01:00
2015-09-18 09:05:22 +01:00
2015-09-24 17:54:23 +01:00
2015-09-14 20:46:40 +01:00
2015-08-16 22:40:55 +01:00
2015-09-04 16:23:55 +01:00
2015-09-12 22:48:26 +01:00
2015-09-03 12:43:14 +01:00
2015-08-24 23:47:05 +01:00