Browse Source

Compiling: Min versions are now SCons 3.1.2 and GCC 9

Rémi Verschelde 1 năm trước cách đây
mục cha
commit
55f6c52037

+ 1 - 1
contributing/development/compiling/compiling_for_android.rst

@@ -27,7 +27,7 @@ Requirements
 For compiling under Windows, Linux or macOS, the following is required:
 For compiling under Windows, Linux or macOS, the following is required:
 
 
 - `Python 3.6+ <https://www.python.org/downloads/>`_.
 - `Python 3.6+ <https://www.python.org/downloads/>`_.
-- `SCons 3.0+ <https://scons.org/pages/download.html>`_ build system.
+- `SCons 3.1.2+ <https://scons.org/pages/download.html>`_ build system.
 - `Android SDK <https://developer.android.com/studio/#command-tools>`_
 - `Android SDK <https://developer.android.com/studio/#command-tools>`_
   (command-line tools are sufficient).
   (command-line tools are sufficient).
 
 

+ 1 - 1
contributing/development/compiling/compiling_for_ios.rst

@@ -14,7 +14,7 @@ Requirements
 ------------
 ------------
 
 
 - `Python 3.6+ <https://www.python.org/downloads/macos/>`_.
 - `Python 3.6+ <https://www.python.org/downloads/macos/>`_.
-- `SCons 3.0+ <https://scons.org/pages/download.html>`_ build system.
+- `SCons 3.1.2+ <https://scons.org/pages/download.html>`_ build system.
 - `Xcode <https://apps.apple.com/us/app/xcode/id497799835>`_.
 - `Xcode <https://apps.apple.com/us/app/xcode/id497799835>`_.
 
 
 If you are building the ``master`` branch:
 If you are building the ``master`` branch:

+ 2 - 12
contributing/development/compiling/compiling_for_linuxbsd.rst

@@ -16,19 +16,9 @@ Requirements
 For compiling under Linux or other Unix variants, the following is
 For compiling under Linux or other Unix variants, the following is
 required:
 required:
 
 
-- GCC 7+ or Clang 6+.
-
+- GCC 9+ or Clang 6+.
 - `Python 3.6+ <https://www.python.org/downloads/>`_.
 - `Python 3.6+ <https://www.python.org/downloads/>`_.
-
-- `SCons 3.0+ <https://scons.org/pages/download.html>`_ build system.
-
-  .. note::
-
-      If your distribution uses Python 2 by default, or you are using a version of SCons prior to 3.1.2,
-      you will need to change the version of Python that SCons uses by changing the shebang
-      (the first line) of the SCons script file to ``#! /usr/bin/python3``.
-      Use the command ``which scons`` to find the location of the SCons script file.
-
+- `SCons 3.1.2+ <https://scons.org/pages/download.html>`_ build system.
 - pkg-config (used to detect the development libraries listed below).
 - pkg-config (used to detect the development libraries listed below).
 - Development libraries:
 - Development libraries:
 
 

+ 1 - 1
contributing/development/compiling/compiling_for_macos.rst

@@ -16,7 +16,7 @@ Requirements
 For compiling under macOS, the following is required:
 For compiling under macOS, the following is required:
 
 
 - `Python 3.6+ <https://www.python.org/downloads/macos/>`_.
 - `Python 3.6+ <https://www.python.org/downloads/macos/>`_.
-- `SCons 3.0+ <https://scons.org/pages/download.html>`_ build system.
+- `SCons 3.1.2+ <https://scons.org/pages/download.html>`_ build system.
 - `Xcode <https://apps.apple.com/us/app/xcode/id497799835>`_
 - `Xcode <https://apps.apple.com/us/app/xcode/id497799835>`_
   (or the more lightweight Command Line Tools for Xcode).
   (or the more lightweight Command Line Tools for Xcode).
 - `Vulkan SDK <https://sdk.lunarg.com/sdk/download/latest/mac/vulkan-sdk.dmg>`_
 - `Vulkan SDK <https://sdk.lunarg.com/sdk/download/latest/mac/vulkan-sdk.dmg>`_

+ 1 - 1
contributing/development/compiling/compiling_for_web.rst

@@ -17,7 +17,7 @@ To compile export templates for the Web, the following is required:
 
 
 - `Emscripten 3.1.39+ <https://emscripten.org>`__.
 - `Emscripten 3.1.39+ <https://emscripten.org>`__.
 - `Python 3.6+ <https://www.python.org/>`__.
 - `Python 3.6+ <https://www.python.org/>`__.
-- `SCons 3.0+ <https://scons.org/pages/download.html>`__ build system.
+- `SCons 3.1.2+ <https://scons.org/pages/download.html>`__ build system.
 
 
 .. seealso:: To get the Godot source code for compiling, see
 .. seealso:: To get the Godot source code for compiling, see
              :ref:`doc_getting_source`.
              :ref:`doc_getting_source`.

+ 1 - 1
contributing/development/compiling/compiling_for_windows.rst

@@ -25,7 +25,7 @@ For compiling under Windows, the following is required:
   **Important:** When using MinGW to compile the ``master`` branch, you need GCC 9 or later.
   **Important:** When using MinGW to compile the ``master`` branch, you need GCC 9 or later.
 - `Python 3.6+ <https://www.python.org/downloads/windows/>`_.
 - `Python 3.6+ <https://www.python.org/downloads/windows/>`_.
   **Make sure to enable the option to add Python to the ``PATH`` in the installer.**
   **Make sure to enable the option to add Python to the ``PATH`` in the installer.**
-- `SCons 3.0+ <https://scons.org/pages/download.html>`_ build system. Using the
+- `SCons 3.1.2+ <https://scons.org/pages/download.html>`_ build system. Using the
   latest release is recommended, especially for proper support of recent Visual
   latest release is recommended, especially for proper support of recent Visual
   Studio releases.
   Studio releases.