etc/settings
author wenzelm
Fri Oct 21 16:34:22 2005 +0200 (2005-10-21)
changeset 17954 42fc2ac69c8c
parent 17953 b74eb797b6c2
child 18987 61c7875a58b8
permissions -rw-r--r--
added simplified settings for Poly/ML 4.x (commented out);
wenzelm@10503
     1
# -*- shell-script -*-
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@17954
    19
# Poly/ML 4.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")
wenzelm@17005
    30
ML_OPTIONS="-H 80"
wenzelm@17048
    31
ML_DBASE=""
wenzelm@8345
    32
wenzelm@17954
    33
# Poly/ML 4.x
wenzelm@17954
    34
#ML_PLATFORM=$("$ISABELLE_HOME/lib/scripts/polyml-platform")
wenzelm@17954
    35
#ML_HOME="$ISABELLE_HOME/contrib/polyml/$ML_PLATFORM/$ML_PLATFORM"
wenzelm@17954
    36
#ML_SYSTEM=$("$ISABELLE_HOME/lib/scripts/polyml-version")
wenzelm@17954
    37
#ML_OPTIONS="-H 80"
wenzelm@17954
    38
wenzelm@5708
    39
# Standard ML of New Jersey 110 or later
wenzelm@16250
    40
#SMLNJ_CYGWIN_RUNTIME=1
wenzelm@8345
    41
#ML_SYSTEM=smlnj-110
wenzelm@15846
    42
#ML_HOME="$ISABELLE_HOME/contrib/smlnj/bin"
wenzelm@8345
    43
#ML_OPTIONS="@SMLdebug=/dev/null"
wenzelm@9787
    44
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
wenzelm@5708
    45
wenzelm@9252
    46
# Moscow ML 2.00 or later (experimental!)
wenzelm@9252
    47
#ML_SYSTEM=mosml
wenzelm@15846
    48
#ML_HOME="$ISABELLE_HOME/contrib/mosml/bin"
wenzelm@17825
    49
#ML_OPTIONS=""
wenzelm@6413
    50
#ML_PLATFORM=""
wenzelm@5708
    51
wenzelm@17768
    52
# Poplog/PML version 15.6/2.1 (experimental!)
wenzelm@17768
    53
#ML_SYSTEM=poplogml
wenzelm@17825
    54
#ML_HOME="/usr/local/poplog/current-poplog/bin"
wenzelm@17768
    55
#ML_OPTIONS="-noinit"
wenzelm@17793
    56
#ML_SUFFIX=".psv"
wenzelm@17825
    57
#ML_PLATFORM=""
wenzelm@17768
    58
wenzelm@2294
    59
wenzelm@2426
    60
###
wenzelm@16186
    61
### Compilation options (cf. isatool usedir)
wenzelm@2435
    62
###
wenzelm@2435
    63
wenzelm@17048
    64
ISABELLE_USEDIR_OPTIONS="-v true -V outline=/proof,/ML"
wenzelm@11569
    65
wenzelm@16186
    66
# Specifically for the HOL image
wenzelm@16186
    67
HOL_USEDIR_OPTIONS=""
kleing@14044
    68
wenzelm@2435
    69
wenzelm@2435
    70
###
wenzelm@16186
    71
### Document preparation (cf. isatool latex/document)
wenzelm@7773
    72
###
wenzelm@7773
    73
wenzelm@7773
    74
ISABELLE_LATEX="latex"
wenzelm@7773
    75
ISABELLE_PDFLATEX="pdflatex"
wenzelm@7813
    76
ISABELLE_BIBTEX="bibtex"
kleing@14344
    77
ISABELLE_MAKEINDEX="makeindex"
wenzelm@7773
    78
ISABELLE_DVIPS="dvips -D 600"
wenzelm@11800
    79
ISABELLE_EPSTOPDF="epstopdf"
wenzelm@7773
    80
kleing@13920
    81
# Paranoia setting for strange latex installations ...
wenzelm@11062
    82
#unset TEXMF
wenzelm@11062
    83
kleing@13920
    84
# If ISABELLE_THUMBPDF is set, isatool tries to
kleing@13920
    85
# generate thumbnails for proof documents
wenzelm@11062
    86
#type -path thumbpdf >/dev/null && ISABELLE_THUMBPDF="thumbpdf"
wenzelm@7864
    87
wenzelm@7773
    88
wenzelm@7773
    89
###
wenzelm@2968
    90
### Misc path settings
wenzelm@2426
    91
###
wenzelm@2294
    92
wenzelm@2426
    93
# The place for user configuration, heap files, etc.
wenzelm@2426
    94
ISABELLE_HOME_USER=~/isabelle
wenzelm@2294
    95
wenzelm@3177
    96
# Where to look for isabelle tools (multiple dirs separated by ':').
wenzelm@9787
    97
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
wenzelm@2786
    98
wenzelm@4334
    99
# Location for temporary files (should be on a local file system).
wenzelm@9787
   100
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
wenzelm@4334
   101
wenzelm@9787
   102
# Heap input locations. ML system identifier is included in lookup.
wenzelm@9787
   103
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
wenzelm@2780
   104
wenzelm@9787
   105
# Heap output location. ML system identifier is appended automatically later on.
wenzelm@15846
   106
if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then
wenzelm@15846
   107
  #Isabelle build tells us to store heaps etc. within the distribution.
wenzelm@15846
   108
  ISABELLE_OUTPUT="$ISABELLE_HOME/heaps"
wenzelm@15846
   109
  ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info"
wenzelm@15846
   110
else
wenzelm@9787
   111
  ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
wenzelm@9787
   112
  ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
wenzelm@15846
   113
fi
wenzelm@2780
   114
wenzelm@16186
   115
# Site settings check -- just to make it a little bit harder to copy this file verbatim!
wenzelm@9225
   116
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
wenzelm@9225
   117
  { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
wenzelm@9225
   118
kleing@13920
   119
kleing@13920
   120
###
wenzelm@16875
   121
### default logic
kleing@13920
   122
###
wenzelm@16186
   123
wenzelm@3184
   124
ISABELLE_LOGIC=HOL
wenzelm@2294
   125
wenzelm@2786
   126
kleing@13920
   127
###
kleing@13920
   128
### Docs
kleing@13920
   129
###
wenzelm@2294
   130
wenzelm@16186
   131
# Where to look for docs (multiple dirs separated by ':').
wenzelm@9787
   132
ISABELLE_DOCS="$ISABELLE_HOME/doc"
wenzelm@2345
   133
wenzelm@16186
   134
# Preferred document format
wenzelm@15703
   135
ISABELLE_DOC_FORMAT=pdf
wenzelm@15703
   136
wenzelm@16186
   137
# The dvi file viewer
wenzelm@3062
   138
DVI_VIEWER=xdvi
wenzelm@2426
   139
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
wenzelm@11103
   140
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
wenzelm@2476
   141
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
wenzelm@3062
   142
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
wenzelm@2345
   143
wenzelm@16186
   144
# The pdf file viewer
kleing@15218
   145
PDF_VIEWER=acroread
kleing@15218
   146
#PDF_VIEWER=xpdf
wenzelm@16186
   147
#PDF_VIEWER=open  #best for Mac users: will open in default PDF viewer
kleing@15218
   148
wenzelm@16186
   149
# Printer spool command for PS files
wenzelm@14933
   150
PRINT_COMMAND=lp
wenzelm@14933
   151
wenzelm@2294
   152
wenzelm@2426
   153
###
wenzelm@2426
   154
### Interfaces
wenzelm@2426
   155
###
wenzelm@2426
   156
kleing@13920
   157
# Fallback: the null interface (pass-through to raw isabelle process).
wenzelm@11552
   158
ISABELLE_INTERFACE=none
wenzelm@2294
   159
kleing@13920
   160
# Proof General path, look in a variety of places
wenzelm@17574
   161
ISABELLE_INTERFACE=$(choosefrom \
wenzelm@9679
   162
  "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
wenzelm@9679
   163
  "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
wenzelm@17119
   164
  "/usr/local/ProofGeneral/isar/interface" \
wenzelm@9787
   165
  "/usr/share/ProofGeneral/isar/interface" \
wenzelm@10070
   166
  "/opt/ProofGeneral/isar/interface" \
wenzelm@9956
   167
  "/usr/share/emacs/ProofGeneral/isar/interface" \
wenzelm@9679
   168
  "$ISABELLE_INTERFACE")
kleing@13920
   169
wenzelm@5964
   170
PROOFGENERAL_OPTIONS=""
wenzelm@17383
   171
#PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true -p xemacs"
wenzelm@7185
   172
wenzelm@17574
   173
type -path xemacs >/dev/null || \
wenzelm@17574
   174
  PROOFGENERAL_OPTIONS="-p emacs $PROOFGENERAL_OPTIONS"
wenzelm@17574
   175
wenzelm@17383
   176
# Automatic setup of remote fonts
wenzelm@9994
   177
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
wenzelm@9569
   178
wenzelm@7185
   179
wenzelm@7185
   180
###
wenzelm@7185
   181
### External reasoning tools
wenzelm@7185
   182
###
wenzelm@7185
   183
wenzelm@7194
   184
## Set HOME only for tools you have installed!
wenzelm@7185
   185
wenzelm@17001
   186
# HOL4 proof objects (cf. Isabelle/src/HOL/Import)
wenzelm@17001
   187
HOL4_PROOFS="$PROOF_DIRS:$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs"
wenzelm@17001
   188
wenzelm@7185
   189
# SVC (Stanford Validity Checker)
wenzelm@7185
   190
#SVC_HOME=
wenzelm@7185
   191
#SVC_MACHINE=i386-redhat-linux
wenzelm@7185
   192
#SVC_MACHINE=sparc-sun-solaris
wenzelm@7296
   193
wenzelm@7296
   194
# Mucke (mu-calculus model checker)
wenzelm@7296
   195
#MUCKE_HOME=/usr/local/bin
wenzelm@7296
   196
wenzelm@7296
   197
# Einhoven model checker
wenzelm@7296
   198
#EINDHOVEN_HOME=/usr/local/bin
webertj@14451
   199
webertj@17522
   200
# zChaff (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@15284
   201
#ZCHAFF_HOME=/usr/local/bin
webertj@15331
   202
#ZCHAFF_VERSION=2004.5.13
webertj@15331
   203
#ZCHAFF_VERSION=2004.11.15
webertj@14942
   204
webertj@17522
   205
# BerkMin561 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@14942
   206
#BERKMIN_HOME=/usr/local/bin
webertj@14942
   207
#BERKMIN_EXE=BerkMin561-linux
webertj@14942
   208
#BERKMIN_EXE=BerkMin561-solaris
webertj@14943
   209
webertj@17522
   210
# Jerusat 1.3 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
webertj@14943
   211
#JERUSAT_HOME=/usr/local/bin
wenzelm@16419
   212
obua@16873
   213
# For configuring HOL/Matrix/cplex
obua@16966
   214
# LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver.
obua@16873
   215
# First option: use the commercial cplex solver
wenzelm@16968
   216
#LP_SOLVER=CPLEX
wenzelm@16968
   217
#CPLEX_PATH=cplex
obua@16873
   218
# Second option: use the open source glpk solver
wenzelm@16968
   219
#LP_SOLVER=GLPK
wenzelm@16968
   220
#GLPK_PATH=glpsol
wenzelm@17909
   221
wenzelm@17909
   222
# External provers
wenzelm@17909
   223
#VAMPIRE_HOME=/usr/local/Vampire
wenzelm@17909
   224
#E_HOME=/usr/local/E