982
edits
m (→Development) |
(Release notes for development version of script) |
||
| Line 1: | Line 1: | ||
=== Release Notes for the Team Clone === | |||
The team clone can be found at https://www.gitorious.org/+fg-download-and-compile/fg/fg-download-and-compile-fgmeta | |||
The version on the next branch on the team clone is based on version 1.9.11 which is currently on the next branch in the main fgmeta repository. The master branch in the main repository is obsolete. | |||
This version contains numerous changes. There are new options and support for a more efficient directory structure to support multiple variant builds using a single copy of the various sources. | |||
Recent Maintenance Changes: | |||
# added libudev-dev to list of pre-requisite packages, | |||
# fixing a a problem with the -e option. | |||
# Support for 2.12.0 | |||
# Corrections to PLIB and OSG svn Urld | |||
# fix the debug option -g | |||
# remove openrti CMakeCache.txt from source dir. | |||
# Changed RELEASE_OR_DEBUG symbols to Release instead of release Debug instead of debug | |||
Recent Enhancements: | |||
# Produce a timestamped log of the build | |||
# Create a rebuild script in the directory the download_and_compile.sh script is run from. Executing it will rerun Download_and_compile.sh with the same options without having to specify them. | |||
# The title of the window in which the build is run now indicates what variant is being worked on and which component is currently being built. When the build is complete the Window Title says so. | |||
Recent Option additions: | |||
# -x Sets the bash -x option | |||
# -v Sets the bash -v option | |||
# -w Sets the make command's verbose option | |||
# -B Selects a Flightgear and Simgear Branch by name. When used to build Flightgear or Simgear alone, can specify a git commit # | |||
# -V (default=HEAD) can be used to pick a tag from a branch | |||
# -N set the svn client option for building simgear | |||
# -G select an OSG version other than 3.0.1 | |||
# -D select the directory usage model. -D 0 forces the old model -D 1 forces the new model (default is leave the directory model as-i | |||
The new directory structure supports: | |||
# No more multiple downloads of fgdata for each separate build. You download only one, and if you need more than one version, it is created locally with copy and git commands. All variant builds use a copy of fgdata from a parent directory | |||
# No more multiple download and builds of plib and osg. You download and build plib-1.8.5 and osg-3.0.1 once. Their sources are kept in a separate directory. | |||
# A single copy of flightgear, simgear and openrti sources that can be used to build whatever versions are needed | |||
# Support for additional versions of osg such as 3.1.9 | |||
Recommended usage: | |||
* Create a top level directory for flightgear builds. | |||
* Create a sub-directory for variant builds | |||
* Create a sub-sub-directory for each variant to be built | |||
* Download_and_compile.sh goes in the top level directory | |||
* cd to a variant directory and run download_and_compile -D 1 and other options to build the variant you want. | |||
For example the following will give you two debug versions of flightgear built with the new event model and openrti. One will be OSG 3.0.1, the other will be OSG 3.1.9: | |||
<pre> | |||
mkdir -p fg/variants/master-ei-OSG-3.1.9 | |||
mkdir -p fg/variants/master-ei-OSG-3.0.1 | |||
cd fg | |||
wget https://www.gitorious.org/+fg-download-and-compile/fg/fg-download-and-compile-fgmeta/blobs/next/download_and_compile.sh | |||
cd variants/master-ei-OSG-3.1.9 | |||
../../download_and_compile.sh -p n -d y -g -xvw -D 1 -j 3 -G 3.1.9 -ei ALL | |||
./run_fgrun.sh | |||
cd ../../variants/master-ei-OSG-3.0.1 | |||
../../download_and_compile.sh -p n -d y -g -xvw -D 1 -j 3 -ei ALL | |||
./run_fgrun.sh | |||
</pre> | |||
[[User:Callahanp|Callahanp]] 03:16, 19 July 2013 (UTC) | |||
=== Development === | === Development === | ||
edits