From b82492bbccb0ecdee17108ed43c4220f00f3f4f3 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 30 Jan 2021 22:17:46 -0700 Subject: buildman: Support single-threaded operation At present even if only a single thread is in use, buildman still uses threading. For some debugging it is helpful to do everything in the main process. Allow -T0 to support this. Signed-off-by: Simon Glass --- tools/buildman/cmdline.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/buildman/cmdline.py') diff --git a/tools/buildman/cmdline.py b/tools/buildman/cmdline.py index 680c072d662..274b5ac3f45 100644 --- a/tools/buildman/cmdline.py +++ b/tools/buildman/cmdline.py @@ -97,7 +97,8 @@ def ParseArgs(): parser.add_option('-t', '--test', action='store_true', dest='test', default=False, help='run tests') parser.add_option('-T', '--threads', type='int', - default=None, help='Number of builder threads to use') + default=None, + help='Number of builder threads to use (0=single-thread)') parser.add_option('-u', '--show_unknown', action='store_true', default=False, help='Show boards with unknown build result') parser.add_option('-U', '--show-environment', action='store_true', -- cgit v1.2.3