summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb/runqueue.py
AgeCommit message (Collapse)AuthorFiles
2010-08-03*: cosmetic whitespace removalBernhard Reutner-Fischer1
(Bitbake rev: 2ed36a3d57de25e1af31d657a7b0b14857e5056a) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-03Let the runqueue find the user selected scheduler dynamicallyChris Larson1
Searches the module (bb.runqueue) for any new style classes which are instances of RunQueueScheduler, and uses the one whose 'name' attribute matches the value of BB_SCHEDULER. (Bitbake rev: 6497cedf9cfc03201250af816995dd2bd85c36ef) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-16bitbake: Add support for .bbappend files (see mailing lists for detais)Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-16bitbake: runqueue: Allow passing of success/failure handlers to ↵Richard Purdie1
runqueue_process_waitpid() Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-16bitbake: runqueue: Allow taskname to be passed to check_stamp_task()Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-16bitbake: runqueue: Make child process error scary so user is less likely to ↵Richard Purdie1
ignore Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-16bitbake: runqueue: Fix number of running tasks accounting (include failed tasks)Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-16bitbake: runqueue: Remove unneeded exception catching from fork_off_task()Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-16bitbake: runqueue: Separate out task forking code into a new functionRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-16bitbake: runqueue: Combine the waitpid result handling code into a functionRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-16bitbake: Remove two layers of unnecessary functions from task executionRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02Apply some 2to3 refactoringsChris Larson1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02Show a traceback when a task fails due to an exceptionChris Larson1
(Bitbake rev: 5bb24832761bd518cb0249125f67939e0cbd0998) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02Don't tell the user we're sending SIGINT to the remaining 0 tasksChris Larson1
(Bitbake rev: 0b963e52eca0447d5bbfc87d826ad662fe940381) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02Apply some 2to3 transforms that don't cause issues in 2.6Chris Larson1
(Bitbake rev: d39ab776e7ceaefc8361150151cf0892dcb70d9c) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02Apply the 2to3 print function transformChris Larson1
(Bitbake rev: ff2e28d0d9723ccd0e9dd635447b6d889cc9f597) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02Import fixupsChris Larson1
(Bitbake rev: 4fa052f426e3205ebace713eaa22deddc0420e8a) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02Formatting cleanupsChris Larson1
(Bitbake rev: 2caf134b43a44dad30af4fbe33033b3c58deee57) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-07-02Ensure we always utilize the correct messaging domainsChris Larson1
(Bitbake rev: 92a2e2e90981c0615171abe03645a772d84f6986) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-25Fix 7 references to undefined variables, as spotted by pyflakesChris Larson1
(Bitbake rev: e1e4ccf203e38070eeafd31a622671996cff61a1) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-23bitbake: Gross hack to fix packaged-staging with BBCLASSEXTEND packagesRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-15bitbake: runqueue.py: improve printing dependent tasksBernhard Reutner-Fischer1
Print names instead of Task-IDs (and not mentioning they're task ids). Previously we printed e.g.: Dependency loop #1 found: Task 89 (/there/src/oe/openembedded/recipes/busybox/busybox-native_1.15.2.bb, do_configure) (depends: Set([88, 282, 92, 87])) Now we say Dependency loop #1 found: Task 89 (/there/src/oe/openembedded/recipes/busybox/busybox-native_1.15.2.bb, do_configure) (dependent Task-IDs ['busybox-native, do_patch', 'update-rc.d, do_populate_staging', 'busybox-native, do_populate_staging', 'shasum-native.bb, do_populate_staging', 'busybox-native, do_unpack']) (Bitbake rev: 00eaf76fdc32eb515995b47dfa69eb90ca904b37) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-21knotty: Improve task failure message handling using the uihelper codeRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-21runqueue.py: Use fcntl to make the worker pipes non-blockingRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-21runqueue: When a task fails, make sure the server still processes events ↵Richard Purdie1
from other workers Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-21bitbake/runqueue: Fix typoRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-20bitbake: Switch to bitbake-dev version (bitbake master upstream)Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-29bitbake runqueue: Add a minor speedup to the runqueue codeRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-21bitbake: Factor some runqueue code into common functions making things more ↵Richard Purdie1
readable Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-21bitbake: Fix a bug in runqueue and optimise slightly furtherRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-21bitbake: Optimise runqueue recursive dependency calculations removing a ↵Richard Purdie1
bottleneck in world builds Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-05-12bitbake: Update to work without warnings with python 2.6Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2008-10-28bitbake: Add tryaltconfigs option to disable the alternative configuration ↵Richard Purdie1
attempts and make the 'continue' more aggresive
2008-10-01bitbake: Fix nostamp flag handling bugRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5368 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-13bitbake: Sync with 1.8 branchRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4463 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-05runqueue.py: Fix default whitelist variable valueRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4413 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-05-04bitbake: Sync with 1.8 branch upstream for PREFERRED_PROVIDERS message ↵Richard Purdie1
improvements and BB_STAMP_WHITELIST functionality git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4411 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-14bitbake: Update with changes from bitbake 1.8 branchRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4006 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-03-03bitbake: Update to bitbake 1.8 branch headRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3892 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-11bitbake: Sync with upstream 1.8 branch for git fetcher and --continue mode fixRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3761 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-20bitbake: sync with upstream stable branch bugfixes and enhancementsRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3554 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-06bitbake: Sync with bitbake upstream for various fixesRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3411 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-30bitbake runqueue.py: Allow multiple options for deptask flag (from poky), ↵Richard Purdie1
fix comment typo. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3041 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-02bitbake: Update to latest bitbake-1.8 branchRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2651 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-20bitbake: Sync with 1.8.8 releaseRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2513 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-16bitbake: Sync with 1.8 head. Adds locking to the fetcher to prevent parallel ↵Richard Purdie1
downloads, fixes key expansion issues and occasional missing dependency graph links git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2502 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-09bitbake runqueue.py: Improve the progress indicator by skipping tasks that ↵Richard Purdie1
have already run before starting the build rather than during it git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2423 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-05bitbake lib/bb/runqueue.py: Make sure intertask depends get processed ↵Richard Purdie1
correctly in recursive depends git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2368 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-26bitbake: Sync with upstreamRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2012 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-06-12runqueue.py: Correctly use /dev/null as stdinRichard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1918 311d38ba-8fff-0310-9ca6-ca027cbcb966