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