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