Skip to content

Commit 8c0fce9

Browse files
committed
Stick to CPU count
1 parent 5626515 commit 8c0fce9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/gen_ort_dockerfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ def dockerfile_for_linux(output_file):
353353
)
354354

355355
df += """
356-
RUN ./build.sh ${{COMMON_BUILD_ARGS}} --parallel $(( $(nproc --all ) + 2 )) --update --build {}
356+
RUN ./build.sh ${{COMMON_BUILD_ARGS}} --parallel $(( nproc --all )) --update --build {}
357357
""".format(
358358
ep_flags
359359
)

0 commit comments

Comments
 (0)