etc/settings
author wenzelm
Wed Aug 29 22:47:01 2007 +0200 (2007-08-29)
changeset 24479 b272d7998193
parent 24439 f52709e5230e
child 24480 97c0ef49fa8f
permissions -rw-r--r--
added POLYML_LINK_OPTIONS, which is required for unusual platforms (notably cygwin);
wenzelm@24211
     1
# -*- shell-script -*- :mode=shellscript:
wenzelm@2294
     2
# $Id$
wenzelm@2294
     3
#
wenzelm@2309
     4
# Isabelle settings -- site defaults.
wenzelm@16875
     5
#
wenzelm@16875
     6
# Important notes:
wenzelm@16875
     7
#   * See the system manual for explanations on Isabelle settings
wenzelm@16875
     8
#   * DO NOT EDIT the repository copy of this file!
wenzelm@16875
     9
#   * DO NOT COPY this file into your personal isabelle directory!
wenzelm@2309
    10
wenzelm@2426
    11
###
wenzelm@3177
    12
### ML compiler settings (ESSENTIAL!)
wenzelm@2426
    13
###
wenzelm@2426
    14
wenzelm@16968
    15
# ML_HOME specifies the location of the actual compiler binaries.  Do
wenzelm@16968
    16
# not invent new ML system names unless you know what you are doing.
wenzelm@16968
    17
# Only one of the sections below should be activated.
kleing@14447
    18
wenzelm@21812
    19
# Poly/ML 4.x/5.x (automated settings)
wenzelm@16968
    20
POLY_HOME="$(type -p poly)"; [ -n "$POLY_HOME" ] && POLY_HOME="$(dirname "$POLY_HOME")"
wenzelm@16968
    21
ML_PLATFORM=$("$ISABELLE_HOME/lib/scripts/polyml-platform")
wenzelm@16968
    22
ML_HOME=$(choosefrom \
wenzelm@16968
    23
  "$ISABELLE_HOME/contrib/polyml/$ML_PLATFORM" \
wenzelm@16968
    24
  "$ISABELLE_HOME/../polyml/$ML_PLATFORM" \
wenzelm@17119
    25
  "/usr/local/polyml/$ML_PLATFORM" \
wenzelm@16968
    26
  "/usr/share/polyml/$ML_PLATFORM" \
wenzelm@16968
    27
  "/opt/polyml/$ML_PLATFORM" \
wenzelm@16968
    28
  $POLY_HOME)
wenzelm@16968
    29
ML_SYSTEM=$("$ISABELLE_HOME/lib/scripts/polyml-version")
kleing@23917
    30
ML_OPTIONS="-H 500"
wenzelm@17048
    31
ML_DBASE=""
wenzelm@8345
    32
wenzelm@24479
    33
# Poly/ML 5.1 on 64bit Linux
wenzelm@20764
    34
#ML_PLATFORM=x86_64-linux
wenzelm@20764
    35
#ML_HOME=/usr/local/polyml/x86_64-linux
wenzelm@24479
    36
#ML_SYSTEM=polyml-5.1
wenzelm@24479
    37
#ML_OPTIONS="-H 1000"
wenzelm@24479
    38
wenzelm@24479
    39
# Poly/ML 5.1 on Cygwin
wenzelm@24479
    40
#ML_PLATFORM=x86-cygwin
wenzelm@24479
    41
#ML_HOME=/usr/local/polyml/x86-cygwin
wenzelm@24479
    42
#ML_SYSTEM=polyml-5.1
wenzelm@20987
    43
#ML_OPTIONS="-H 500"
wenzelm@24479
    44
#POLYML_LINK_OPTIONS="-lstdc++"
wenzelm@20764
    45
wenzelm@21812
    46
# Poly/ML 4.2.0
wenzelm@21812
    47
#ML_PLATFORM=x86-linux
wenzelm@21812
    48
#ML_HOME=/usr/local/polyml/x86-linux
wenzelm@21812
    49
#ML_SYSTEM=polyml-4.2.0
wenzelm@21812
    50
#ML_OPTIONS="-H 80"
wenzelm@21812
    51
wenzelm@5708
    52
# Standard ML of New Jersey 110 or later
wenzelm@16250
    53
#SMLNJ_CYGWIN_RUNTIME=1
wenzelm@8345
    54
#ML_SYSTEM=smlnj-110
wenzelm@15846
    55
#ML_HOME="$ISABELLE_HOME/contrib/smlnj/bin"
wenzelm@8345
    56
#ML_OPTIONS="@SMLdebug=/dev/null"
wenzelm@9787
    57
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
wenzelm@5708
    58
wenzelm@9252
    59
# Moscow ML 2.00 or later (experimental!)
wenzelm@9252
    60
#ML_SYSTEM=mosml
wenzelm@15846
    61
#ML_HOME="$ISABELLE_HOME/contrib/mosml/bin"
wenzelm@17825
    62
#ML_OPTIONS=""
wenzelm@6413
    63
#ML_PLATFORM=""
wenzelm@5708
    64
wenzelm@17768
    65
# Poplog/PML version 15.6/2.1 (experimental!)
wenzelm@17768
    66
#ML_SYSTEM=poplogml
wenzelm@17825
    67
#ML_HOME="/usr/local/poplog/current-poplog/bin"
wenzelm@17768
    68
#ML_OPTIONS="-noinit"
wenzelm@17793
    69
#ML_SUFFIX=".psv"
wenzelm@17825
    70
#ML_PLATFORM=""
wenzelm@17768
    71
wenzelm@24211
    72
# Alice 1.4 (experimental!)
wenzelm@22148
    73
#ML_SYSTEM=alice
wenzelm@22148
    74
#ML_HOME="/usr/local/alice/bin"
wenzelm@22148
    75
#ML_OPTIONS=""
wenzelm@22148
    76
#ML_PLATFORM=""
wenzelm@22148
    77
wenzelm@2294
    78
wenzelm@2426
    79
###
wenzelm@16186
    80
### Compilation options (cf. isatool usedir)
wenzelm@2435
    81
###
wenzelm@2435
    82
wenzelm@23138
    83
ISABELLE_USEDIR_OPTIONS="-p 1 -v true -V outline=/proof,/ML"
wenzelm@11569
    84
wenzelm@16186
    85
# Specifically for the HOL image
wenzelm@24439
    86
HOL_USEDIR_OPTIONS=""
wenzelm@24439
    87
#HOL_USEDIR_OPTIONS="-p 2"
kleing@14044
    88
wenzelm@23837
    89
#Source file identification (default: full name + date stamp)
wenzelm@23837
    90
ISABELLE_FILE_IDENT=""
wenzelm@23837
    91
#ISABELLE_FILE_IDENT="md5"
wenzelm@23837
    92
#ISABELLE_FILE_IDENT="md5sum"
wenzelm@23837
    93
#ISABELLE_FILE_IDENT="sha1sum"
wenzelm@23837
    94
#ISABELLE_FILE_IDENT="openssl dgst -sha1"
wenzelm@23837
    95
wenzelm@2435
    96
wenzelm@2435
    97
###
wenzelm@16186
    98
### Document preparation (cf. isatool latex/document)
wenzelm@7773
    99
###
wenzelm@7773
   100
wenzelm@7773
   101
ISABELLE_LATEX="latex"
wenzelm@7773
   102
ISABELLE_PDFLATEX="pdflatex"
wenzelm@7813
   103
ISABELLE_BIBTEX="bibtex"
kleing@14344
   104
ISABELLE_MAKEINDEX="makeindex"
wenzelm@7773
   105
ISABELLE_DVIPS="dvips -D 600"
wenzelm@11800
   106
ISABELLE_EPSTOPDF="epstopdf"
wenzelm@7773
   107
kleing@13920
   108
# Paranoia setting for strange latex installations ...
wenzelm@11062
   109
#unset TEXMF
wenzelm@11062
   110
kleing@13920
   111
# If ISABELLE_THUMBPDF is set, isatool tries to
kleing@13920
   112
# generate thumbnails for proof documents
wenzelm@11062
   113
#type -path thumbpdf >/dev/null && ISABELLE_THUMBPDF="thumbpdf"
wenzelm@7864
   114
wenzelm@7773
   115
wenzelm@7773
   116
###
wenzelm@2968
   117
### Misc path settings
wenzelm@2426
   118
###
wenzelm@2294
   119
wenzelm@2426
   120
# The place for user configuration, heap files, etc.
wenzelm@2426
   121
ISABELLE_HOME_USER=~/isabelle
wenzelm@2294
   122
wenzelm@3177
   123
# Where to look for isabelle tools (multiple dirs separated by ':').
wenzelm@9787
   124
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
wenzelm@2786
   125
wenzelm@4334
   126
# Location for temporary files (should be on a local file system).
wenzelm@9787
   127
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
wenzelm@4334
   128
wenzelm@9787
   129
# Heap input locations. ML system identifier is included in lookup.
wenzelm@21489
   130
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER:$ISABELLE_HOME/heaps"
wenzelm@2780
   131
wenzelm@9787
   132
# Heap output location. ML system identifier is appended automatically later on.
wenzelm@15846
   133
if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then
wenzelm@15846
   134
  #Isabelle build tells us to store heaps etc. within the distribution.
wenzelm@15846
   135
  ISABELLE_OUTPUT="$ISABELLE_HOME/heaps"
wenzelm@15846
   136
  ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info"
wenzelm@15846
   137
else
wenzelm@21489
   138
  ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER"
wenzelm@9787
   139
  ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
wenzelm@15846
   140
fi
wenzelm@2780
   141
wenzelm@16186
   142
# Site settings check -- just to make it a little bit harder to copy this file verbatim!
wenzelm@9225
   143
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
wenzelm@9225
   144
  { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
wenzelm@9225
   145
kleing@13920
   146
kleing@13920
   147
###
wenzelm@16875
   148
### default logic
kleing@13920
   149
###
wenzelm@16186
   150
wenzelm@3184
   151
ISABELLE_LOGIC=HOL
wenzelm@2294
   152
wenzelm@2786
   153
kleing@13920
   154
###
kleing@13920
   155
### Docs
kleing@13920
   156
###
wenzelm@2294
   157
wenzelm@16186
   158
# Where to look for docs (multiple dirs separated by ':').
wenzelm@9787
   159
ISABELLE_DOCS="$ISABELLE_HOME/doc"
wenzelm@2345
   160
wenzelm@16186
   161
# Preferred document format
wenzelm@15703
   162
ISABELLE_DOC_FORMAT=pdf
wenzelm@15703
   163
wenzelm@16186
   164
# The dvi file viewer
wenzelm@3062
   165
DVI_VIEWER=xdvi
wenzelm@2426
   166
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
wenzelm@11103
   167
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
wenzelm@2476
   168
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
wenzelm@3062
   169
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
wenzelm@2345
   170
wenzelm@16186
   171
# The pdf file viewer
wenzelm@23138
   172
if [ $(uname -s) = Darwin ]; then
wenzelm@23138
   173
  PDF_VIEWER=open
wenzelm@23138
   174
else
wenzelm@23138
   175
  PDF_VIEWER=xpdf
wenzelm@23138
   176
fi
wenzelm@23138
   177
#PDF_VIEWER=acroread
wenzelm@23138
   178
#PDF_VIEWER=evince
wenzelm@23138
   179
kleing@15218
   180
wenzelm@16186
   181
# Printer spool command for PS files
wenzelm@14933
   182
PRINT_COMMAND=lp
wenzelm@14933
   183
wenzelm@2294
   184
wenzelm@2426
   185
###
wenzelm@2426
   186
### Interfaces
wenzelm@2426
   187
###
wenzelm@2426
   188
kleing@13920
   189
# Fallback: the null interface (pass-through to raw isabelle process).
wenzelm@11552
   190
ISABELLE_INTERFACE=none
wenzelm@2294
   191
kleing@13920
   192
# Proof General path, look in a variety of places
wenzelm@17574
   193
ISABELLE_INTERFACE=$(choosefrom \
wenzelm@9679
   194
  "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
wenzelm@9679
   195
  "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
wenzelm@17119
   196
  "/usr/local/ProofGeneral/isar/interface" \
wenzelm@9787
   197
  "/usr/share/ProofGeneral/isar/interface" \
wenzelm@10070
   198
  "/opt/ProofGeneral/isar/interface" \
wenzelm@9956
   199
  "/usr/share/emacs/ProofGeneral/isar/interface" \
wenzelm@9679
   200
  "$ISABELLE_INTERFACE")
kleing@13920
   201
wenzelm@5964
   202
PROOFGENERAL_OPTIONS=""
wenzelm@17383
   203
#PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true -p xemacs"
wenzelm@7185
   204
wenzelm@17574
   205
type -path xemacs >/dev/null || \
wenzelm@17574
   206
  PROOFGENERAL_OPTIONS="-p emacs $PROOFGENERAL_OPTIONS"
wenzelm@17574
   207
wenzelm@17383
   208
# Automatic setup of remote fonts
wenzelm@9994
   209
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
wenzelm@9569
   210
wenzelm@7185
   211
wenzelm@7185
   212
###
wenzelm@7185
   213
### External reasoning tools
wenzelm@7185
   214
###
wenzelm@7185
   215
wenzelm@7194
   216
## Set HOME only for tools you have installed!
wenzelm@7185
   217
wenzelm@17001
   218
# HOL4 proof objects (cf. Isabelle/src/HOL/Import)
wenzelm@17001
   219
HOL4_PROOFS="$PROOF_DIRS:$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs"
wenzelm@17001
   220
wenzelm@7185
   221
# SVC (Stanford Validity Checker)
wenzelm@7185
   222
#SVC_HOME=
wenzelm@7185
   223
#SVC_MACHINE=i386-redhat-linux
wenzelm@7185
   224
#SVC_MACHINE=sparc-sun-solaris
wenzelm@7296
   225
wenzelm@7296
   226
# Mucke (mu-calculus model checker)
wenzelm@7296
   227
#MUCKE_HOME=/usr/local/bin
wenzelm@7296
   228
wenzelm@7296
   229
# Einhoven model checker
wenzelm@7296
   230
#EINDHOVEN_HOME=/usr/local/bin
webertj@14451
   231
webertj@20033
   232
# MiniSat 1.14 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@20033
   233
#MINISAT_HOME=/usr/local/bin
webertj@20033
   234
webertj@17522
   235
# zChaff (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@15284
   236
#ZCHAFF_HOME=/usr/local/bin
webertj@15331
   237
#ZCHAFF_VERSION=2004.5.13
webertj@15331
   238
#ZCHAFF_VERSION=2004.11.15
webertj@14942
   239
webertj@17522
   240
# BerkMin561 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@14942
   241
#BERKMIN_HOME=/usr/local/bin
webertj@14942
   242
#BERKMIN_EXE=BerkMin561-linux
webertj@14942
   243
#BERKMIN_EXE=BerkMin561-solaris
webertj@14943
   244
webertj@17522
   245
# Jerusat 1.3 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@14943
   246
#JERUSAT_HOME=/usr/local/bin
wenzelm@16419
   247
obua@16873
   248
# For configuring HOL/Matrix/cplex
obua@16966
   249
# LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver.
obua@16873
   250
# First option: use the commercial cplex solver
wenzelm@16968
   251
#LP_SOLVER=CPLEX
wenzelm@16968
   252
#CPLEX_PATH=cplex
obua@16873
   253
# Second option: use the open source glpk solver
wenzelm@16968
   254
#LP_SOLVER=GLPK
wenzelm@16968
   255
#GLPK_PATH=glpsol
wenzelm@17909
   256
wenzelm@17909
   257
# External provers
wenzelm@17909
   258
#VAMPIRE_HOME=/usr/local/Vampire
wenzelm@17909
   259
#E_HOME=/usr/local/E