Browse Source

Merge pull request #1801 from mateosss/mateosss/scons-x11-jobs-flag

Added -j flag hint in compiling_for_x11.rst
Nathan Lovato 6 years ago
parent
commit
890d306c1a
1 changed files with 5 additions and 1 deletions
  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