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