Quellcode durchsuchen

Added -j flag hint in compiling_for_x11.rst

mateosss vor 7 Jahren
Ursprung
Commit
1689b2745d
1 geänderte Dateien mit 5 neuen und 1 gelöschten Zeilen
  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