etc/settings
author wenzelm
Sun Mar 13 17:35:35 2011 +0100 (2011-03-13)
changeset 41951 117eb7aeddf0
parent 41950 134131d519c0
child 41955 703ea96b13c6
permissions -rw-r--r--
some cleanup of old-style settings;
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@23837
    83
#Source file identification (default: full name + date stamp)
wenzelm@23837
    84
ISABELLE_FILE_IDENT=""
wenzelm@23837
    85
#ISABELLE_FILE_IDENT="md5"
wenzelm@23837
    86
#ISABELLE_FILE_IDENT="md5sum"
wenzelm@23837
    87
#ISABELLE_FILE_IDENT="sha1sum"
wenzelm@23837
    88
#ISABELLE_FILE_IDENT="openssl dgst -sha1"
wenzelm@23837
    89
wenzelm@2435
    90
wenzelm@2435
    91
###
wenzelm@28504
    92
### Document preparation (cf. isabelle latex/document)
wenzelm@7773
    93
###
wenzelm@7773
    94
wenzelm@7773
    95
ISABELLE_LATEX="latex"
wenzelm@7773
    96
ISABELLE_PDFLATEX="pdflatex"
wenzelm@7813
    97
ISABELLE_BIBTEX="bibtex"
kleing@14344
    98
ISABELLE_MAKEINDEX="makeindex"
wenzelm@7773
    99
ISABELLE_DVIPS="dvips -D 600"
wenzelm@11800
   100
ISABELLE_EPSTOPDF="epstopdf"
wenzelm@7773
   101
kleing@13920
   102
# Paranoia setting for strange latex installations ...
wenzelm@11062
   103
#unset TEXMF
wenzelm@11062
   104
wenzelm@7773
   105
wenzelm@7773
   106
###
wenzelm@2968
   107
### Misc path settings
wenzelm@2426
   108
###
wenzelm@2294
   109
wenzelm@2426
   110
# The place for user configuration, heap files, etc.
wenzelm@40387
   111
ISABELLE_HOME_USER="$HOME/.isabelle/$ISABELLE_IDENTIFIER"
wenzelm@2294
   112
wenzelm@3177
   113
# Where to look for isabelle tools (multiple dirs separated by ':').
wenzelm@9787
   114
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
wenzelm@2786
   115
wenzelm@4334
   116
# Location for temporary files (should be on a local file system).
wenzelm@9787
   117
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
wenzelm@4334
   118
wenzelm@9787
   119
# Heap input locations. ML system identifier is included in lookup.
wenzelm@40387
   120
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
wenzelm@2780
   121
wenzelm@9787
   122
# Heap output location. ML system identifier is appended automatically later on.
wenzelm@40387
   123
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
wenzelm@26212
   124
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
wenzelm@2780
   125
wenzelm@16186
   126
# Site settings check -- just to make it a little bit harder to copy this file verbatim!
wenzelm@9225
   127
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
wenzelm@9225
   128
  { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
wenzelm@32305
   129
ISABELLE_SITE_SETTINGS_PRESENT=true
wenzelm@9225
   130
kleing@13920
   131
kleing@13920
   132
###
wenzelm@28651
   133
### Default logic
kleing@13920
   134
###
wenzelm@16186
   135
wenzelm@3184
   136
ISABELLE_LOGIC=HOL
wenzelm@2294
   137
wenzelm@2786
   138
kleing@13920
   139
###
kleing@13920
   140
### Docs
kleing@13920
   141
###
wenzelm@2294
   142
wenzelm@16186
   143
# Where to look for docs (multiple dirs separated by ':').
wenzelm@9787
   144
ISABELLE_DOCS="$ISABELLE_HOME/doc"
wenzelm@2345
   145
wenzelm@16186
   146
# Preferred document format
wenzelm@15703
   147
ISABELLE_DOC_FORMAT=pdf
wenzelm@15703
   148
wenzelm@16186
   149
# The dvi file viewer
wenzelm@3062
   150
DVI_VIEWER=xdvi
wenzelm@2426
   151
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
wenzelm@11103
   152
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
wenzelm@2476
   153
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
wenzelm@3062
   154
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
wenzelm@2345
   155
wenzelm@16186
   156
# The pdf file viewer
wenzelm@37062
   157
case "$ISABELLE_PLATFORM" in
wenzelm@37062
   158
  *-darwin)
wenzelm@37062
   159
    PDF_VIEWER="open -W -n"
wenzelm@37062
   160
    ;;
wenzelm@37062
   161
  *)
wenzelm@37062
   162
    PDF_VIEWER=xpdf
wenzelm@37062
   163
    ;;
wenzelm@37062
   164
esac
wenzelm@23138
   165
#PDF_VIEWER=acroread
wenzelm@23138
   166
#PDF_VIEWER=evince
wenzelm@23138
   167
kleing@15218
   168
wenzelm@16186
   169
# Printer spool command for PS files
wenzelm@14933
   170
PRINT_COMMAND=lp
wenzelm@14933
   171
wenzelm@2294
   172
wenzelm@2426
   173
###
wenzelm@28651
   174
### Proof General / Emacs
wenzelm@28651
   175
###
wenzelm@28651
   176
wenzelm@28249
   177
# Proof General home, look in a variety of places
wenzelm@40545
   178
PROOFGENERAL_HOME="$(choosefrom \
wenzelm@28249
   179
  "$ISABELLE_HOME/contrib/ProofGeneral" \
wenzelm@28249
   180
  "$ISABELLE_HOME/../ProofGeneral" \
wenzelm@28249
   181
  "/usr/local/ProofGeneral" \
wenzelm@28249
   182
  "/usr/share/ProofGeneral" \
wenzelm@28249
   183
  "/opt/ProofGeneral" \
wenzelm@40545
   184
  "")"
wenzelm@28249
   185
wenzelm@29149
   186
PROOFGENERAL_OPTIONS=""
wenzelm@29149
   187
#PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets"
wenzelm@17574
   188
wenzelm@17383
   189
# Automatic setup of remote fonts
wenzelm@9994
   190
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
wenzelm@28249
   191
XSYMBOL_INSTALLFONTS=""
wenzelm@7185
   192
wenzelm@28651
   193
wenzelm@28651
   194
###
wenzelm@37058
   195
### Rendering information
wenzelm@37058
   196
###
wenzelm@37058
   197
wenzelm@37058
   198
ISABELLE_FONT_FAMILY="IsabelleText"
wenzelm@37058
   199
ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols"
wenzelm@37058
   200
wenzelm@37058
   201
wenzelm@37058
   202
###
wenzelm@41951
   203
### Old-style settings for some external tools
wenzelm@7185
   204
###
wenzelm@7185
   205
wenzelm@7194
   206
## Set HOME only for tools you have installed!
wenzelm@7185
   207
wenzelm@41951
   208
# HOL4 proof objects (cf. src/HOL/Import)
wenzelm@26212
   209
#HOL4_PROOFS="$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs"
wenzelm@17001
   210
wenzelm@7185
   211
# SVC (Stanford Validity Checker)
wenzelm@7185
   212
#SVC_HOME=
wenzelm@7185
   213
#SVC_MACHINE=i386-redhat-linux
wenzelm@7185
   214
#SVC_MACHINE=sparc-sun-solaris
wenzelm@7296
   215
wenzelm@41951
   216
# MiniSat 1.14 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
webertj@20033
   217
#MINISAT_HOME=/usr/local/bin
webertj@20033
   218
wenzelm@41951
   219
# zChaff (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
webertj@15284
   220
#ZCHAFF_HOME=/usr/local/bin
webertj@14942
   221
wenzelm@41951
   222
# BerkMin561 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
webertj@14942
   223
#BERKMIN_HOME=/usr/local/bin
webertj@14942
   224
#BERKMIN_EXE=BerkMin561-linux
webertj@14942
   225
#BERKMIN_EXE=BerkMin561-solaris
webertj@14943
   226
wenzelm@41951
   227
# Jerusat 1.3 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
webertj@14943
   228
#JERUSAT_HOME=/usr/local/bin
wenzelm@16419
   229
obua@16873
   230
# For configuring HOL/Matrix/cplex
obua@16966
   231
# LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver.
obua@16873
   232
# First option: use the commercial cplex solver
wenzelm@16968
   233
#LP_SOLVER=CPLEX
wenzelm@16968
   234
#CPLEX_PATH=cplex
obua@16873
   235
# Second option: use the open source glpk solver
wenzelm@16968
   236
#LP_SOLVER=GLPK
wenzelm@16968
   237
#GLPK_PATH=glpsol