Age | Commit message (Collapse) | Author |
|
At present there is a bottleneck in runqueue in the
get_recursive_tdepends() function which bothers me as we never used to
have it. It appeared when we fixed some correctness issues with the
dependency tree and the code in this area has grown adhoc for too long.
As an example the above function was getting called 500,000 times in my
main test case of building an image. Its particularly problematic in
builds with many recursive dependencies such as 'bitbake world'.
This commit rewrites the problematic function entirely with the
following benefits:
* Replaces the most illegible code in that function with code thats
easier to understand
* Builds the dependency tree per filename, not per task since we don't
need it per task which is a performance win
* Improves the documentation in places
* Much faster execution
* Reuses the main dependency tree data, doesn't make its own.
The code functions very differently to the original. Previously the
recursive dependency tree and the main dependency tree were separate. In
this implementation we use the main tree to build the recursive tree
after the main tree has been completed, then inject the dependencies.
Compared with the original this actually inserts small numbers (4 in my
test cases) of additional dependencies into the task graph such as
image_recipe:do_rootfs -> image_recipe:do_package_write_ipk which is
arguably an bug in the existing implementation. I've checked into this,
understand why its happening and believe none of the additional
dependencies should cause any complications.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
This patch:
* Uses the xmlrpc timeout controls added in python 2.6 removing the need to
hack the class instead. The hacking didn't work for 2.6.
* Converts the parsing function to parse a file per call to the function
* Allows checking for xmlrpc commands between parsing files allowing the user
to interrupt parsing.
* Starts to teach the command queue about command properties such as whether
they require the cache.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
Add caching for the dyanmic package regexps which improves task data
performance significantly.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
Add a function to bring the command environment in sync with the data
dictonary.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
|
|
aren't buildable
The code which removes providers which aren't buildable from the eligible list
modifies the list while iterating it, resulting in skipping some entries. If
the list contained two failed providers in sequence, it left the second behind
in the eligible list.
Fixed by replacing the block with a list comprehension that constructs a new
eligible list without the failed entries.
Signed-off-by: Chris Larson <clarson@mvista.com>
|
|
mutliple targets (e.g. -native and -sdk) and has been discussed on the OE mailing list
|
|
Salvador)
|
|
exported again (from Poky)
shell.py: When running a stage task in bbshell, run populate_staging, not the stage task (from Poky)
|
|
commands (from Poky)
|
|
|
|
|
|
|
|
|
|
We ignore the following kind of warnings
import gtk
import gtk.glade...
as glade is not imported by default and need that extra line,
pyflakes does not know...
|
|
Is anyone still using svk? I don't want to mess with this code
when it might work (due a global) but I might break it... my guess
is that is supposed to be ud.date.
|
|
We don't use the modules, no need to import them here.
|
|
In preparation for python3.0 make sure our test cases
are working again.
|
|
Acked-by: Chris Larson <clarson@kergoth.com>
|
|
urldata can contain urls other than just what's in SRC_URI. The urls of
mirrors, premirrors, stashes, etc can end up in there as well, and we don't
want bb.fetch.go to be fetching those things directly.
Signed-off-by: Chris Larson <clarson@mvista.com>
|
|
Signed-off-by: Tom Rini <trini@embeddedalley.com>
Signed-off-by: Chris Larson <clarson@mvista.com>
|
|
directly.
Signed-off-by: Chris Larson <clarson@mvista.com>
|
|
We currently modify BBPATH so that an include/require looks in the current
working directory before it looks elsewhere. Modifying it permanently
doesn't gain anything, just polluting it with locations that don't need to
stay there.
Signed-off-by: Chris Larson <clarson@mvista.com>
|
|
Signed-off-by: Chris Larson <clarson@mvista.com>
|
|
Signed-off-by: Chris Larson <clarson@mvista.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
so UIs become truly plugable.
|
|
|
|
consistent naming
|
|
the empty_environment() function to clear the environment
|
|
ssh checkouts and checkouts through proxies to work better. Also allow user and pswd options in urls globally and improve proxy handling when using mirrors (from Poky)
|
|
Poky)
|
|
|
|
|
|
useful for debugging problems
|
|
bitbake now uses (From Rob Bradford in Poky)
|
|
self.configuration.cmd (From Rob Bradford in Poky)
|
|
server so the pid field is useful (from Rob Bradford in Poky)
|
|
come from (From Rob Bradford in Poky)
|
|
Poky)
|
|
execution fails from Poky)
|
|
providers to fulfil failed dependencies. It defaults to off, changing the default since this behaviour confuses many users and isn't often useful (from Poky).
|
|
(from Poky)
|
|
|