etc/settings
author kleing
Sat Apr 17 13:56:59 2004 +0200 (2004-04-17)
changeset 14613 f0e4b502a208
parent 14461 fab539f843d9
child 14871 1dad51c852ad
permissions -rw-r--r--
do not mention poly 3.x any more (it is untested)
wenzelm@10503
     1
# -*- shell-script -*-
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
kleing@14461
    17
kleing@14461
    18
# try finding the poly packages from the Isabelle site in the usual places
kleing@14461
    19
POLYML_HOME=$(choosefrom \
kleing@14461
    20
  "$ISABELLE_HOME/contrib/polyml" \
kleing@14461
    21
  "$ISABELLE_HOME/../polyml" \
kleing@14461
    22
  "/usr/share/polyml" \
kleing@14461
    23
  "/usr/local/polyml" \
kleing@14461
    24
  "/opt/polyml")
kleing@14447
    25
kleing@14461
    26
if [ -n "$POLYML_HOME" -a -e "$POLYML_HOME/bin/polyml-version" ]; then
kleing@14461
    27
  # looks like Isabelle poly packages
kleing@14461
    28
  ML_SYSTEM=$("$POLYML_HOME/bin/polyml-version" 2>/dev/null || echo polyml)
kleing@14461
    29
  ML_PLATFORM=$("$POLYML_HOME/bin/polyml-platform" 2>/dev/null || echo unknown-platform)
kleing@14461
    30
  ML_HOME="$POLYML_HOME/$ML_PLATFORM"
kleing@14461
    31
  ML_OPTIONS="-h 15000"
kleing@14461
    32
elif [ -e /usr/bin/poly -a -e /usr/lib/poly ]; then
kleing@14461
    33
  # maybe a shrink-wrapped polyml on x86-linux ...
kleing@14461
    34
kleing@14613
    35
  # Poly/ML 4.0, 4.1, 4.1.x
kleing@14447
    36
  # include version number, needed for choosing right options
kleing@14447
    37
  ML_SYSTEM=polyml-4.1.3    
kleing@14447
    38
  # processor/OS type
wenzelm@10205
    39
  ML_PLATFORM=x86-linux
kleing@14447
    40
  # where to find binaries
wenzelm@10205
    41
  ML_HOME=/usr/bin
kleing@14447
    42
  # where to find the standard database
wenzelm@10205
    43
  ML_DBASE=/usr/lib/poly/ML_dbase
kleing@14447
    44
  # options to pass to poly
wenzelm@12752
    45
  ML_OPTIONS="-h 15000"
wenzelm@10205
    46
fi
wenzelm@8345
    47
wenzelm@5708
    48
# Standard ML of New Jersey 110 or later
wenzelm@8345
    49
#ML_SYSTEM=smlnj-110
wenzelm@9787
    50
#ML_HOME="$ISABELLE_HOME/../smlnj/bin"
wenzelm@8345
    51
#ML_OPTIONS="@SMLdebug=/dev/null"
wenzelm@9787
    52
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
wenzelm@5708
    53
wenzelm@11062
    54
# MLWorks 2.0
wenzelm@11062
    55
#ML_SYSTEM=mlworks
wenzelm@11062
    56
#ML_HOME="$ISABELLE_HOME/../mlworks/bin"
wenzelm@11062
    57
#ML_OPTIONS=""
wenzelm@11062
    58
#ML_PLATFORM=""
wenzelm@11062
    59
wenzelm@9252
    60
# Moscow ML 2.00 or later (experimental!)
wenzelm@9252
    61
#ML_SYSTEM=mosml
wenzelm@9787
    62
#ML_HOME="$ISABELLE_HOME/../mosml/bin"
wenzelm@6413
    63
#ML_PLATFORM=""
wenzelm@9252
    64
#ML_OPTIONS=""
wenzelm@5708
    65
wenzelm@2426
    66
# Standard ML of New Jersey 0.93
wenzelm@2426
    67
#ML_SYSTEM=smlnj-0.93
wenzelm@2426
    68
#ML_HOME=/usr/local/ldist/DIR/sml-0.93/src
wenzelm@2426
    69
#ML_OPTIONS=""
wenzelm@6413
    70
#ML_PLATFORM=""
wenzelm@2426
    71
wenzelm@2294
    72
wenzelm@2426
    73
###
kleing@13920
    74
### Compilation options for isatool usedir
kleing@13920
    75
### (as on command line)
wenzelm@2435
    76
###
wenzelm@2435
    77
kleing@14253
    78
ISABELLE_USEDIR_OPTIONS="-v true"
wenzelm@11569
    79
kleing@14044
    80
# for overriding proof objects in HOL image
kleing@14044
    81
HOL_PROOF_OBJECTS=""
kleing@14044
    82
wenzelm@2435
    83
wenzelm@2435
    84
###
wenzelm@7773
    85
### Document preparation
wenzelm@7773
    86
###
wenzelm@7773
    87
kleing@13920
    88
# latex command for isatool latex/document
wenzelm@7773
    89
ISABELLE_LATEX="latex"
kleing@13920
    90
kleing@13920
    91
# pdflatex command for isatool latex/document
wenzelm@7773
    92
ISABELLE_PDFLATEX="pdflatex"
kleing@13920
    93
kleing@13920
    94
# bibtex command for isatool latex/document
wenzelm@7813
    95
ISABELLE_BIBTEX="bibtex"
kleing@13920
    96
kleing@14344
    97
# makeindex command for isatool latex/document
kleing@14344
    98
ISABELLE_MAKEINDEX="makeindex"
kleing@14344
    99
kleing@13920
   100
# dvips command for isatool latex/document
wenzelm@7773
   101
ISABELLE_DVIPS="dvips -D 600"
kleing@13920
   102
kleing@13920
   103
# epstopdf command for isatool latex/document
wenzelm@11800
   104
ISABELLE_EPSTOPDF="epstopdf"
wenzelm@7773
   105
kleing@13920
   106
# Paranoia setting for strange latex installations ...
wenzelm@11062
   107
#unset TEXMF
wenzelm@11062
   108
kleing@13920
   109
# If ISABELLE_THUMBPDF is set, isatool tries to
kleing@13920
   110
# generate thumbnails for proof documents
kleing@13920
   111
#
kleing@13920
   112
# probably not generally available ...
wenzelm@11062
   113
#type -path thumbpdf >/dev/null && ISABELLE_THUMBPDF="thumbpdf"
wenzelm@7864
   114
wenzelm@7773
   115
wenzelm@7773
   116
###
wenzelm@2968
   117
### Misc path settings
wenzelm@2426
   118
###
wenzelm@2294
   119
wenzelm@2426
   120
# The place for user configuration, heap files, etc.
wenzelm@2426
   121
ISABELLE_HOME_USER=~/isabelle
wenzelm@2294
   122
wenzelm@3177
   123
# Where to look for isabelle tools (multiple dirs separated by ':').
wenzelm@9787
   124
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
wenzelm@2786
   125
wenzelm@4334
   126
# Location for temporary files (should be on a local file system).
wenzelm@9787
   127
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
wenzelm@4334
   128
wenzelm@2786
   129
wenzelm@9787
   130
# Heap input locations. ML system identifier is included in lookup.
wenzelm@9787
   131
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
wenzelm@2780
   132
wenzelm@9787
   133
# Heap output location. ML system identifier is appended automatically later on.
wenzelm@2780
   134
if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then
wenzelm@9787
   135
  #Isabelle build tells us to store heaps etc. within the distribution.
wenzelm@9787
   136
  ISABELLE_OUTPUT="$ISABELLE_HOME/heaps"
wenzelm@9787
   137
  ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info"
wenzelm@2780
   138
else
wenzelm@9787
   139
  ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
wenzelm@9787
   140
  ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
wenzelm@2780
   141
fi
wenzelm@2780
   142
wenzelm@9225
   143
# Site settings check -- just to make it a little bit harder to copy this file!
wenzelm@9225
   144
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
wenzelm@9225
   145
  { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
wenzelm@9225
   146
kleing@13920
   147
kleing@13920
   148
###
kleing@13920
   149
### default logic, users may want to override this.
kleing@13920
   150
###
wenzelm@3184
   151
ISABELLE_LOGIC=HOL
wenzelm@2294
   152
wenzelm@2786
   153
kleing@13920
   154
###
kleing@13920
   155
### Docs
kleing@13920
   156
###
wenzelm@2294
   157
wenzelm@3177
   158
#Where to look for docs (multiple dirs separated by ':').
wenzelm@9787
   159
ISABELLE_DOCS="$ISABELLE_HOME/doc"
wenzelm@2345
   160
wenzelm@3177
   161
#The dvi file viewer
wenzelm@3062
   162
DVI_VIEWER=xdvi
wenzelm@2426
   163
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
wenzelm@11103
   164
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
wenzelm@2476
   165
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
wenzelm@3062
   166
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
wenzelm@2345
   167
wenzelm@2294
   168
wenzelm@2426
   169
###
wenzelm@2426
   170
### Interfaces
wenzelm@2426
   171
###
wenzelm@2426
   172
kleing@13920
   173
# ISABELLE_INTERFACE is the program which is run by the Isabelle command
kleing@13920
   174
kleing@13920
   175
# Fallback: the null interface (pass-through to raw isabelle process).
wenzelm@11552
   176
ISABELLE_INTERFACE=none
wenzelm@2294
   177
kleing@13920
   178
# Emacs running (obsolete) Isamode.
wenzelm@2968
   179
#ISABELLE_INTERFACE=emacs
wenzelm@9787
   180
ISAMODE_HOME="$ISABELLE_HOME/contrib/Isamode"
wenzelm@5964
   181
ISAMODE_OPTIONS=""
wenzelm@5964
   182
kleing@13920
   183
# Proof General path, look in a variety of places
wenzelm@9679
   184
ISABELLE_INTERFACE=$(choosefrom \
wenzelm@9679
   185
  "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
wenzelm@9679
   186
  "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
wenzelm@9787
   187
  "/usr/share/ProofGeneral/isar/interface" \
wenzelm@9948
   188
  "/usr/local/ProofGeneral/isar/interface" \
wenzelm@10070
   189
  "/opt/ProofGeneral/isar/interface" \
wenzelm@9956
   190
  "/usr/share/emacs/ProofGeneral/isar/interface" \
wenzelm@9679
   191
  "$ISABELLE_INTERFACE")
kleing@13920
   192
kleing@13920
   193
# Options to pass to Isabelle command when PG is selected as interface
wenzelm@5964
   194
PROOFGENERAL_OPTIONS=""
wenzelm@11981
   195
#PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true"
wenzelm@7185
   196
kleing@13920
   197
# try xemacs first, else emacs
wenzelm@12476
   198
type -path xemacs >/dev/null || PROOFGENERAL_OPTIONS="-p emacs $PROOFGENERAL_OPTIONS"
wenzelm@12476
   199
wenzelm@12476
   200
kleing@13920
   201
# X-Symbol installation location (for Proof General, obsolete for PG >= 3.5)
wenzelm@9679
   202
XSYMBOL_HOME=$(choosefrom \
wenzelm@9679
   203
  "$ISABELLE_HOME/contrib/x-symbol" \
wenzelm@9679
   204
  "$ISABELLE_HOME/../x-symbol" \
wenzelm@9787
   205
  "/usr/share/x-symbol" \
wenzelm@9948
   206
  "/usr/local/x-symbol" \
wenzelm@10070
   207
  "/opt/x-symbol" \
wenzelm@9679
   208
  "")
kleing@13920
   209
kleing@13920
   210
# Executed before xemacs with ProofGeneral is called.
kleing@13920
   211
# Required for remote fonts only.
wenzelm@9994
   212
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
wenzelm@9569
   213
wenzelm@7185
   214
wenzelm@7185
   215
###
wenzelm@7185
   216
### External reasoning tools
wenzelm@7185
   217
###
wenzelm@7185
   218
wenzelm@7194
   219
## Set HOME only for tools you have installed!
wenzelm@7185
   220
wenzelm@7185
   221
# SVC (Stanford Validity Checker)
wenzelm@7185
   222
#SVC_HOME=
wenzelm@7185
   223
#SVC_MACHINE=i386-redhat-linux
wenzelm@7185
   224
#SVC_MACHINE=sparc-sun-solaris
wenzelm@7296
   225
wenzelm@7296
   226
# Mucke (mu-calculus model checker)
wenzelm@7296
   227
#MUCKE_HOME=/usr/local/bin
wenzelm@7296
   228
wenzelm@7296
   229
# Einhoven model checker
wenzelm@7296
   230
#EINDHOVEN_HOME=/usr/local/bin
webertj@14451
   231
webertj@14451
   232
# ZChaff SAT solver
webertj@14451
   233
#ZCHAFF_HOME=/usr/local/bin