etc/settings
author wenzelm
Thu Oct 12 17:47:32 2000 +0200 (2000-10-12)
changeset 10205 7f3d844c9512
parent 10070 fefb958b52aa
child 10503 c9d087e4a5e8
permissions -rw-r--r--
even smarter setup for several installations of Poly/ML 3.x and 4.0;
wenzelm@2294
     1
#
wenzelm@2294
     2
# $Id$
wenzelm@9818
     3
# Author: Markus Wenzel, TU Muenchen
wenzelm@9818
     4
# License: GPL (GNU GENERAL PUBLIC LICENSE)
wenzelm@2294
     5
#
wenzelm@2309
     6
# Isabelle settings -- site defaults.
wenzelm@9225
     7
# Do *NOT* copy this file into your personal isabelle directory!!!
wenzelm@2309
     8
wenzelm@2426
     9
###
wenzelm@3177
    10
### ML compiler settings (ESSENTIAL!)
wenzelm@2426
    11
###
wenzelm@2426
    12
wenzelm@9236
    13
# Note that ML_HOME specifies the location of the actual compiler
wenzelm@9236
    14
# binaries.  Do not invent new ML system names unless you know what
wenzelm@9759
    15
# you are doing.  Only one of the sections below should be activated.
wenzelm@2426
    16
wenzelm@10205
    17
# Poly/ML 3.x and 4.0
wenzelm@10205
    18
if [ -e /usr/bin/poly -a -e /usr/lib/poly ]; then
wenzelm@10205
    19
  #maybe a shrink-wrapped polyml-4.0 on x86-linux ...
wenzelm@10205
    20
  ML_SYSTEM=polyml-4.0
wenzelm@10205
    21
  ML_PLATFORM=x86-linux
wenzelm@10205
    22
  ML_HOME=/usr/bin
wenzelm@10205
    23
  ML_DBASE=/usr/lib/poly/ML_dbase
wenzelm@10205
    24
  ML_OPTIONS="-h 30000"
wenzelm@10205
    25
else
wenzelm@10205
    26
  #... or rather a self-contained multi-platform installation
wenzelm@10205
    27
  POLYML_HOME=$(choosefrom \
wenzelm@10205
    28
    "$ISABELLE_HOME/contrib/polyml" \
wenzelm@10205
    29
    "$ISABELLE_HOME/../polyml" \
wenzelm@10205
    30
    "/usr/share/polyml" \
wenzelm@10205
    31
    "/usr/local/polyml" \
wenzelm@10205
    32
    "/opt/polyml")
wenzelm@10205
    33
  ML_SYSTEM=$("$POLYML_HOME/bin/polyml-version" 2>/dev/null || echo polyml)
wenzelm@10205
    34
  ML_PLATFORM=$("$POLYML_HOME/bin/polyml-platform" 2>/dev/null || echo platform)
wenzelm@10205
    35
  ML_HOME="$POLYML_HOME/$ML_PLATFORM"
wenzelm@10205
    36
  ML_OPTIONS="-h 30000"
wenzelm@10205
    37
fi
wenzelm@8345
    38
wenzelm@5708
    39
# Standard ML of New Jersey 110 or later
wenzelm@8345
    40
#ML_SYSTEM=smlnj-110
wenzelm@9787
    41
#ML_HOME="$ISABELLE_HOME/../smlnj/bin"
wenzelm@8345
    42
#ML_OPTIONS="@SMLdebug=/dev/null"
wenzelm@9787
    43
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
wenzelm@5708
    44
wenzelm@9252
    45
# Moscow ML 2.00 or later (experimental!)
wenzelm@9252
    46
#ML_SYSTEM=mosml
wenzelm@9787
    47
#ML_HOME="$ISABELLE_HOME/../mosml/bin"
wenzelm@6413
    48
#ML_PLATFORM=""
wenzelm@9252
    49
#ML_OPTIONS=""
wenzelm@5708
    50
wenzelm@9252
    51
# MLWorks 2.0
wenzelm@9252
    52
#ML_SYSTEM=mlworks
wenzelm@9787
    53
#ML_HOME="$ISABELLE_HOME/../mlworks/bin"
wenzelm@9252
    54
#ML_OPTIONS=""
wenzelm@6413
    55
#ML_PLATFORM=""
wenzelm@2294
    56
wenzelm@2426
    57
# Standard ML of New Jersey 0.93
wenzelm@2426
    58
#ML_SYSTEM=smlnj-0.93
wenzelm@2426
    59
#ML_HOME=/usr/local/ldist/DIR/sml-0.93/src
wenzelm@2426
    60
#ML_OPTIONS=""
wenzelm@6413
    61
#ML_PLATFORM=""
wenzelm@2426
    62
wenzelm@2294
    63
wenzelm@2426
    64
###
wenzelm@3177
    65
### Compilation options
wenzelm@2435
    66
###
wenzelm@2435
    67
wenzelm@5387
    68
ISABELLE_USEDIR_OPTIONS="-i false"
wenzelm@7762
    69
#ISABELLE_USEDIR_OPTIONS="-i true -d pdf"
wenzelm@2435
    70
wenzelm@2435
    71
wenzelm@2435
    72
###
wenzelm@7773
    73
### Document preparation
wenzelm@7773
    74
###
wenzelm@7773
    75
wenzelm@7773
    76
TEXINPUTS="$ISABELLE_HOME/lib/texinputs:$TEXINPUTS"
wenzelm@7773
    77
ISABELLE_LATEX="latex"
wenzelm@7773
    78
ISABELLE_PDFLATEX="pdflatex"
wenzelm@7813
    79
ISABELLE_BIBTEX="bibtex"
wenzelm@7773
    80
ISABELLE_DVIPS="dvips -D 600"
wenzelm@7773
    81
wenzelm@7873
    82
# The thumbpdf tool is probably not generally available ...
wenzelm@7864
    83
#ISABELLE_THUMBPDF="thumbpdf"
wenzelm@7864
    84
wenzelm@7773
    85
wenzelm@7773
    86
###
wenzelm@2968
    87
### Misc path settings
wenzelm@2426
    88
###
wenzelm@2294
    89
wenzelm@2426
    90
# The place for user configuration, heap files, etc.
wenzelm@2426
    91
ISABELLE_HOME_USER=~/isabelle
wenzelm@2294
    92
wenzelm@3177
    93
# Where to look for isabelle tools (multiple dirs separated by ':').
wenzelm@9787
    94
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
wenzelm@2786
    95
wenzelm@4334
    96
# Location for temporary files (should be on a local file system).
wenzelm@9787
    97
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
wenzelm@4334
    98
wenzelm@2786
    99
wenzelm@9787
   100
# Heap input locations. ML system identifier is included in lookup.
wenzelm@9787
   101
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
wenzelm@2780
   102
wenzelm@9787
   103
# Heap output location. ML system identifier is appended automatically later on.
wenzelm@2780
   104
if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then
wenzelm@9787
   105
  #Isabelle build tells us to store heaps etc. within the distribution.
wenzelm@9787
   106
  ISABELLE_OUTPUT="$ISABELLE_HOME/heaps"
wenzelm@9787
   107
  ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info"
wenzelm@2780
   108
else
wenzelm@9787
   109
  ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
wenzelm@9787
   110
  ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
wenzelm@2780
   111
fi
wenzelm@2780
   112
wenzelm@9225
   113
# Site settings check -- just to make it a little bit harder to copy this file!
wenzelm@9225
   114
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
wenzelm@9225
   115
  { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
wenzelm@9225
   116
wenzelm@3177
   117
#Users may want to change this.
wenzelm@3184
   118
ISABELLE_LOGIC=HOL
wenzelm@2294
   119
wenzelm@2786
   120
wenzelm@2786
   121
## Docs
wenzelm@2294
   122
wenzelm@3177
   123
#Where to look for docs (multiple dirs separated by ':').
wenzelm@9787
   124
ISABELLE_DOCS="$ISABELLE_HOME/doc"
wenzelm@2345
   125
wenzelm@3177
   126
#The dvi file viewer
wenzelm@3062
   127
DVI_VIEWER=xdvi
wenzelm@2426
   128
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
wenzelm@2476
   129
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
wenzelm@3062
   130
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
wenzelm@2345
   131
wenzelm@2294
   132
wenzelm@3158
   133
## Fonts -- how to install the Isabelle X11 fonts (can be tricky!).
wenzelm@3158
   134
wenzelm@3158
   135
# (1) Get fonts from local (client side) directory:
wenzelm@9787
   136
ISABELLE_INSTALLFONTS="xset fp+ \"$ISABELLE_HOME/lib/fonts\"; xset fp rehash"
wenzelm@3158
   137
paulson@3689
   138
# (2) Get from font server at Munich or Cambridge:
wenzelm@3256
   139
#ISABELLE_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
paulson@3689
   140
#ISABELLE_INSTALLFONTS="xset fp+ tcp/font-serv.cl.cam.ac.uk:7100"
wenzelm@2577
   141
wenzelm@5964
   142
wenzelm@2426
   143
###
wenzelm@2426
   144
### Interfaces
wenzelm@2426
   145
###
wenzelm@2426
   146
wenzelm@2426
   147
# The null interface: pass-through to 'isabelle'.
wenzelm@2294
   148
#ISABELLE_INTERFACE=none
wenzelm@2294
   149
wenzelm@2786
   150
# Simple xterm based interface.
wenzelm@2294
   151
ISABELLE_INTERFACE=xterm
wenzelm@5964
   152
ISABELLE_XTERM_OPTIONS=""
wenzelm@2968
   153
wenzelm@3303
   154
# Emacs running Isamode.
wenzelm@2968
   155
#ISABELLE_INTERFACE=emacs
wenzelm@9787
   156
ISAMODE_HOME="$ISABELLE_HOME/contrib/Isamode"
wenzelm@5964
   157
ISAMODE_OPTIONS=""
wenzelm@5964
   158
wenzelm@9679
   159
# Proof General
wenzelm@9679
   160
ISABELLE_INTERFACE=$(choosefrom \
wenzelm@9679
   161
  "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
wenzelm@9679
   162
  "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
wenzelm@9787
   163
  "/usr/share/ProofGeneral/isar/interface" \
wenzelm@9948
   164
  "/usr/local/ProofGeneral/isar/interface" \
wenzelm@10070
   165
  "/opt/ProofGeneral/isar/interface" \
wenzelm@9956
   166
  "/usr/share/emacs/ProofGeneral/isar/interface" \
wenzelm@9679
   167
  "$ISABELLE_INTERFACE")
wenzelm@5964
   168
PROOFGENERAL_OPTIONS=""
wenzelm@7185
   169
wenzelm@9759
   170
# X-Symbol mode for Proof General
wenzelm@9679
   171
XSYMBOL_HOME=$(choosefrom \
wenzelm@9679
   172
  "$ISABELLE_HOME/contrib/x-symbol" \
wenzelm@9679
   173
  "$ISABELLE_HOME/../x-symbol" \
wenzelm@9787
   174
  "/usr/share/x-symbol" \
wenzelm@9948
   175
  "/usr/local/x-symbol" \
wenzelm@10070
   176
  "/opt/x-symbol" \
wenzelm@9679
   177
  "")
wenzelm@9994
   178
#required for remote fonts only ...
wenzelm@9994
   179
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
wenzelm@9569
   180
wenzelm@7185
   181
wenzelm@7185
   182
###
wenzelm@7185
   183
### External reasoning tools
wenzelm@7185
   184
###
wenzelm@7185
   185
wenzelm@7194
   186
## Set HOME only for tools you have installed!
wenzelm@7185
   187
wenzelm@7185
   188
# SVC (Stanford Validity Checker)
wenzelm@7185
   189
#SVC_HOME=
wenzelm@7185
   190
#SVC_MACHINE=i386-redhat-linux
wenzelm@7185
   191
#SVC_MACHINE=sparc-sun-solaris
wenzelm@7296
   192
wenzelm@7296
   193
# Mucke (mu-calculus model checker)
wenzelm@7296
   194
#MUCKE_HOME=/usr/local/bin
wenzelm@7296
   195
wenzelm@7296
   196
# Einhoven model checker
wenzelm@7296
   197
#EINDHOVEN_HOME=/usr/local/bin