etc/settings
author wenzelm
Fri Dec 14 21:15:33 2007 +0100 (2007-12-14)
changeset 25627 7726fbf5f81f
parent 25500 7a284dc85326
child 25970 9053fd546501
permissions -rw-r--r--
added ISABELLE_LINE_EDITOR;
tuned;
wenzelm@24211
     1
# -*- shell-script -*- :mode=shellscript:
wenzelm@2294
     2
# $Id$
wenzelm@2294
     3
#
wenzelm@2309
     4
# Isabelle settings -- site defaults.
wenzelm@16875
     5
#
wenzelm@16875
     6
# Important notes:
wenzelm@16875
     7
#   * See the system manual for explanations on Isabelle settings
wenzelm@16875
     8
#   * DO NOT EDIT the repository copy of this file!
wenzelm@16875
     9
#   * DO NOT COPY this file into your personal isabelle directory!
wenzelm@2309
    10
wenzelm@2426
    11
###
wenzelm@3177
    12
### ML compiler settings (ESSENTIAL!)
wenzelm@2426
    13
###
wenzelm@2426
    14
wenzelm@16968
    15
# ML_HOME specifies the location of the actual compiler binaries.  Do
wenzelm@16968
    16
# not invent new ML system names unless you know what you are doing.
wenzelm@16968
    17
# Only one of the sections below should be activated.
kleing@14447
    18
wenzelm@21812
    19
# Poly/ML 4.x/5.x (automated settings)
wenzelm@16968
    20
POLY_HOME="$(type -p poly)"; [ -n "$POLY_HOME" ] && POLY_HOME="$(dirname "$POLY_HOME")"
wenzelm@16968
    21
ML_PLATFORM=$("$ISABELLE_HOME/lib/scripts/polyml-platform")
wenzelm@16968
    22
ML_HOME=$(choosefrom \
wenzelm@16968
    23
  "$ISABELLE_HOME/contrib/polyml/$ML_PLATFORM" \
wenzelm@16968
    24
  "$ISABELLE_HOME/../polyml/$ML_PLATFORM" \
wenzelm@17119
    25
  "/usr/local/polyml/$ML_PLATFORM" \
wenzelm@16968
    26
  "/usr/share/polyml/$ML_PLATFORM" \
wenzelm@16968
    27
  "/opt/polyml/$ML_PLATFORM" \
wenzelm@16968
    28
  $POLY_HOME)
wenzelm@16968
    29
ML_SYSTEM=$("$ISABELLE_HOME/lib/scripts/polyml-version")
wenzelm@25500
    30
ML_OPTIONS="-H 200"
wenzelm@17048
    31
ML_DBASE=""
wenzelm@8345
    32
wenzelm@25347
    33
# Poly/ML 5.1
wenzelm@25347
    34
#ML_PLATFORM=x86-linux
wenzelm@25347
    35
#ML_HOME=/usr/local/polyml/x86-linux
wenzelm@25347
    36
#ML_SYSTEM=polyml-5.1
wenzelm@25347
    37
#ML_OPTIONS="-H 500"
wenzelm@25347
    38
wenzelm@25347
    39
# Poly/ML 5.1 (64 bit)
wenzelm@20764
    40
#ML_PLATFORM=x86_64-linux
wenzelm@20764
    41
#ML_HOME=/usr/local/polyml/x86_64-linux
wenzelm@24479
    42
#ML_SYSTEM=polyml-5.1
wenzelm@24479
    43
#ML_OPTIONS="-H 1000"
wenzelm@24479
    44
wenzelm@21812
    45
# Poly/ML 4.2.0
wenzelm@21812
    46
#ML_PLATFORM=x86-linux
wenzelm@21812
    47
#ML_HOME=/usr/local/polyml/x86-linux
wenzelm@21812
    48
#ML_SYSTEM=polyml-4.2.0
wenzelm@21812
    49
#ML_OPTIONS="-H 80"
wenzelm@21812
    50
wenzelm@25347
    51
# Standard ML of New Jersey (slow!)
wenzelm@8345
    52
#ML_SYSTEM=smlnj-110
wenzelm@25347
    53
#ML_HOME="/usr/local/smlnj/bin"
wenzelm@8345
    54
#ML_OPTIONS="@SMLdebug=/dev/null"
wenzelm@9787
    55
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
wenzelm@25347
    56
#SMLNJ_CYGWIN_RUNTIME=1
wenzelm@5708
    57
wenzelm@25347
    58
# Moscow ML 2.00 (experimental!)
wenzelm@9252
    59
#ML_SYSTEM=mosml
wenzelm@25347
    60
#ML_HOME="/usr/local/mosml/bin"
wenzelm@25347
    61
#ML_OPTIONS=""
wenzelm@25347
    62
#ML_PLATFORM=""
wenzelm@25347
    63
wenzelm@25347
    64
# Alice 1.4 (experimental!)
wenzelm@25347
    65
#ML_SYSTEM=alice
wenzelm@25347
    66
#ML_HOME="/usr/local/alice/bin"
wenzelm@17825
    67
#ML_OPTIONS=""
wenzelm@6413
    68
#ML_PLATFORM=""
wenzelm@5708
    69
wenzelm@17768
    70
# Poplog/PML version 15.6/2.1 (experimental!)
wenzelm@17768
    71
#ML_SYSTEM=poplogml
wenzelm@17825
    72
#ML_HOME="/usr/local/poplog/current-poplog/bin"
wenzelm@17768
    73
#ML_OPTIONS="-noinit"
wenzelm@17793
    74
#ML_SUFFIX=".psv"
wenzelm@17825
    75
#ML_PLATFORM=""
wenzelm@17768
    76
wenzelm@2294
    77
wenzelm@2426
    78
###
wenzelm@25627
    79
### Interactive sessions (cf. isatool tty)
wenzelm@25627
    80
###
wenzelm@25627
    81
wenzelm@25627
    82
ISABELLE_LINE_EDITOR=""
wenzelm@25627
    83
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)"
wenzelm@25627
    84
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)"
wenzelm@25627
    85
wenzelm@25627
    86
wenzelm@25627
    87
###
wenzelm@25627
    88
### Batch sessions (cf. isatool usedir)
wenzelm@2435
    89
###
wenzelm@2435
    90
wenzelm@23138
    91
ISABELLE_USEDIR_OPTIONS="-p 1 -v true -V outline=/proof,/ML"
wenzelm@11569
    92
wenzelm@16186
    93
# Specifically for the HOL image
wenzelm@24439
    94
HOL_USEDIR_OPTIONS=""
wenzelm@24439
    95
#HOL_USEDIR_OPTIONS="-p 2"
kleing@14044
    96
wenzelm@23837
    97
#Source file identification (default: full name + date stamp)
wenzelm@23837
    98
ISABELLE_FILE_IDENT=""
wenzelm@23837
    99
#ISABELLE_FILE_IDENT="md5"
wenzelm@23837
   100
#ISABELLE_FILE_IDENT="md5sum"
wenzelm@23837
   101
#ISABELLE_FILE_IDENT="sha1sum"
wenzelm@23837
   102
#ISABELLE_FILE_IDENT="openssl dgst -sha1"
wenzelm@23837
   103
wenzelm@2435
   104
wenzelm@2435
   105
###
wenzelm@16186
   106
### Document preparation (cf. isatool latex/document)
wenzelm@7773
   107
###
wenzelm@7773
   108
wenzelm@7773
   109
ISABELLE_LATEX="latex"
wenzelm@7773
   110
ISABELLE_PDFLATEX="pdflatex"
wenzelm@7813
   111
ISABELLE_BIBTEX="bibtex"
kleing@14344
   112
ISABELLE_MAKEINDEX="makeindex"
wenzelm@7773
   113
ISABELLE_DVIPS="dvips -D 600"
wenzelm@11800
   114
ISABELLE_EPSTOPDF="epstopdf"
wenzelm@7773
   115
kleing@13920
   116
# Paranoia setting for strange latex installations ...
wenzelm@11062
   117
#unset TEXMF
wenzelm@11062
   118
kleing@13920
   119
# If ISABELLE_THUMBPDF is set, isatool tries to
kleing@13920
   120
# generate thumbnails for proof documents
wenzelm@11062
   121
#type -path thumbpdf >/dev/null && ISABELLE_THUMBPDF="thumbpdf"
wenzelm@7864
   122
wenzelm@7773
   123
wenzelm@7773
   124
###
wenzelm@2968
   125
### Misc path settings
wenzelm@2426
   126
###
wenzelm@2294
   127
wenzelm@2426
   128
# The place for user configuration, heap files, etc.
wenzelm@2426
   129
ISABELLE_HOME_USER=~/isabelle
wenzelm@2294
   130
wenzelm@3177
   131
# Where to look for isabelle tools (multiple dirs separated by ':').
wenzelm@9787
   132
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
wenzelm@2786
   133
wenzelm@4334
   134
# Location for temporary files (should be on a local file system).
wenzelm@9787
   135
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
wenzelm@4334
   136
wenzelm@9787
   137
# Heap input locations. ML system identifier is included in lookup.
wenzelm@21489
   138
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER:$ISABELLE_HOME/heaps"
wenzelm@2780
   139
wenzelm@9787
   140
# Heap output location. ML system identifier is appended automatically later on.
wenzelm@15846
   141
if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then
wenzelm@15846
   142
  #Isabelle build tells us to store heaps etc. within the distribution.
wenzelm@15846
   143
  ISABELLE_OUTPUT="$ISABELLE_HOME/heaps"
wenzelm@15846
   144
  ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info"
wenzelm@15846
   145
else
wenzelm@21489
   146
  ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER"
wenzelm@9787
   147
  ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
wenzelm@15846
   148
fi
wenzelm@2780
   149
wenzelm@16186
   150
# Site settings check -- just to make it a little bit harder to copy this file verbatim!
wenzelm@9225
   151
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
wenzelm@9225
   152
  { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
wenzelm@9225
   153
kleing@13920
   154
kleing@13920
   155
###
wenzelm@16875
   156
### default logic
kleing@13920
   157
###
wenzelm@16186
   158
wenzelm@3184
   159
ISABELLE_LOGIC=HOL
wenzelm@2294
   160
wenzelm@2786
   161
kleing@13920
   162
###
kleing@13920
   163
### Docs
kleing@13920
   164
###
wenzelm@2294
   165
wenzelm@16186
   166
# Where to look for docs (multiple dirs separated by ':').
wenzelm@9787
   167
ISABELLE_DOCS="$ISABELLE_HOME/doc"
wenzelm@2345
   168
wenzelm@16186
   169
# Preferred document format
wenzelm@15703
   170
ISABELLE_DOC_FORMAT=pdf
wenzelm@15703
   171
wenzelm@16186
   172
# The dvi file viewer
wenzelm@3062
   173
DVI_VIEWER=xdvi
wenzelm@2426
   174
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
wenzelm@11103
   175
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
wenzelm@2476
   176
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
wenzelm@3062
   177
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
wenzelm@2345
   178
wenzelm@16186
   179
# The pdf file viewer
wenzelm@23138
   180
if [ $(uname -s) = Darwin ]; then
wenzelm@23138
   181
  PDF_VIEWER=open
wenzelm@23138
   182
else
wenzelm@23138
   183
  PDF_VIEWER=xpdf
wenzelm@23138
   184
fi
wenzelm@23138
   185
#PDF_VIEWER=acroread
wenzelm@23138
   186
#PDF_VIEWER=evince
wenzelm@23138
   187
kleing@15218
   188
wenzelm@16186
   189
# Printer spool command for PS files
wenzelm@14933
   190
PRINT_COMMAND=lp
wenzelm@14933
   191
wenzelm@2294
   192
wenzelm@2426
   193
###
wenzelm@2426
   194
### Interfaces
wenzelm@2426
   195
###
wenzelm@2426
   196
kleing@13920
   197
# Fallback: the null interface (pass-through to raw isabelle process).
wenzelm@11552
   198
ISABELLE_INTERFACE=none
wenzelm@2294
   199
kleing@13920
   200
# Proof General path, look in a variety of places
wenzelm@17574
   201
ISABELLE_INTERFACE=$(choosefrom \
wenzelm@9679
   202
  "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
wenzelm@9679
   203
  "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
wenzelm@17119
   204
  "/usr/local/ProofGeneral/isar/interface" \
wenzelm@9787
   205
  "/usr/share/ProofGeneral/isar/interface" \
wenzelm@10070
   206
  "/opt/ProofGeneral/isar/interface" \
wenzelm@9956
   207
  "/usr/share/emacs/ProofGeneral/isar/interface" \
wenzelm@9679
   208
  "$ISABELLE_INTERFACE")
kleing@13920
   209
wenzelm@5964
   210
PROOFGENERAL_OPTIONS=""
wenzelm@17383
   211
#PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true -p xemacs"
wenzelm@7185
   212
wenzelm@17574
   213
type -path xemacs >/dev/null || \
wenzelm@17574
   214
  PROOFGENERAL_OPTIONS="-p emacs $PROOFGENERAL_OPTIONS"
wenzelm@17574
   215
wenzelm@17383
   216
# Automatic setup of remote fonts
wenzelm@9994
   217
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
wenzelm@9569
   218
wenzelm@7185
   219
wenzelm@7185
   220
###
wenzelm@7185
   221
### External reasoning tools
wenzelm@7185
   222
###
wenzelm@7185
   223
wenzelm@7194
   224
## Set HOME only for tools you have installed!
wenzelm@7185
   225
wenzelm@17001
   226
# HOL4 proof objects (cf. Isabelle/src/HOL/Import)
wenzelm@17001
   227
HOL4_PROOFS="$PROOF_DIRS:$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs"
wenzelm@17001
   228
wenzelm@7185
   229
# SVC (Stanford Validity Checker)
wenzelm@7185
   230
#SVC_HOME=
wenzelm@7185
   231
#SVC_MACHINE=i386-redhat-linux
wenzelm@7185
   232
#SVC_MACHINE=sparc-sun-solaris
wenzelm@7296
   233
wenzelm@7296
   234
# Mucke (mu-calculus model checker)
wenzelm@7296
   235
#MUCKE_HOME=/usr/local/bin
wenzelm@7296
   236
wenzelm@7296
   237
# Einhoven model checker
wenzelm@7296
   238
#EINDHOVEN_HOME=/usr/local/bin
webertj@14451
   239
webertj@20033
   240
# MiniSat 1.14 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@20033
   241
#MINISAT_HOME=/usr/local/bin
webertj@20033
   242
webertj@17522
   243
# zChaff (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@15284
   244
#ZCHAFF_HOME=/usr/local/bin
webertj@15331
   245
#ZCHAFF_VERSION=2004.5.13
webertj@15331
   246
#ZCHAFF_VERSION=2004.11.15
webertj@14942
   247
webertj@17522
   248
# BerkMin561 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@14942
   249
#BERKMIN_HOME=/usr/local/bin
webertj@14942
   250
#BERKMIN_EXE=BerkMin561-linux
webertj@14942
   251
#BERKMIN_EXE=BerkMin561-solaris
webertj@14943
   252
webertj@17522
   253
# Jerusat 1.3 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@14943
   254
#JERUSAT_HOME=/usr/local/bin
wenzelm@16419
   255
obua@16873
   256
# For configuring HOL/Matrix/cplex
obua@16966
   257
# LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver.
obua@16873
   258
# First option: use the commercial cplex solver
wenzelm@16968
   259
#LP_SOLVER=CPLEX
wenzelm@16968
   260
#CPLEX_PATH=cplex
obua@16873
   261
# Second option: use the open source glpk solver
wenzelm@16968
   262
#LP_SOLVER=GLPK
wenzelm@16968
   263
#GLPK_PATH=glpsol
wenzelm@17909
   264
wenzelm@17909
   265
# External provers
wenzelm@25115
   266
E_HOME=$(choosefrom "$ISABELLE_HOME/contrib/E/$ML_PLATFORM" "/usr/local/E" "")
wenzelm@25115
   267
VAMPIRE_HOME=$(choosefrom "$ISABELLE_HOME/contrib/vampire/$ML_PLATFORM" "/usr/local/Vampire" "")
wenzelm@25115
   268
SPASS_HOME=$(choosefrom "$ISABELLE_HOME/contrib/spass/$ML_PLATFORM/bin" "/usr/local/SPASS" "")