1. Version bump for 2.99.9 now 3.0.0
2. changed logging to log entire output of a sub-process
rather than write individual lines of output to a logfile.
3. logs are versioned.
4. fix to support a change in fgdata version when fgdata is a symlink
5. Automatic j option # of cores + 1
6. fixed stable fgrun build
7. stable is now 2.12.0 for fgfs & simgear, 2.12.1 for fgdata
8. fixed broken stable build for 2.12.0
9. Added section on setup
10. once built, unless specifically requested by parameter
OSG or PLIB:
Don't rebuild OSG or plib
Don't update OSG or plib sources
12. self testing with ./download_and_compile.sh test.
this will build 2.12.0, stable, master, next, 3.0.0
in sub-directories under the one
containing ./download_and_compile.sh
if doing this test it is highly recommended that you
create a directory "othersrc" in the same directory
as download_and_compile.sh. You may also want to place a
recent copy of fgdata in both ../fgdata_3.0.0 and fgdata_2.12.1
usage: ./download_and_compile.sh test reset
You had better have lots of disk space free.
and plenty of time as it will download a copy of
fgdata for each version if you don't provide one.
Script to generate tarballs and serve directory from an Aircraft folder. Includes
thumbnail extraction, MD5 creation, tarball creation and -set.xml parsing, but
still some further work to be done.
1. Added the output of a rebuild command to facilitate
rerunning with The same parameters.
usage: chmod +x rebuild
./rebuild
2. Removed FGCOMGUI from the all build due to its failure to build
at least on Ubuntu 13.04
3. Added options
-B branch
-R revision
usage: -B master -R HEAD
-B next -R HEAD
-B 2.10.0 -R HEAD
-B 2.12.0 -R HEAD
other entries are possibl -R defaults to HEAD, but can also be a commit #
or a tag name
4. OSG Version option -G
usage:
-G 3.0.1 (default)
-G 3.1.9
-G 3.1.9d (debug build for osg - untested)
5. Stop after building one module
This was added to facilitate testing.
usage: -z
6. Enable Flightgear 2.10.0 as stable
usage: -s
7. Add optional build for OPENRADAR
usage:
./download_and_compile.sh OPENRADAR
untested
8. Echo compile bash variable values to terminal and logfile
9. add patches for fltk libraries on Ubuntu 13.04
10. Sets the window title at each step
11. Initial support for keeping multiple versions of fgdata
To do this, create directories in the parent of where you are building:
fgdata_2.10.0
fgdata_2.12.0
fgdata_2.99.9
move a copy of ANY fgdata git clone into all three
the next initial build of a given version will set the corresponding
fgdata to the right version.
to use these, set up a symbolic link to fgdata_x from install/fgfs/fgdata
12. Added output to an additonal log: download_and_compile.log
The log contains only a record of starting each component build
and the end of the build.
Fun fact: OSG builds in about 4 minutes using -j 9
on an i7 4770k with 16gb memory
../download_and_compile.sh -xvp n -j 9 -B 2.12.0 ALL
cat download_and_compile.log
../download_and_compile.sh -xvp n -j 9 -B 2.12.0 ALL
started building in /home/pac1/work/fg/test-gits/team-master/2.12.0
at Tue Aug 27 22:43:17 EDT 2013
finished at Tue Aug 27 22:56:04 EDT 2013
Version 1.9.12-pre5 5th pre-release version of 1.9.12
function write_log() added.
write_log writes summary information to sysout and a summary log file
the function is added as a preview of changes to the logging for the script
function SET_WINDOW_TITLE()
changes the window title to indicate what is being built.
function check_build()
writes to the summary log a list of what was found as executables after a build.
outputs a rebuild command
the rebuild command can be used to re-execute the same build without entry of options or parameters.
removes fgcomgui from the list of modules built when ALL is specified
STOP_AFTER_ONE_MODULE
Adds options z, B, R and G
option z will set this so that only one module will be built, and then the script
will immediately stop. This is useful during testing of the script.
Option B allows the build of a specific branch. Without the R option it will build the head of the branch.
option R allows the build of a specific revision or commit.
Option G allows selection of a specific version of OpenSceneGraph.
This version introduces the use of a bash associative array to select branch and version for building.
patches allow building with fltk under Ubuntu 13.04
Open radar has been added
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.