<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-devtools/python/python-smartpm/smart-cache.py-getPackages-matches-name-version.patch, branch morty</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=morty</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=morty'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2015-10-01T14:07:49+00:00</updated>
<entry>
<title>smart:cache.py: getPackages() matches name + arch</title>
<updated>2015-10-01T14:07:49+00:00</updated>
<author>
<name>Robert Yang</name>
<email>liezhi.yang@windriver.com</email>
</author>
<published>2015-09-30T08:19:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e788961cd8a507184c89489b988e94a85155590d'/>
<id>urn:sha1:e788961cd8a507184c89489b988e94a85155590d</id>
<content type='text'>
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 -&gt; 2m34s (Reduce 57% )

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

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

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

[YOCTO #8389]

(From OE-Core rev: dae4149009be722943cc7deec7f03e87b77ea59b)

Signed-off-by: Robert Yang &lt;liezhi.yang@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
