On Sun, 24 Feb 2013 13:44:54 -0500, Pat wrote in message
<20130224134454.6bd9636c@spinnaker>:
> Here are two patches and a combined patch for both.
> These patches include changes to the help.
>
> patch-1.9-8-xv.patch adds the x and v options for debugging.
>
> patch-1.9-8-w.patch adds the w option, w standing for "Where to Build"
>
> patch-1.9-8-wxv.patch combines both changes.
..alongside those, I like to see _what_ I build|t _when_, so I
auto-rename my logs, and I believe "-s" should build 2.10 now:
arnt@celsius:~/FG-git$ ll download_and_compile-1.9-8a.patch \
&&md5sum download_and_compile-1.9-8a.patch
-rw-r--r-- 1 arnt arnt 1441 Feb 24 23:24
download_and_compile-1.9-8a.patch
a342d108f121322f076ef7de063ab1e4 download_and_compile-1.9-8a.patch
arnt@celsius:~/FG-git$
> I'm in the process of working out how to do a variety of builds
> for testing the download and compile script. The x and v options help
> in that regard.
>
> The w option allows me to test different download_and_compile builds
> with different options in different directories from a single copy of
> download_and_compile.sh
>
> Like so:
>
> download_and_compile.sh -w master ALL
> download_and_compile.sh -w master_e -e ALL # new event model
> download_and_compile.sh -w master_r -r ALL # openrti
> download_and_compile.sh -w master_er -er ALL # both
>
> However just using a different directory is a bit inefficient. It
> results in multiple copies of git that are separate clones of the
> gitorious repository.
>
> Anders made a suggestion on IRC I'm going to follow up on. " You can
> have local git clones that share the same .git/* files via file links"
..you feed 4 build trees from 1 git clone, how?
A "du -sch $git-n-build-trees" on them all?
> I think that means we could have several local clones of a single
> local git repository. The various local clones would support building
> multiple branches and versions, without having to sync each clone
> independently with gitorious.
..you only do an e.g. "git branch 2.10 ;git checkout",
and no "git pull"???
> The script would still work just as well for someone who just wanted
> to compile a single version
>
> -Pat
>
> Note for those reading on the devel list, the patches are based on
> download_and_compile.sh version 1.9-8, as of today, that's available
> from http://assistenza.larasrl.net/brisa/fgfs/download_and_compile.sh
>
>
>
>
>
--
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
Scenarios always come in sets of three:
best case, worst case, and just in case.
--- download_and_compile-1.9-8.sh 2013-02-18 22:57:33.000000000 +0100
+++ download_and_compile-1.9-8a.sh 2013-02-22 20:56:26.878177657 +0100
@@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-VERSION="1.9-8"
+VERSION="1.9-8a"
#COMPILE GIT FGFS
@@ -35,6 +35,9 @@
LOGFILE=compilation_log.txt
+# LOGFILE=compiled_$*_
+STTL=$(date +%F+%T-%Z )
+# WTL=$($* |tr [:blank:] + )
LOGSEP="***********************************"
WHATTOBUILD=
@@ -140,7 +143,7 @@
OSG_STABLE_REVISION="http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-3.0.1"
# common stable branch for flightgear, simgear and fgdata
-FGSG_STABLE_GIT_BRANCH="release/2.8.0"
+FGSG_STABLE_GIT_BRANCH="release/2.10.0"
FGRUN_STABLE_GIT_BRANCH="master"
OPENRTI_STABLE_GIT_BRANCH="release-0.3"
@@ -151,9 +154,9 @@
OPENRTI_UNSTABLE_GIT_BRANCH="master"
# stable GIT revision: release tag
-SIMGEAR_STABLE_REVISION="version/2.8.0-final"
-FGFS_STABLE_REVISION="version/2.8.0-final"
-FGFS_DATA_STABLE_REVISION="version/2.8.0-final"
+SIMGEAR_STABLE_REVISION="version/2.10.0-final"
+FGFS_STABLE_REVISION="version/2.10.0-final"
+FGFS_DATA_STABLE_REVISION="version/2.10.0-final"
OPENRTI_STABLE_REVISION="OpenRTI-0.3.0"
# FGCOM
@@ -1506,7 +1509,7 @@
fi
fi
-
+mv -vf $LOGFILE compiled_$WTL_$*_$STTL
echo "To start fgfs, run the run_fgfs.sh file"
echo "To start terrasync, run the run_terrasync.sh file"
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel