mirror of https://github.com/ARMmbed/mbed-os.git
Added parallel build option to build_travis.py
Mostly to test Mihail's parallel build changespull/433/head
parent
2cf5f34286
commit
4c54ea6a4b
|
@ -59,7 +59,7 @@ def run_builds(dry_run):
|
|||
toolchain_list = build["toolchains"]
|
||||
if type(toolchain_list) != type([]): toolchain_list = [toolchain_list]
|
||||
for toolchain in toolchain_list:
|
||||
cmdline = "python workspace_tools/build.py -m %s -t %s -c " % (build["target"], toolchain)
|
||||
cmdline = "python workspace_tools/build.py -m %s -t %s -j 4 -c " % (build["target"], toolchain)
|
||||
libs = build.get("libs", [])
|
||||
if libs:
|
||||
cmdline = cmdline + " ".join(["--" + l for l in libs])
|
||||
|
|
Loading…
Reference in New Issue