Skip to content

Commit 16b9ae0

Browse files
author
Bogdan Marinescu
committed
Added 'jobs' argument to static_analysis_scan_lib
1 parent 4099f9c commit 16b9ae0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

workspace_tools/build_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,12 +412,12 @@ def static_analysis_scan(target, toolchain_name, CPPCHECK_CMD, CPPCHECK_MSG_FORM
412412

413413

414414
def static_analysis_scan_lib(lib_id, target, toolchain, cppcheck_cmd, cppcheck_msg_format,
415-
options=None, verbose=False, clean=False, macros=None, notify=None):
415+
options=None, verbose=False, clean=False, macros=None, notify=None, jobs=1):
416416
lib = Library(lib_id)
417417
if lib.is_supported(target, toolchain):
418418
static_analysis_scan_library(lib.source_dir, lib.build_dir, target, toolchain, cppcheck_cmd, cppcheck_msg_format,
419419
lib.dependencies, options,
420-
verbose=verbose, clean=clean, macros=macros, notify=notify)
420+
verbose=verbose, clean=clean, macros=macros, notify=notify, jobs=jobs)
421421
else:
422422
print 'Library "%s" is not yet supported on target %s with toolchain %s' % (lib_id, target.name, toolchain)
423423

0 commit comments

Comments
 (0)