build
author wenzelm
Fri Mar 07 14:52:19 1997 +0100 (1997-03-07)
changeset 2761 fee689b7d813
parent 2755 9a7128d9722e
child 2775 7a4989d685d6
permissions -rwxr-xr-x
tuned comment;
wenzelm@2755
     1
#!/bin/bash -norc
wenzelm@2755
     2
#
wenzelm@2755
     3
# $Id$
wenzelm@2755
     4
#
wenzelm@2755
     5
# build - compile parts of the Isabelle system
wenzelm@2755
     6
wenzelm@2755
     7
wenzelm@2755
     8
LOGICS="Pure $*"
wenzelm@2755
     9
wenzelm@2755
    10
ISATOOL=$PWD/bin/isatool
wenzelm@2755
    11
wenzelm@2755
    12
wenzelm@2755
    13
## tell the user about current settings
wenzelm@2755
    14
wenzelm@2755
    15
FILES=./etc/settings
wenzelm@2755
    16
wenzelm@2755
    17
USER_SETTINGS=$($ISATOOL getenv -b ISABELLE_HOME_USER)/etc/settings
wenzelm@2755
    18
[ -f $USER_SETTINGS ] && FILES="$FILES and $USER_SETTINGS"
wenzelm@2755
    19
wenzelm@2755
    20
echo
wenzelm@2755
    21
echo "Please check $FILES"
wenzelm@2755
    22
echo "to make sure that Isabelle's ML system settings are appropriate."
wenzelm@2755
    23
echo "Your current values are:"
wenzelm@2755
    24
echo
wenzelm@2755
    25
wenzelm@2755
    26
$ISATOOL getenv ML_SYSTEM ML_HOME ML_OPTIONS
wenzelm@2755
    27
wenzelm@2755
    28
echo
wenzelm@2761
    29
echo
wenzelm@2761
    30
echo "Press RETURN to start compilation of: $LOGICS"
wenzelm@2755
    31
read
wenzelm@2755
    32
wenzelm@2755
    33
wenzelm@2755
    34
## build it
wenzelm@2755
    35
wenzelm@2755
    36
# FIXME isatool makelogics
wenzelm@2755
    37
wenzelm@2755
    38
for DIR in $LOGICS
wenzelm@2755
    39
do
wenzelm@2755
    40
  ( cd $DIR; $ISATOOL make)
wenzelm@2755
    41
done