Age | Commit message (Collapse) | Author |
|
prepare for the BitBake shell which will need to have instance based
variables as opposed to module global ones.
Sorry, this diff is larger than it should be, but I had to reorder
methods and change indenting all over the place. What I basically did
is:
1.) Add a class managing the statistics values: BBStatistics
2.) Add a class managing the build process: BBCooker
3.) Refactor all unbound methods into the BBCooker class
4.) Refactor all module global values into the BBCooker class
5.) Adjust function calls and accesses of the module global values
accordingly
The shell module itself is under construction and will be uploaded asap.
|
|
-Drastically increase the amount of needed RAM to the
unbelievable amount of 12MB when parsing ~2320 bb files.
-Start creating the provider hash and other lists/dictionaries
from the progressCallback. A BBStatusProgress struct was added
to accumulate the data to be used in the buildPackage, showVersions
and similiar methods.
This makes it possible to kill the long delay and also building the
provider hash completely.
Only for building and checking if a package was built (has stamps) it
is necessary to get the data instace from make.pkgdata.
|
|
Pass more data to the parsing progressCallBack.
We will soon use this data to eliminate the long
delay before building.
bitbake/bin/bitbake:
Just change the signature of the callback method for now.
We will soon keep the 'parsing status' in a instance
we will fill while parsing and only evaluate in build_depgraph
|
|
Update the version to 1.2.1 (now a string)
|
|
|
|
-Access pkgdata[] less. This means unpickling the data less often.
This results in a faster initial parsing. We still access each
file three times though
|
|
the current package.
|
|
* check if a package's task is already complete _before_
calling the functions to try to build it.
* don't bother trying to build a package's deps if the package has
already been built.
* cache the information about the 'perhaps you should define
PREFERRED_PROVIDER_blah' messages so that the user only sees one
for each provider.
|
|
|
|
|
|
script.
|
|
|
|
argument.
|
|
defines the task can make it only clean the package and not its dependencies, rather than hardcoding the knowledge in the bitbake command.
|
|
|
|
incorrect info about what packages are built by default (thanks to phil for spotting it).
|
|
|