Procházet zdrojové kódy

Added -j flag hint in compiling_for_x11.rst

mateosss před 7 roky
rodič
revize
1689b2745d
1 změnil soubory, kde provedl 5 přidání a 1 odebrání
  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