소스 검색

Fix incorrect notice about multithreading in Introduction to the buildsystem

- Use `-j12` in the example line to reflect the most popular
  CPU core topology in Steam hardware survey as of writing
  (6 cores/12 threads).
Hugo Locurcio 1 개월 전
부모
커밋
8fdfc1ab1f
1개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. 5 3
      contributing/development/compiling/introduction_to_the_buildsystem.rst

+ 5 - 3
contributing/development/compiling/introduction_to_the_buildsystem.rst

@@ -49,12 +49,14 @@ Using multi-threading
 
 The build process may take a while, depending on how powerful your system is. By default, Godot's
 SCons setup is configured to use all CPU threads but one (to keep the system responsive during
-compilation). If you want to adjust how many CPU threads SCons will use, use the ``-j <threads>``
+compilation). If the system has 4 CPU threads or fewer, it will use all threads by default.
+
+If you want to adjust how many CPU threads SCons will use, use the ``-j<threads>``
 parameter to specify how many threads will be used for the build.
 
-Example for using 4 threads::
+Example for using 12 threads::
 
-    scons -j4
+    scons -j12
 
 Platform selection
 ------------------