Skip to content

Commit b7e9235

Browse files
committed
using multiple cores for cmake build
1 parent 05b26bb commit b7e9235

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/gha/build_ios_tvos.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ def cmake_configure_and_build(source_path, build_path, toolchain,
462462
utils.run_command(cmd)
463463

464464
# CMake build for os-platform-architecture
465-
cmd = ['cmake', '--build', build_path]
465+
cmd = ['cmake', '--build', build_path, '-j', str(os.cpu_count())]
466466
cmd.append('--target')
467467
cmd.extend(targets)
468468
utils.run_command(cmd)

0 commit comments

Comments
 (0)