Raymond Toy pushed to branch issue-363-add-version-number at cmucl / cmucl

Commits:

2 changed files:

Changes:

  • bin/build-utils.sh
    ... ... @@ -16,7 +16,7 @@ TARGET="`echo $1 | sed 's:/*$::'`"
    16 16
     shift
    
    17 17
     
    
    18 18
     $TARGET/lisp/lisp \
    
    19
    -	-noinit -nositeinit -batch "$@" <<EOF || exit 3
    
    19
    +	-lib $TARGET/lisp -noinit -nositeinit -batch "$@" <<EOF || exit 3
    
    20 20
     (in-package :cl-user)
    
    21 21
     
    
    22 22
     (setf lisp::*enable-package-locked-errors* nil)
    

  • bin/build.sh
    ... ... @@ -141,7 +141,9 @@ buildit ()
    141 141
         if [ "$ENABLE" = "yes" ]; 
    
    142 142
         then
    
    143 143
     	$TOOLDIR/clean-target.sh $CLEAN_FLAGS $TARGET || { echo "Failed: $TOOLDIR/clean-target.sh"; exit 1; }
    
    144
    +	set -x
    
    144 145
     	time $BUILDWORLD $TARGET $OLDLISP $BOOT || { echo "Failed: $BUILDWORLD"; exit 1; }
    
    146
    +	set +x
    
    145 147
     	if [ "$REBUILD_LISP" = "yes" ]; then
    
    146 148
     	    $TOOLDIR/rebuild-lisp.sh $TARGET
    
    147 149
     	fi
    
    ... ... @@ -152,11 +154,15 @@ buildit ()
    152 154
     
    
    153 155
     	if [ "$BUILD_WORLD2" = "yes" ];
    
    154 156
     	then
    
    157
    +	    set -x
    
    155 158
     	    $BUILDWORLD $TARGET $OLDLISP $BOOT || { echo "Failed: $BUILDWORLD"; exit 1; }
    
    159
    +	    set +x
    
    156 160
     	fi
    
    157 161
     	$TOOLDIR/load-world.sh $TARGET "$VERSION" || { echo "Failed: $TOOLDIR/load-world.sh"; exit 1; }
    
    158 162
     
    
    163
    +	set -x
    
    159 164
     	$TARGET/lisp/lisp -lib $TARGET/lisp -batch -noinit -nositeinit < /dev/null || { echo "Failed: $TARGET/lisp/lisp -batch -noinit"; exit 1; }
    
    165
    +	set +x
    
    160 166
     	return 0;
    
    161 167
         fi
    
    162 168
     }
    
    ... ... @@ -244,7 +250,7 @@ buildit
    244 250
     
    
    245 251
     TARGET=$BASE-4
    
    246 252
     CLEAN_FLAGS="-K all"
    
    247
    -OLDLISP="${BASE}-3/lisp/lisp -lib ${BASE}-2/lisp $OLDLISPFLAGS"
    
    253
    +OLDLISP="${BASE}-3/lisp/lisp -lib ${BASE}-3/lisp $OLDLISPFLAGS"
    
    248 254
     ENABLE=$ENABLE4
    
    249 255
     
    
    250 256
     if [ "${BUILD_POT}" = "yes" ]; then
    
    ... ... @@ -262,7 +268,7 @@ buildit
    262 268
     
    
    263 269
     # Asdf and friends are part of the base install, so we need to build
    
    264 270
     # them now.
    
    265
    -$TARGET/lisp/lisp -noinit -nositeinit -batch << EOF || exit 3
    
    271
    +$TARGET/lisp/lisp -lib $TARGET/lisp -noinit -nositeinit -batch << EOF || exit 3
    
    266 272
     (in-package :cl-user)
    
    267 273
     (setf (ext:search-list "target:")
    
    268 274
           '("$TARGET/" "src/"))
    
    ... ... @@ -282,7 +288,7 @@ EOF
    282 288
     
    
    283 289
     if [ "$SKIPUTILS" = "no" ];
    
    284 290
     then
    
    285
    -    OLDLISP="${BASE}-4/lisp/lisp $OLDLISPFLAGS"
    
    291
    +    OLDLISP="${BASE}-4/lisp/lisp -lib ${BASE}-4/lisp $OLDLISPFLAGS"
    
    286 292
         time $TOOLDIR/build-utils.sh $TARGET
    
    287 293
     fi
    
    288 294