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