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

Commits:

2 changed files:

Changes:

  • bin/load-world.sh
    ... ... @@ -2,30 +2,14 @@
    2 2
     
    
    3 3
     usage()
    
    4 4
     {
    
    5
    -    echo "load-world.sh [-?p] target-directory [version-string]"
    
    5
    +    echo "load-world.sh [-?p] target-directory"
    
    6 6
         echo "   -p    Skip loading of PCL (Mostly for cross-compiling)"
    
    7 7
         echo "   -?    This help"
    
    8
    -    echo " If the version-string is not given, the current date and time is used"
    
    9 8
         exit 1
    
    10 9
     }
    
    11 10
     
    
    12 11
     SKIP_PCL=
    
    13 12
     NO_PCL_FEATURE=
    
    14
    -# Default version is the date with the git hash.  Older versions of
    
    15
    -# git don't support --dirty, but the output in that case is what we
    
    16
    -# want (except for ending with "dirty"), so we're set.
    
    17
    -GIT_HASH="`(cd src; git describe --dirty 2>/dev/null || git describe 2>/dev/null)`"
    
    18
    -
    
    19
    -# If the git hash looks like a snapshot tag or release, don't add the date.
    
    20
    -VERSION="`date '+%Y-%m-%d %H:%M:%S'`${GIT_HASH:+ $GIT_HASH}"
    
    21
    -if expr "X${GIT_HASH}" : 'Xsnapshot-[0-9][0-9][0-9][0-9]-[01][0-9]' > /dev/null; then
    
    22
    -    VERSION="${GIT_HASH}"
    
    23
    -fi
    
    24
    -
    
    25
    -if expr "X${GIT_HASH}" : 'X[0-9][0-9][a-f]' > /dev/null; then
    
    26
    -    VERSION="${GIT_HASH}"
    
    27
    -fi
    
    28
    -echo $VERSION
    
    29 13
     
    
    30 14
     while getopts "p" arg
    
    31 15
     do
    

  • src/tools/worldload.lisp
    ... ... @@ -31,12 +31,6 @@
    31 31
     ;(setf lisp::*enable-dynamic-space-code* t)
    
    32 32
     
    
    33 33
     
    
    34
    -;;; Get some data on this core.
    
    35
    -;;;
    
    36
    -(write-string "What is the current lisp-implementation-version? ")
    
    37
    -(force-output)
    
    38
    -(set '*lisp-implementation-version* (read-line))
    
    39
    -
    
    40 34
     ;;; Load the rest of the reader (maybe byte-compiled.)
    
    41 35
     (maybe-byte-load "target:code/sharpm")
    
    42 36
     (maybe-byte-load "target:code/backq")