summaryrefslogtreecommitdiffstats
path: root/lib/bb/fetch2/gitsm.py
diff options
context:
space:
mode:
authorJianxun Zhang <jianxun.zhang@linux.intel.com>2016-12-21 12:27:37 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-12 13:52:39 +0000
commit99d3703edd77a21770b366c6ad65a3c0f5183493 (patch)
treee029ce6fbee30a1848bbca1d55d475bf6be771b9 /lib/bb/fetch2/gitsm.py
parent4170cf874850b950f31d2e36c895c110c0b096c3 (diff)
downloadbitbake-contrib-99d3703edd77a21770b366c6ad65a3c0f5183493.tar.gz
use multiple processes to dump signatures.
This change significantly shortens the time on reparsing stage of '-S' option. Each file is reparsed and then dumped within a dedicated process. The maximum number of the running processes is not greater than the value of BB_NUMBER_PARSE_THREADS if it is set. The dump_sigs() in class SignatureGeneratorBasic is _replaced_ by a new dump_sigfn() interface, so calls from the outside and subclasses are dispatched to the implementation in the base class of SignatureGeneratorBasic. Fixes [YOCTO #10352] Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/fetch2/gitsm.py')
0 files changed, 0 insertions, 0 deletions