|
|
Line 336: |
Line 336: |
| $ git log -p -- download_and_compile.sh | | $ git log -p -- download_and_compile.sh |
|
| |
|
| == Update Available == | | == List of compiled programs == |
|
| |
|
| The latest version of <tt>download_and_compile.sh</tt> can be obtained {{fgmeta source
| |
| | path = download_and_compile.sh
| |
| | text = here
| |
| }}, however there are advantages getting it from an [[FGMeta]] clone as explained [[User:Rominet#Getting_download_and_compile.sh_the_.E2.80.9Cright_way.E2.80.9D|here]]. Contents should be moved from [[User:Rominet|there]] to this page; this and the following section are not up-to-date at the time of this writing.
| |
|
| |
| == Cut to the Chase: for the impatient ==
| |
|
| |
| Beware: with the following, you are likely to encounter problems when cloning [[FGData]]: read just above.
| |
|
| |
| cd <your working directory for building FlightGear>
| |
| wget -O download_and_compile.sh https://sourceforge.net/p/flightgear/fgmeta/ci/next/tree/download_and_compile.sh?format=raw
| |
| chmod +x download_and_compile.sh
| |
| mkdir -p stable
| |
| mkdir -p next
| |
| cd stable
| |
| ../download_and_compile.sh -j$(nproc) -s
| |
| cd ../next
| |
| ../download_and_compile.sh -j$(nproc) -p n
| |
|
| |
| {{Note|With <code>-j$(nproc)</code> as above, the compilation will use all cores available on your processor, which can save several hours. If you want to use, say, 4 cores, replace <code>-j$(nproc)</code> with <code>-j4</code>.}}
| |
|
| |
| == Conversion of directory structure from earlier versions of download_and_compile.sh ==
| |
|
| |
| Earlier versions of the script used a different directory structure. If you used the earlier version, the new script includes a section that will convert the earlier structure to the current set of directories.
| |
|
| |
| == List of compiled programs ==
| |
| The <tt>download_and_compile.sh</tt> script is able to download and compile: | | The <tt>download_and_compile.sh</tt> script is able to download and compile: |
| * [[SimGear]] (”base libraries” that are part of the FlightGear project, and required) | | * [[SimGear]] (”base libraries” that are part of the FlightGear project, and required) |