377
edits
(→Additional programs: ALL doesn't work at all as advertized (maybe it used to, but this hasn't been the case for years)) |
(→Compiling last stable versions (Experimental): Update, clarify) |
||
Line 229: | Line 229: | ||
=== Compiling last stable versions (Experimental) === | === Compiling last stable versions (Experimental) === | ||
How does it work? | Even if <tt>download_and_compile.sh</tt> fetches code and data from development branches of the source repositories by default (which sometimes causes compilation errors), it is possible to tell the script to download the latest known versions of the software that were compiling successfully by means of the <code>-s</code> option: | ||
Warning | ./download_and_compile.sh -s | ||
How does it work? | |||
* For [[SimGear]], FlightGear and [[FGData]], it uses the most recent stable release branch of the corresponding Git repository. | |||
* For some components, a known-stable version is hardcoded in <tt>download_and_compile.sh</tt> and used when the <code>-s</code> option is given<ref name="components-with-a-known-stable-version-hardcoded-in-download_and_compile_sh">As of April 2019, apart from SIMGEAR, FGFS and DATA, the only component for which <tt>download_and_compile.sh</tt> “knows” a stable version is OPENRTI.</ref> (for instance, the hardcoded information can be the name of a Git branch). | |||
* For the other components, the <code>-s</code> option has no effect. | |||
{{Warning|In a given folder where <tt>download_and_compile.sh</tt> is run, you should either always use the <code>-s</code> option, or never. Building some components with <code>-s</code> and others without (all within the same base folder) is not supported.}} | |||
=== Advanced options === | === Advanced options === |
edits