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