Skip to content

Commit ebc1373

Browse files
committed
use -j2 in the actual build also
1 parent 11d225f commit ebc1373

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/build_release_files.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@
5454
build_dir += "-{language}".format(language=language)
5555

5656
make_result = subprocess.run(
57-
"make -C ../ports/{port} TRANSLATION={language} BOARD={board} BUILD={build}".format(
58-
port = board_info["port"], language=language, board=board, build=build_dir),
57+
"make -C ../ports/{port} TRANSLATION={language} BOARD={board} BUILD={build} -j {cores}".format(
58+
port = board_info["port"], language=language, board=board, build=build_dir, cores=cores),
5959
shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
6060

6161
build_duration = time.monotonic() - start_time

0 commit comments

Comments
 (0)