build
author wenzelm
Tue, 11 Mar 1997 16:39:20 +0100
changeset 2789 69cf3aea45ee
parent 2781 0d6fcae3ae45
child 2879 477bfcb022d8
permissions -rwxr-xr-x
major tuning;
     1 #!/bin/bash -norc
     2 #
     3 # $Id$
     4 #
     5 # build - compile parts of the Isabelle system
     6 
     7 ## args
     8 
     9 LOGICS="$*"
    10 
    11 
    12 ## settings
    13 
    14 PRG=$(basename $0)
    15 
    16 ISABELLE_HOME=$(dirname $0)
    17 . $ISABELLE_HOME/lib/scripts/getsettings || \
    18   { echo "$PRG probably not called from its original place!"; exit 2 }
    19 
    20 
    21 ## tell the user about current values
    22 
    23 echo
    24 echo "Please check $ISABELLE_HOME/etc/settings"
    25 [ -f $ISABELLE_HOME_USER/etc/settings ] && echo "AND $ISABELLE_HOME_USER/etc/settings"
    26 echo "to make sure that Isabelle's ML system settings are appropriate."
    27 echo "Your current values are:"
    28 echo
    29 
    30 echo "ML_SYSTEM=$ML_SYSTEM"
    31 echo "ML_HOME=$ML_HOME"
    32 echo "ML_OPTIONS=$ML_OPTIONS"
    33 
    34 
    35 ## build it
    36 
    37 LOGICS="Pure $DEFAULT_LOGIC $LOGICS"
    38 
    39 echo
    40 echo
    41 echo "Press RETURN to start compilation of: $LOGICS"
    42 read
    43 
    44 
    45 export THIS_IS_ISABELLE_BUILD=true
    46 
    47 for DIR in $LOGICS
    48 do
    49   ( cd $ISABELLE_HOME/src/$DIR; $ISATOOL make)
    50 done