etc/settings
author wenzelm
Mon Nov 09 21:30:54 2009 +0100 (2009-11-09)
changeset 33538 edf497b5b5d2
parent 33502 cf392b693385
child 33921 4c188a74e362
permissions -rw-r--r--
setup for official Poly/ML 5.3.0, which is now the default;
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@2426
    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.
kleing@14447
    17
wenzelm@31308
    18
# Poly/ML 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@31436
    30
ML_SOURCES="$ML_HOME/../src"
wenzelm@8345
    31
wenzelm@33538
    32
# Poly/ML 5.3.0
wenzelm@25347
    33
#ML_PLATFORM=x86-linux
wenzelm@25347
    34
#ML_HOME=/usr/local/polyml/x86-linux
wenzelm@33538
    35
#ML_SYSTEM=polyml-5.3.0
wenzelm@25347
    36
#ML_OPTIONS="-H 500"
wenzelm@33538
    37
#ML_SOURCES="$ML_HOME/../src"
wenzelm@25347
    38
wenzelm@33538
    39
# Poly/ML 5.3.0 (64 bit)
wenzelm@20764
    40
#ML_PLATFORM=x86_64-linux
wenzelm@20764
    41
#ML_HOME=/usr/local/polyml/x86_64-linux
wenzelm@33538
    42
#ML_SYSTEM=polyml-5.3.0
wenzelm@24479
    43
#ML_OPTIONS="-H 1000"
wenzelm@31444
    44
#ML_SOURCES="$ML_HOME/../src"
wenzelm@31444
    45
wenzelm@25347
    46
# Standard ML of New Jersey (slow!)
wenzelm@8345
    47
#ML_SYSTEM=smlnj-110
wenzelm@25347
    48
#ML_HOME="/usr/local/smlnj/bin"
wenzelm@33502
    49
#ML_OPTIONS="@SMLdebug=/dev/null @SMLalloc=256"
wenzelm@9787
    50
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
wenzelm@25347
    51
#SMLNJ_CYGWIN_RUNTIME=1
wenzelm@5708
    52
wenzelm@25347
    53
# Moscow ML 2.00 (experimental!)
wenzelm@9252
    54
#ML_SYSTEM=mosml
wenzelm@25347
    55
#ML_HOME="/usr/local/mosml/bin"
wenzelm@25347
    56
#ML_OPTIONS=""
wenzelm@25347
    57
#ML_PLATFORM=""
wenzelm@25347
    58
wenzelm@2294
    59
wenzelm@2426
    60
###
wenzelm@27906
    61
### JVM components (Scala or Java)
wenzelm@27906
    62
###
wenzelm@27906
    63
wenzelm@31918
    64
ISABELLE_JAVA="java"
wenzelm@27912
    65
ISABELLE_SCALA="scala"
wenzelm@27912
    66
wenzelm@31918
    67
[ -z "$SCALA_HOME" ] && SCALA_HOME=$(choosefrom \
wenzelm@31923
    68
  "$ISABELLE_HOME/contrib/scala" \
wenzelm@31923
    69
  "$ISABELLE_HOME/../scala" \
wenzelm@31918
    70
  "")
wenzelm@31923
    71
wenzelm@31918
    72
[ -n "$SCALA_HOME" ] && ISABELLE_SCALA="$SCALA_HOME/bin/scala"
wenzelm@27921
    73
wenzelm@27906
    74
classpath "$ISABELLE_HOME/lib/classes/Pure.jar"
wenzelm@27906
    75
wenzelm@27906
    76
wenzelm@27906
    77
###
wenzelm@28504
    78
### Interactive sessions (cf. isabelle tty)
wenzelm@25627
    79
###
wenzelm@25627
    80
wenzelm@25627
    81
ISABELLE_LINE_EDITOR=""
wenzelm@26205
    82
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)"
wenzelm@25627
    83
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)"
wenzelm@25627
    84
wenzelm@25627
    85
wenzelm@25627
    86
###
wenzelm@28504
    87
### Batch sessions (cf. isabelle usedir)
wenzelm@2435
    88
###
wenzelm@2435
    89
wenzelm@32292
    90
ISABELLE_USEDIR_OPTIONS="-M max -p 1 -q 2 -v true -V outline=/proof,/ML"
wenzelm@11569
    91
wenzelm@16186
    92
# Specifically for the HOL image
wenzelm@24439
    93
HOL_USEDIR_OPTIONS=""
wenzelm@32061
    94
#HOL_USEDIR_OPTIONS="-p 2 -q 1"
kleing@14044
    95
wenzelm@23837
    96
#Source file identification (default: full name + date stamp)
wenzelm@23837
    97
ISABELLE_FILE_IDENT=""
wenzelm@23837
    98
#ISABELLE_FILE_IDENT="md5"
wenzelm@23837
    99
#ISABELLE_FILE_IDENT="md5sum"
wenzelm@23837
   100
#ISABELLE_FILE_IDENT="sha1sum"
wenzelm@23837
   101
#ISABELLE_FILE_IDENT="openssl dgst -sha1"
wenzelm@23837
   102
wenzelm@2435
   103
wenzelm@2435
   104
###
wenzelm@28504
   105
### Document preparation (cf. isabelle latex/document)
wenzelm@7773
   106
###
wenzelm@7773
   107
wenzelm@7773
   108
ISABELLE_LATEX="latex"
wenzelm@7773
   109
ISABELLE_PDFLATEX="pdflatex"
wenzelm@7813
   110
ISABELLE_BIBTEX="bibtex"
kleing@14344
   111
ISABELLE_MAKEINDEX="makeindex"
wenzelm@7773
   112
ISABELLE_DVIPS="dvips -D 600"
wenzelm@11800
   113
ISABELLE_EPSTOPDF="epstopdf"
wenzelm@7773
   114
kleing@13920
   115
# Paranoia setting for strange latex installations ...
wenzelm@11062
   116
#unset TEXMF
wenzelm@11062
   117
wenzelm@7773
   118
wenzelm@7773
   119
###
wenzelm@2968
   120
### Misc path settings
wenzelm@2426
   121
###
wenzelm@2294
   122
wenzelm@2426
   123
# The place for user configuration, heap files, etc.
wenzelm@28914
   124
ISABELLE_HOME_USER=~/.isabelle
wenzelm@2294
   125
wenzelm@3177
   126
# Where to look for isabelle tools (multiple dirs separated by ':').
wenzelm@9787
   127
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
wenzelm@2786
   128
wenzelm@4334
   129
# Location for temporary files (should be on a local file system).
wenzelm@9787
   130
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
wenzelm@4334
   131
wenzelm@9787
   132
# Heap input locations. ML system identifier is included in lookup.
wenzelm@21489
   133
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER:$ISABELLE_HOME/heaps"
wenzelm@2780
   134
wenzelm@9787
   135
# Heap output location. ML system identifier is appended automatically later on.
wenzelm@26212
   136
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER"
wenzelm@26212
   137
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
wenzelm@2780
   138
wenzelm@16186
   139
# Site settings check -- just to make it a little bit harder to copy this file verbatim!
wenzelm@9225
   140
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
wenzelm@9225
   141
  { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
wenzelm@32305
   142
ISABELLE_SITE_SETTINGS_PRESENT=true
wenzelm@9225
   143
kleing@13920
   144
kleing@13920
   145
###
wenzelm@28651
   146
### Default logic
kleing@13920
   147
###
wenzelm@16186
   148
wenzelm@3184
   149
ISABELLE_LOGIC=HOL
wenzelm@2294
   150
wenzelm@2786
   151
kleing@13920
   152
###
kleing@13920
   153
### Docs
kleing@13920
   154
###
wenzelm@2294
   155
wenzelm@16186
   156
# Where to look for docs (multiple dirs separated by ':').
wenzelm@9787
   157
ISABELLE_DOCS="$ISABELLE_HOME/doc"
wenzelm@2345
   158
wenzelm@16186
   159
# Preferred document format
wenzelm@15703
   160
ISABELLE_DOC_FORMAT=pdf
wenzelm@15703
   161
wenzelm@16186
   162
# The dvi file viewer
wenzelm@3062
   163
DVI_VIEWER=xdvi
wenzelm@2426
   164
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
wenzelm@11103
   165
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
wenzelm@2476
   166
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
wenzelm@3062
   167
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
wenzelm@2345
   168
wenzelm@16186
   169
# The pdf file viewer
wenzelm@23138
   170
if [ $(uname -s) = Darwin ]; then
wenzelm@32426
   171
  PDF_VIEWER="open -W -n"
wenzelm@23138
   172
else
wenzelm@23138
   173
  PDF_VIEWER=xpdf
wenzelm@23138
   174
fi
wenzelm@23138
   175
#PDF_VIEWER=acroread
wenzelm@23138
   176
#PDF_VIEWER=evince
wenzelm@23138
   177
kleing@15218
   178
wenzelm@16186
   179
# Printer spool command for PS files
wenzelm@14933
   180
PRINT_COMMAND=lp
wenzelm@14933
   181
wenzelm@2294
   182
wenzelm@2426
   183
###
wenzelm@28651
   184
### Proof General / Emacs
wenzelm@28651
   185
###
wenzelm@28651
   186
wenzelm@28249
   187
# Proof General home, look in a variety of places
wenzelm@28249
   188
PROOFGENERAL_HOME=$(choosefrom \
wenzelm@28249
   189
  "$ISABELLE_HOME/contrib/ProofGeneral" \
wenzelm@28249
   190
  "$ISABELLE_HOME/../ProofGeneral" \
wenzelm@28249
   191
  "/usr/local/ProofGeneral" \
wenzelm@28249
   192
  "/usr/share/ProofGeneral" \
wenzelm@28249
   193
  "/opt/ProofGeneral" \
wenzelm@28249
   194
  "")
wenzelm@28249
   195
wenzelm@29149
   196
PROOFGENERAL_OPTIONS=""
wenzelm@29149
   197
#PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets"
wenzelm@17574
   198
wenzelm@17383
   199
# Automatic setup of remote fonts
wenzelm@9994
   200
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
wenzelm@28249
   201
XSYMBOL_INSTALLFONTS=""
wenzelm@7185
   202
wenzelm@28651
   203
wenzelm@28651
   204
###
wenzelm@7185
   205
### External reasoning tools
wenzelm@7185
   206
###
wenzelm@7185
   207
wenzelm@7194
   208
## Set HOME only for tools you have installed!
wenzelm@7185
   209
wenzelm@26212
   210
# External provers
wenzelm@28995
   211
E_HOME=$(choosefrom \
wenzelm@28995
   212
  "$ISABELLE_HOME/contrib/E/$ML_PLATFORM" \
wenzelm@28995
   213
  "$ISABELLE_HOME/../E/$ML_PLATFORM" \
wenzelm@31423
   214
  "/usr/local/E/$ML_PLATFORM" \
wenzelm@28995
   215
  "")
wenzelm@28995
   216
VAMPIRE_HOME=$(choosefrom \
wenzelm@28995
   217
  "$ISABELLE_HOME/contrib/vampire/$ML_PLATFORM" \
wenzelm@28995
   218
  "$ISABELLE_HOME/../vampire/$ML_PLATFORM" \
wenzelm@31423
   219
  "/usr/local/vampire/$ML_PLATFORM" \
wenzelm@28995
   220
  "")
wenzelm@28995
   221
SPASS_HOME=$(choosefrom \
wenzelm@28995
   222
  "$ISABELLE_HOME/contrib/spass/$ML_PLATFORM/bin" \
wenzelm@28995
   223
  "$ISABELLE_HOME/../spass/$ML_PLATFORM/bin" \
wenzelm@31423
   224
  "/usr/local/spass/$ML_PLATFORM" \
wenzelm@28995
   225
  "")
wenzelm@26212
   226
wenzelm@17001
   227
# HOL4 proof objects (cf. Isabelle/src/HOL/Import)
wenzelm@26212
   228
#HOL4_PROOFS="$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs"
wenzelm@17001
   229
wenzelm@7185
   230
# SVC (Stanford Validity Checker)
wenzelm@7185
   231
#SVC_HOME=
wenzelm@7185
   232
#SVC_MACHINE=i386-redhat-linux
wenzelm@7185
   233
#SVC_MACHINE=sparc-sun-solaris
wenzelm@7296
   234
wenzelm@7296
   235
# Mucke (mu-calculus model checker)
wenzelm@7296
   236
#MUCKE_HOME=/usr/local/bin
wenzelm@7296
   237
wenzelm@7296
   238
# Einhoven model checker
wenzelm@7296
   239
#EINDHOVEN_HOME=/usr/local/bin
webertj@14451
   240
webertj@20033
   241
# MiniSat 1.14 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@20033
   242
#MINISAT_HOME=/usr/local/bin
webertj@20033
   243
webertj@17522
   244
# zChaff (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@15284
   245
#ZCHAFF_HOME=/usr/local/bin
webertj@14942
   246
webertj@17522
   247
# BerkMin561 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@14942
   248
#BERKMIN_HOME=/usr/local/bin
webertj@14942
   249
#BERKMIN_EXE=BerkMin561-linux
webertj@14942
   250
#BERKMIN_EXE=BerkMin561-solaris
webertj@14943
   251
webertj@17522
   252
# Jerusat 1.3 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@14943
   253
#JERUSAT_HOME=/usr/local/bin
wenzelm@16419
   254
wenzelm@32332
   255
# CSDP (SDP Solver, cf. Isabelle/src/HOL/Library/Sum_of_Squares/sos_wrapper.ML)
wenzelm@32332
   256
#CSDP_EXE=csdp
wenzelm@32332
   257
obua@16873
   258
# For configuring HOL/Matrix/cplex
obua@16966
   259
# LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver.
obua@16873
   260
# First option: use the commercial cplex solver
wenzelm@16968
   261
#LP_SOLVER=CPLEX
wenzelm@16968
   262
#CPLEX_PATH=cplex
obua@16873
   263
# Second option: use the open source glpk solver
wenzelm@16968
   264
#LP_SOLVER=GLPK
wenzelm@16968
   265
#GLPK_PATH=glpsol