etc/settings
author wenzelm
Sun Mar 13 20:56:00 2011 +0100 (2011-03-13)
changeset 41955 703ea96b13c6
parent 41951 117eb7aeddf0
child 41968 7f5c9bd991be
permissions -rw-r--r--
files are identified via SHA1 digests -- discontinued ISABELLE_FILE_IDENT;
wenzelm@24211
     1
# -*- shell-script -*- :mode=shellscript:
wenzelm@2294
     2
#
wenzelm@2309
     3
# Isabelle settings -- site defaults.
wenzelm@16875
     4
#
wenzelm@16875
     5
# Important notes:
wenzelm@16875
     6
#   * See the system manual for explanations on Isabelle settings
wenzelm@16875
     7
#   * DO NOT EDIT the repository copy of this file!
wenzelm@16875
     8
#   * DO NOT COPY this file into your personal isabelle directory!
wenzelm@2309
     9
wenzelm@2426
    10
###
wenzelm@3177
    11
### ML compiler settings (ESSENTIAL!)
wenzelm@2426
    12
###
wenzelm@2426
    13
wenzelm@16968
    14
# ML_HOME specifies the location of the actual compiler binaries.  Do
wenzelm@16968
    15
# not invent new ML system names unless you know what you are doing.
wenzelm@16968
    16
# Only one of the sections below should be activated.
kleing@14447
    17
wenzelm@31308
    18
# Poly/ML 5.x (automated settings)
wenzelm@36201
    19
ML_PLATFORM="$ISABELLE_PLATFORM"
wenzelm@40545
    20
ML_HOME="$(choosefrom \
wenzelm@16968
    21
  "$ISABELLE_HOME/contrib/polyml/$ML_PLATFORM" \
wenzelm@16968
    22
  "$ISABELLE_HOME/../polyml/$ML_PLATFORM" \
wenzelm@17119
    23
  "/usr/local/polyml/$ML_PLATFORM" \
wenzelm@16968
    24
  "/usr/share/polyml/$ML_PLATFORM" \
wenzelm@16968
    25
  "/opt/polyml/$ML_PLATFORM" \
wenzelm@41495
    26
  "")"
wenzelm@16968
    27
ML_SYSTEM=$("$ISABELLE_HOME/lib/scripts/polyml-version")
wenzelm@25500
    28
ML_OPTIONS="-H 200"
wenzelm@31436
    29
ML_SOURCES="$ML_HOME/../src"
wenzelm@8345
    30
wenzelm@41495
    31
# Poly/ML 5.4.0
wenzelm@25347
    32
#ML_PLATFORM=x86-linux
wenzelm@25347
    33
#ML_HOME=/usr/local/polyml/x86-linux
wenzelm@41495
    34
#ML_SYSTEM=polyml-5.4.0
wenzelm@25347
    35
#ML_OPTIONS="-H 500"
wenzelm@33538
    36
#ML_SOURCES="$ML_HOME/../src"
wenzelm@25347
    37
wenzelm@41495
    38
# Poly/ML 5.4.0 (64 bit)
wenzelm@20764
    39
#ML_PLATFORM=x86_64-linux
wenzelm@20764
    40
#ML_HOME=/usr/local/polyml/x86_64-linux
wenzelm@41495
    41
#ML_SYSTEM=polyml-5.4.0
wenzelm@24479
    42
#ML_OPTIONS="-H 1000"
wenzelm@31444
    43
#ML_SOURCES="$ML_HOME/../src"
wenzelm@31444
    44
wenzelm@25347
    45
# Standard ML of New Jersey (slow!)
wenzelm@8345
    46
#ML_SYSTEM=smlnj-110
wenzelm@25347
    47
#ML_HOME="/usr/local/smlnj/bin"
wenzelm@33502
    48
#ML_OPTIONS="@SMLdebug=/dev/null @SMLalloc=256"
wenzelm@9787
    49
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
wenzelm@25347
    50
#SMLNJ_CYGWIN_RUNTIME=1
wenzelm@5708
    51
wenzelm@2294
    52
wenzelm@2426
    53
###
wenzelm@27906
    54
### JVM components (Scala or Java)
wenzelm@27906
    55
###
wenzelm@27906
    56
wenzelm@40571
    57
if [ -n "$JAVA_HOME" ]; then
wenzelm@40571
    58
  ISABELLE_JAVA="$JAVA_HOME/bin/java"
wenzelm@41609
    59
elif [ -x /usr/libexec/java_home ]; then
wenzelm@41609
    60
  ISABELLE_JAVA="$(/usr/libexec/java_home -v 1.6)"/bin/java
wenzelm@40571
    61
else
wenzelm@40571
    62
  ISABELLE_JAVA="java"
wenzelm@40571
    63
fi
wenzelm@27921
    64
wenzelm@27906
    65
classpath "$ISABELLE_HOME/lib/classes/Pure.jar"
wenzelm@27906
    66
wenzelm@27906
    67
wenzelm@27906
    68
###
wenzelm@28504
    69
### Interactive sessions (cf. isabelle tty)
wenzelm@25627
    70
###
wenzelm@25627
    71
wenzelm@25627
    72
ISABELLE_LINE_EDITOR=""
wenzelm@26205
    73
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)"
wenzelm@25627
    74
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)"
wenzelm@25627
    75
wenzelm@25627
    76
wenzelm@25627
    77
###
wenzelm@28504
    78
### Batch sessions (cf. isabelle usedir)
wenzelm@2435
    79
###
wenzelm@2435
    80
wenzelm@32292
    81
ISABELLE_USEDIR_OPTIONS="-M max -p 1 -q 2 -v true -V outline=/proof,/ML"
wenzelm@11569
    82
wenzelm@2435
    83
wenzelm@2435
    84
###
wenzelm@28504
    85
### Document preparation (cf. isabelle latex/document)
wenzelm@7773
    86
###
wenzelm@7773
    87
wenzelm@7773
    88
ISABELLE_LATEX="latex"
wenzelm@7773
    89
ISABELLE_PDFLATEX="pdflatex"
wenzelm@7813
    90
ISABELLE_BIBTEX="bibtex"
kleing@14344
    91
ISABELLE_MAKEINDEX="makeindex"
wenzelm@7773
    92
ISABELLE_DVIPS="dvips -D 600"
wenzelm@11800
    93
ISABELLE_EPSTOPDF="epstopdf"
wenzelm@7773
    94
kleing@13920
    95
# Paranoia setting for strange latex installations ...
wenzelm@11062
    96
#unset TEXMF
wenzelm@11062
    97
wenzelm@7773
    98
wenzelm@7773
    99
###
wenzelm@2968
   100
### Misc path settings
wenzelm@2426
   101
###
wenzelm@2294
   102
wenzelm@2426
   103
# The place for user configuration, heap files, etc.
wenzelm@40387
   104
ISABELLE_HOME_USER="$HOME/.isabelle/$ISABELLE_IDENTIFIER"
wenzelm@2294
   105
wenzelm@3177
   106
# Where to look for isabelle tools (multiple dirs separated by ':').
wenzelm@9787
   107
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
wenzelm@2786
   108
wenzelm@4334
   109
# Location for temporary files (should be on a local file system).
wenzelm@9787
   110
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
wenzelm@4334
   111
wenzelm@9787
   112
# Heap input locations. ML system identifier is included in lookup.
wenzelm@40387
   113
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
wenzelm@2780
   114
wenzelm@9787
   115
# Heap output location. ML system identifier is appended automatically later on.
wenzelm@40387
   116
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
wenzelm@26212
   117
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
wenzelm@2780
   118
wenzelm@16186
   119
# Site settings check -- just to make it a little bit harder to copy this file verbatim!
wenzelm@9225
   120
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
wenzelm@9225
   121
  { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
wenzelm@32305
   122
ISABELLE_SITE_SETTINGS_PRESENT=true
wenzelm@9225
   123
kleing@13920
   124
kleing@13920
   125
###
wenzelm@28651
   126
### Default logic
kleing@13920
   127
###
wenzelm@16186
   128
wenzelm@3184
   129
ISABELLE_LOGIC=HOL
wenzelm@2294
   130
wenzelm@2786
   131
kleing@13920
   132
###
kleing@13920
   133
### Docs
kleing@13920
   134
###
wenzelm@2294
   135
wenzelm@16186
   136
# Where to look for docs (multiple dirs separated by ':').
wenzelm@9787
   137
ISABELLE_DOCS="$ISABELLE_HOME/doc"
wenzelm@2345
   138
wenzelm@16186
   139
# Preferred document format
wenzelm@15703
   140
ISABELLE_DOC_FORMAT=pdf
wenzelm@15703
   141
wenzelm@16186
   142
# The dvi file viewer
wenzelm@3062
   143
DVI_VIEWER=xdvi
wenzelm@2426
   144
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
wenzelm@11103
   145
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
wenzelm@2476
   146
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
wenzelm@3062
   147
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
wenzelm@2345
   148
wenzelm@16186
   149
# The pdf file viewer
wenzelm@37062
   150
case "$ISABELLE_PLATFORM" in
wenzelm@37062
   151
  *-darwin)
wenzelm@37062
   152
    PDF_VIEWER="open -W -n"
wenzelm@37062
   153
    ;;
wenzelm@37062
   154
  *)
wenzelm@37062
   155
    PDF_VIEWER=xpdf
wenzelm@37062
   156
    ;;
wenzelm@37062
   157
esac
wenzelm@23138
   158
#PDF_VIEWER=acroread
wenzelm@23138
   159
#PDF_VIEWER=evince
wenzelm@23138
   160
kleing@15218
   161
wenzelm@16186
   162
# Printer spool command for PS files
wenzelm@14933
   163
PRINT_COMMAND=lp
wenzelm@14933
   164
wenzelm@2294
   165
wenzelm@2426
   166
###
wenzelm@28651
   167
### Proof General / Emacs
wenzelm@28651
   168
###
wenzelm@28651
   169
wenzelm@28249
   170
# Proof General home, look in a variety of places
wenzelm@40545
   171
PROOFGENERAL_HOME="$(choosefrom \
wenzelm@28249
   172
  "$ISABELLE_HOME/contrib/ProofGeneral" \
wenzelm@28249
   173
  "$ISABELLE_HOME/../ProofGeneral" \
wenzelm@28249
   174
  "/usr/local/ProofGeneral" \
wenzelm@28249
   175
  "/usr/share/ProofGeneral" \
wenzelm@28249
   176
  "/opt/ProofGeneral" \
wenzelm@40545
   177
  "")"
wenzelm@28249
   178
wenzelm@29149
   179
PROOFGENERAL_OPTIONS=""
wenzelm@29149
   180
#PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets"
wenzelm@17574
   181
wenzelm@17383
   182
# Automatic setup of remote fonts
wenzelm@9994
   183
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
wenzelm@28249
   184
XSYMBOL_INSTALLFONTS=""
wenzelm@7185
   185
wenzelm@28651
   186
wenzelm@28651
   187
###
wenzelm@37058
   188
### Rendering information
wenzelm@37058
   189
###
wenzelm@37058
   190
wenzelm@37058
   191
ISABELLE_FONT_FAMILY="IsabelleText"
wenzelm@37058
   192
ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols"
wenzelm@37058
   193
wenzelm@37058
   194
wenzelm@37058
   195
###
wenzelm@41951
   196
### Old-style settings for some external tools
wenzelm@7185
   197
###
wenzelm@7185
   198
wenzelm@7194
   199
## Set HOME only for tools you have installed!
wenzelm@7185
   200
wenzelm@41951
   201
# HOL4 proof objects (cf. src/HOL/Import)
wenzelm@26212
   202
#HOL4_PROOFS="$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs"
wenzelm@17001
   203
wenzelm@7185
   204
# SVC (Stanford Validity Checker)
wenzelm@7185
   205
#SVC_HOME=
wenzelm@7185
   206
#SVC_MACHINE=i386-redhat-linux
wenzelm@7185
   207
#SVC_MACHINE=sparc-sun-solaris
wenzelm@7296
   208
wenzelm@41951
   209
# MiniSat 1.14 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
webertj@20033
   210
#MINISAT_HOME=/usr/local/bin
webertj@20033
   211
wenzelm@41951
   212
# zChaff (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
webertj@15284
   213
#ZCHAFF_HOME=/usr/local/bin
webertj@14942
   214
wenzelm@41951
   215
# BerkMin561 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
webertj@14942
   216
#BERKMIN_HOME=/usr/local/bin
webertj@14942
   217
#BERKMIN_EXE=BerkMin561-linux
webertj@14942
   218
#BERKMIN_EXE=BerkMin561-solaris
webertj@14943
   219
wenzelm@41951
   220
# Jerusat 1.3 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
webertj@14943
   221
#JERUSAT_HOME=/usr/local/bin
wenzelm@16419
   222
obua@16873
   223
# For configuring HOL/Matrix/cplex
obua@16966
   224
# LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver.
obua@16873
   225
# First option: use the commercial cplex solver
wenzelm@16968
   226
#LP_SOLVER=CPLEX
wenzelm@16968
   227
#CPLEX_PATH=cplex
obua@16873
   228
# Second option: use the open source glpk solver
wenzelm@16968
   229
#LP_SOLVER=GLPK
wenzelm@16968
   230
#GLPK_PATH=glpsol