浏览代码

Added -j flag hint in compiling_for_x11.rst

mateosss 7 年之前
父节点
当前提交
1689b2745d
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      development/compiling/compiling_for_x11.rst

+ 5 - 1
development/compiling/compiling_for_x11.rst

@@ -82,7 +82,11 @@ Start a terminal, go to the root dir of the engine source code and type:
 
 ::
 
-    user@host:~/godot$ scons platform=x11
+    user@host:~/godot$ scons -j8 platform=x11
+
+A good rule of thumb for the ``-j`` (*jobs*) flag, is to have at least as many
+threads compiling Godot as you have cores in your CPU, if not one or two more.
+Feel free to add the ``-j`` option to any SCons command you see below.
 
 If all goes well, the resulting binary executable will be placed in the
 "bin" subdirectory. This executable file contains the whole engine and