Scripted Compilation on Linux Debian/Ubuntu: Difference between revisions

Jump to navigation Jump to search
→‎Choosing between stable and development versions: Update: the --cleanup option opens interesting possibilities here
(→‎Choosing between stable and development versions: Update: the --cleanup option opens interesting possibilities here)
Line 465: Line 465:
* For other components, a known-stable version is selected by <tt>download_and_compile.sh</tt>, which may be influenced by the use of <code>-s</code>, <code>--lts</code> or <code>--old-lts</code>.
* For other components, a known-stable version is selected by <tt>download_and_compile.sh</tt>, which may be influenced by the use of <code>-s</code>, <code>--lts</code> or <code>--old-lts</code>.


{{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 always use <code>--lts</code>, or always use <code>--old-lts</code>, or always none of these. In other words, better stick to the same suite: latest stable, latest LTS, previous LTS or ''next'', consistently accross all components.}}
{{Note|In a given folder where <tt>download_and_compile.sh</tt> is run, you should normally either always use the <code>-s</code> option, or always use <code>--lts</code>, or always use <code>--old-lts</code>, or always none of these (in other words, stick to the same suite: latest stable, latest LTS, previous LTS or ''next'', consistently accross all components).
 
Actually, it ''is'' possible to switch between suites but you have to use the <code>--cleanup</code> option when doing the switch. For instance:
* Build with <code>-s</code> as many times as you want.
* Want to try ''next''? Okay, then build once with <code>--cleanup</code> (no <code>-s</code> option anymore).
* You can then perform as many builds of ''next'' as you want; no need to use <code>--cleanup</code> unless something special went wrong.
* If you decide to switch back to the stable release, build once with <code>-s</code> and <code>--cleanup</code>, then only with <code>-s</code> for further builds.
* etc.
 
This way, ''you don't need to download the repositories again'' when trying the various suites; in particular, you can switch between ''next'', stable, LTS and old LTS without downloading nor having several copies of [[FGData]] on your hard drive.}}


So, as far as the SIMGEAR, FGFS and DATA components are concerned, you can:
So, as far as the SIMGEAR, FGFS and DATA components are concerned, you can:
377

edits

Navigation menu