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