]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: cooker/hashserv: Allow autostarting of a local hash server using BB_HASHSERVE
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 24 Jul 2019 08:13:55 +0000 (09:13 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 Aug 2019 10:21:31 +0000 (11:21 +0100)
commitca04aaf7b51e3ee2bb04da970d5f20f2c9982cb8
treeee5fe5d5e780cd965bbe7f9a0d25d91d280b1834
parentd9aafb85072bef3b5baa54408969d54a8425a111
bitbake: cooker/hashserv: Allow autostarting of a local hash server using BB_HASHSERVE

Its useful, particularly in the local developer model of usage, for
bitbake to start and stop a hash equivalence server on local port,
rather than relying on one being started by the user before the build.

The new BB_HASHSERVE variable supports this.

The database handling is moved internally into the hashserv code so that
different threads/processes can be used for the server without errors.

(Bitbake rev: a4fa8f1bd88995ae60e10430316fbed63d478587)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/bin/bitbake-hashserv
bitbake/bin/bitbake-worker
bitbake/lib/bb/cooker.py
bitbake/lib/bb/runqueue.py
bitbake/lib/hashserv/__init__.py
bitbake/lib/hashserv/tests.py