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