[cmucl-cvs] [git] CMU Common Lisp branch master updated. snapshot-2012-02-17-g8895c01

Raymond Toy rtoy at common-lisp.net
Sun Feb 19 23:49:22 UTC 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMU Common Lisp".

The branch, master has been updated
       via  8895c013f61f55b8e561e0efa56962038b578213 (commit)
      from  14c63c68c74e9d0ebe1a21bcb23bad48a4a917a1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8895c013f61f55b8e561e0efa56962038b578213
Author: Raymond Toy <toy.raymond at gmail.com>
Date:   Sun Feb 19 15:49:10 2012 -0800

    Add -R flag to force recompilation of C runtime.

diff --git a/bin/build.sh b/bin/build.sh
index 276272d..0ac13c8 100755
--- a/bin/build.sh
+++ b/bin/build.sh
@@ -94,6 +94,8 @@ usage ()
     echo "               translations instead of computing and displaying the diffs."
     echo "    -O opt    Any additional command-line flags to use when building."
     echo "               The flags always include -noinit -nositeinit"
+    echo "    -R        Force recompiling the C runtime.  Normally, just runs make to "
+    echo "               recompile anything that has changed."
     exit 1
 }
 
@@ -124,11 +126,16 @@ buildit ()
     then
 	$TOOLDIR/clean-target.sh $CLEAN_FLAGS $TARGET || { echo "Failed: $TOOLDIR/clean-target.sh"; exit 1; }
 	time $BUILDWORLD $TARGET $OLDLISP $BOOT || { echo "Failed: $BUILDWORLD"; exit 1; }
-	# Set the LANG to C.  For whatever reason, if I (rtoy) don't
-        # do this on my openSuSE system, any messages from gcc are
-        # basically garbled.  This should be harmless on other
-        # systems.
-	LANG=C $MAKE -C $TARGET/lisp $MAKE_TARGET || { echo "Failed: $MAKE -C $TARGET/lisp"; exit 1; }
+	if [ "$REBUILD_LISP" = "yes" ]; then
+	    $TOOLDIR/rebuild-lisp.sh $TARGET
+	else
+	    # Set the LANG to C.  For whatever reason, if I (rtoy) don't
+	    # do this on my openSuSE system, any messages from gcc are
+	    # basically garbled.  This should be harmless on other
+	    # systems.
+	    LANG=C $MAKE -C $TARGET/lisp $MAKE_TARGET || { echo "Failed: $MAKE -C $TARGET/lisp"; exit 1; }
+        fi
+
 	if [ "$BUILD_WORLD2" = "yes" ];
 	then
 	    $BUILDWORLD $TARGET $OLDLISP $BOOT || { echo "Failed: $BUILDWORLD"; exit 1; }
@@ -145,7 +152,7 @@ BUILDWORLD="$TOOLDIR/build-world.sh"
 BUILD_POT="yes"
 UPDATE_TRANS=
 
-while getopts "123Po:b:v:uB:C:Ui:f:w:O:?" arg
+while getopts "123PRo:b:v:uB:C:Ui:f:w:O:?" arg
 do
     case $arg in
 	1) ENABLE2="no" ;;
@@ -164,6 +171,7 @@ do
         w) BUILDWORLD="$OPTARG" ;;
         U) UPDATE_TRANS="yes";;
 	O) OLDLISPFLAGS="$OLDLISPFLAGS $OPTARG" ;;
+        R) REBUILD_LISP="yes";;
 	\?) usage
 	    ;;
     esac

-----------------------------------------------------------------------

Summary of changes:
 bin/build.sh |   20 ++++++++++++++------
 1 files changed, 14 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
CMU Common Lisp




More information about the cmucl-cvs mailing list