Scripted Compilation on Linux Debian/Ubuntu: Difference between revisions

→‎Disk usage: Rename section and update
(→‎Disk usage: Rename section and update)
Line 261: Line 261:
Using the option '''-j x''' (where x is the number of your CPU-Cores you wish to assign to the job) will speed up the whole compilation process considerably.
Using the option '''-j x''' (where x is the number of your CPU-Cores you wish to assign to the job) will speed up the whole compilation process considerably.


== Disk usage ==
== Disk usage and build time ==
Having both compiled program, source code, and data from git requires some hard disk space: It will take something like 13 GB of space.
 
If you don't have a fast machine, it will require several hours of compilation time.
Keeping compiled programs, source code and data repositories requires some hard disk space: it will take something like 12 GB of space for just [[SimGear]], FlightGear and [[FGData]] (i.e., the SIMGEAR, FGFS and DATA components).
 
With an Intel Core i7 860 CPU (2.80 GHz) purchased in 2009, compiling [[SimGear]] and FlightGear 2019.2 with option <code>-j8</code> takes about 14 minutes. If you don't have a fast machine and build using only one core, it may require several hours.


== Optimus technology ==
== Optimus technology ==
377

edits