[commit] r2475 - Some convenience scripts for unix builds. Fixed/extended upload scripts.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[commit] r2475 - Some convenience scripts for unix builds. Fixed/extended upload scripts.

commits-3
 
Author: eliot
Date: 2011-07-26 16:39:33 -0700 (Tue, 26 Jul 2011)
New Revision: 2475

Added:
   branches/Cog/cygwinbuild/mvm
   branches/Cog/nscogbuild/cygwinbuild/mvm
   branches/Cog/nscogbuild/unixbuild/bld/mvm
   branches/Cog/unixbuild/bld/mvm
   branches/Cog/unixbuild/mtbld/mvm
Modified:
   branches/Cog/scripts/mkvmarchives
   branches/Cog/scripts/uploadvms
Log:
Some convenience scripts for unix builds.  Fixed/extended upload scripts.


Added: branches/Cog/cygwinbuild/mvm
===================================================================
--- branches/Cog/cygwinbuild/mvm                        (rev 0)
+++ branches/Cog/cygwinbuild/mvm 2011-07-26 23:39:33 UTC (rev 2475)
@@ -0,0 +1,5 @@
+#!/bin/sh
+rm -rf build*/vm/Croquet*.exe
+make debug;make assert;make
+make THREADING=multi CONFIGURATION=debug;make THREADING=multi CONFIGURATION=assert;make THREADING=multi
+ls -rlt build*/vm/Croquet*.exe


Property changes on: branches/Cog/cygwinbuild/mvm
___________________________________________________________________
Added: svn:executable
   + *

Added: branches/Cog/nscogbuild/cygwinbuild/mvm
===================================================================
--- branches/Cog/nscogbuild/cygwinbuild/mvm                        (rev 0)
+++ branches/Cog/nscogbuild/cygwinbuild/mvm 2011-07-26 23:39:33 UTC (rev 2475)
@@ -0,0 +1,5 @@
+#!/bin/sh
+rm -rf build*/vm/nsvm*.exe
+make debug;make assert;make
+ls -rlt build*/vm/nsvm*.exe
+echo "don't forget to link in sources!!"

Added: branches/Cog/nscogbuild/unixbuild/bld/mvm
===================================================================
--- branches/Cog/nscogbuild/unixbuild/bld/mvm                        (rev 0)
+++ branches/Cog/nscogbuild/unixbuild/bld/mvm 2011-07-26 23:39:33 UTC (rev 2475)
@@ -0,0 +1,2 @@
+#!/bin/sh
+../../../scripts/nukeversion;make install prefix=~/oscogvm/nsvmlinux


Property changes on: branches/Cog/nscogbuild/unixbuild/bld/mvm
___________________________________________________________________
Added: svn:executable
   + *

Modified: branches/Cog/scripts/mkvmarchives
===================================================================
--- branches/Cog/scripts/mkvmarchives 2011-07-26 22:55:21 UTC (rev 2474)
+++ branches/Cog/scripts/mkvmarchives 2011-07-26 23:39:33 UTC (rev 2475)
@@ -62,7 +62,6 @@
  rm -rf Cog.app/* Cog.app.tgz
  (cd macbuild/Fast.app>/dev/null;tar cf - *)|(cd Cog.app;tar xvf -)
  ex "+g/[ >][0-9][0-9]*\.[0-9][0-9]*\.0/s/0\([< ]\)/$REV\1/" +w +q Cog.app/Contents/Info.plist
-g/ [
  tar czf Cog.app.tgz Cog.app
  EXES="$EXES Cog.app/Contents/MacOS/Croquet"
 fi
@@ -71,7 +70,6 @@
  rm -rf CogMT.app/* CogMT.app.tgz
  (cd macbuild/FastMT.app>/dev/null;tar cf - *)|(cd CogMT.app;tar xvf -)
  ex "+g/[ >][0-9][0-9]*\.[0-9][0-9]*\.0/s/0\([< ]\)/$REV\1/" +w +q CogMT.app/Contents/Info.plist
-g/ [
  tar czf CogMT.app.tgz CogMT.app
  EXES="$EXES CogMT.app/Contents/MacOS/Croquet"
 fi

Modified: branches/Cog/scripts/uploadvms
===================================================================
--- branches/Cog/scripts/uploadvms 2011-07-26 22:55:21 UTC (rev 2474)
+++ branches/Cog/scripts/uploadvms 2011-07-26 23:39:33 UTC (rev 2475)
@@ -11,7 +11,7 @@
 ARCHIVES=
  while [ -n "$1" ]; do
  case $1 in
- -c) ARCHIVES="$ARCHIVES $CSARCS $CMARCS"
+ -c) ARCHIVES="$ARCHIVES $CSARCS $CMARCS";;
  -cl) ARCHIVES="$ARCHIVES coglinux.tgz";;
  -cm) ARCHIVES="$ARCHIVES Cog.app.tgz";;
  -cw) ARCHIVES="$ARCHIVES cogwin.zip";;
@@ -21,7 +21,7 @@
  -nl) ARCHIVES="$ARCHIVES nsvmlinux.tgz";;
  -nm) ARCHIVES="$ARCHIVES Newspeak Virtual Machine.app.tgz";;
  -nw) ARCHIVES="$ARCHIVES nsvmwin.zip";;
- -n) ARCHIVES="$ARCHIVES $NSARCS"
+ -n) ARCHIVES="$ARCHIVES $NSARCS";;
  -l) ARCHIVES="$ARCHIVES coglinux.tgz nsvmlinux.tgz";;
  -m) ARCHIVES="$ARCHIVES Cog.app.tgz Newspeak Virtual Machine.app.tgz";;
  -w) ARCHIVES="$ARCHIVES cogwin.tgz nsvmwin.tgz";;
@@ -32,6 +32,17 @@
 fi
 VER="`svnversion | sed 's/^.*://'`"
 echo $VER
-test -f README.$VER || vi README.$VER
+if [ ! -f README.$VER ]; then
+ cat <<END >README.$VER
+N.B. For Squeak/Pharo/Croquet please use the archives whose names begin with
+     Cog or cog.  The archives whose names begin with nsvm or Newspeak are
+     for Newspeak and are missing plugins required by Squeak/Pharo/Croquet.
+     VMs with "mt" or "MT" in the name are multi-threaded VMs which support
+     non-blocking FFI calls.
+
+END
+ svn log platforms/Cross/vm/sqSCCSVersion.h >>README.$VER
+ vi README.$VER
+fi
 ssh -x [hidden email] mkdir mirandabanda.org/files/Cog/VM/VM.r$VER
 scp README.$VER $ARCHIVES [hidden email]:mirandabanda.org/files/Cog/VM/VM.r$VER

Added: branches/Cog/unixbuild/bld/mvm
===================================================================
--- branches/Cog/unixbuild/bld/mvm                        (rev 0)
+++ branches/Cog/unixbuild/bld/mvm 2011-07-26 23:39:33 UTC (rev 2475)
@@ -0,0 +1,2 @@
+#!/bin/sh
+../../scripts/nukeversion;make install prefix=~/oscogvm/coglinux


Property changes on: branches/Cog/unixbuild/bld/mvm
___________________________________________________________________
Added: svn:executable
   + *

Added: branches/Cog/unixbuild/mtbld/mvm
===================================================================
--- branches/Cog/unixbuild/mtbld/mvm                        (rev 0)
+++ branches/Cog/unixbuild/mtbld/mvm 2011-07-26 23:39:33 UTC (rev 2475)
@@ -0,0 +1,2 @@
+#!/bin/sh
+../../scripts/nukeversion;make install prefix=~/oscogvm/cogmtlinux


Property changes on: branches/Cog/unixbuild/mtbld/mvm
___________________________________________________________________
Added: svn:executable
   + *