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