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