mirror of https://github.com/ARMmbed/mbed-os.git
Reduce memory consumption and lock contension
29% speedup (old: 45sec, new: 35sec) on my machinepull/6781/head
parent
c186c3ce86
commit
81f969e127
|
@ -171,7 +171,6 @@ if __name__ == '__main__':
|
||||||
else:
|
else:
|
||||||
tests = all_tests
|
tests = all_tests
|
||||||
|
|
||||||
notify = TerminalNotifier(options.verbose)
|
|
||||||
|
|
||||||
if options.list:
|
if options.list:
|
||||||
# Print available tests in order and exit
|
# Print available tests in order and exit
|
||||||
|
@ -195,6 +194,7 @@ if __name__ == '__main__':
|
||||||
profile = extract_profile(parser, options, toolchain)
|
profile = extract_profile(parser, options, toolchain)
|
||||||
try:
|
try:
|
||||||
# Build sources
|
# Build sources
|
||||||
|
notify = TerminalNotifier(options.verbose)
|
||||||
build_library(base_source_paths, options.build_dir, mcu,
|
build_library(base_source_paths, options.build_dir, mcu,
|
||||||
toolchain, jobs=options.jobs,
|
toolchain, jobs=options.jobs,
|
||||||
clean=options.clean, report=build_report,
|
clean=options.clean, report=build_report,
|
||||||
|
@ -219,6 +219,7 @@ if __name__ == '__main__':
|
||||||
print("Failed to build library")
|
print("Failed to build library")
|
||||||
else:
|
else:
|
||||||
# Build all the tests
|
# Build all the tests
|
||||||
|
notify = TerminalNotifier(options.verbose)
|
||||||
test_build_success, test_build = build_tests(tests, [options.build_dir], options.build_dir, mcu, toolchain,
|
test_build_success, test_build = build_tests(tests, [options.build_dir], options.build_dir, mcu, toolchain,
|
||||||
clean=options.clean,
|
clean=options.clean,
|
||||||
report=build_report,
|
report=build_report,
|
||||||
|
|
Loading…
Reference in New Issue