etc/settings
author wenzelm
Thu Jul 05 13:33:53 2012 +0200 (2012-07-05)
changeset 48187 6615f7ce670b
parent 47758 8c37cb84065f
child 48207 40fab092d2a2
permissions -rw-r--r--
slightly modernized ISABELLE_GHC etc. -- /usr/bin is more likely to provide it by default (notably on macbroy2[0-9] and lxbroy*);
wenzelm@24211
     1
# -*- shell-script -*- :mode=shellscript:
wenzelm@2294
     2
#
wenzelm@47173
     3
# Isabelle settings -- distribution defaults.
wenzelm@16875
     4
#
wenzelm@16875
     5
# Important notes:
wenzelm@47173
     6
#   * See the "system" manual for explanations on Isabelle settings
wenzelm@16875
     7
#   * DO NOT EDIT the repository copy of this file!
wenzelm@47173
     8
#   * DO NOT COPY this file into your ~/.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@44951
    18
# Poly/ML default (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@43515
    31
# Poly/ML 32 bit (manual settings)
wenzelm@45147
    32
#ML_SYSTEM=polyml-5.4.1
wenzelm@43515
    33
#ML_PLATFORM="$ISABELLE_PLATFORM"
wenzelm@43515
    34
#ML_HOME="$ISABELLE_HOME/contrib/$ML_SYSTEM/$ML_PLATFORM"
wenzelm@25347
    35
#ML_OPTIONS="-H 500"
wenzelm@33538
    36
#ML_SOURCES="$ML_HOME/../src"
wenzelm@25347
    37
wenzelm@43515
    38
# Poly/ML 64 bit (manual settings)
wenzelm@45147
    39
#ML_SYSTEM=polyml-5.4.1
wenzelm@43515
    40
#ML_PLATFORM="${ISABELLE_PLATFORM64:-$ISABELLE_PLATFORM}"
wenzelm@43515
    41
#ML_HOME="$ISABELLE_HOME/contrib/$ML_SYSTEM/$ML_PLATFORM"
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@47009
    57
ISABELLE_SCALA_BUILD_OPTIONS="-nowarn -target:jvm-1.5"
wenzelm@47009
    58
wenzelm@27906
    59
wenzelm@27906
    60
###
wenzelm@28504
    61
### Interactive sessions (cf. isabelle tty)
wenzelm@25627
    62
###
wenzelm@25627
    63
wenzelm@25627
    64
ISABELLE_LINE_EDITOR=""
wenzelm@26205
    65
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)"
wenzelm@25627
    66
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)"
wenzelm@25627
    67
wenzelm@25627
    68
wenzelm@25627
    69
###
wenzelm@28504
    70
### Batch sessions (cf. isabelle usedir)
wenzelm@2435
    71
###
wenzelm@2435
    72
wenzelm@32292
    73
ISABELLE_USEDIR_OPTIONS="-M max -p 1 -q 2 -v true -V outline=/proof,/ML"
wenzelm@11569
    74
wenzelm@2435
    75
wenzelm@2435
    76
###
wenzelm@28504
    77
### Document preparation (cf. isabelle latex/document)
wenzelm@7773
    78
###
wenzelm@7773
    79
wenzelm@7773
    80
ISABELLE_LATEX="latex"
wenzelm@7773
    81
ISABELLE_PDFLATEX="pdflatex"
wenzelm@7813
    82
ISABELLE_BIBTEX="bibtex"
kleing@14344
    83
ISABELLE_MAKEINDEX="makeindex"
wenzelm@7773
    84
ISABELLE_DVIPS="dvips -D 600"
wenzelm@11800
    85
ISABELLE_EPSTOPDF="epstopdf"
wenzelm@7773
    86
kleing@13920
    87
# Paranoia setting for strange latex installations ...
wenzelm@11062
    88
#unset TEXMF
wenzelm@11062
    89
wenzelm@7773
    90
wenzelm@7773
    91
###
wenzelm@2968
    92
### Misc path settings
wenzelm@2426
    93
###
wenzelm@2294
    94
wenzelm@2426
    95
# The place for user configuration, heap files, etc.
wenzelm@47661
    96
ISABELLE_HOME_USER="$USER_HOME/.isabelle/${ISABELLE_IDENTIFIER:-.}"
wenzelm@2294
    97
wenzelm@3177
    98
# Where to look for isabelle tools (multiple dirs separated by ':').
wenzelm@9787
    99
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
wenzelm@2786
   100
wenzelm@4334
   101
# Location for temporary files (should be on a local file system).
wenzelm@9787
   102
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
wenzelm@4334
   103
wenzelm@9787
   104
# Heap input locations. ML system identifier is included in lookup.
wenzelm@40387
   105
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
wenzelm@2780
   106
wenzelm@9787
   107
# Heap output location. ML system identifier is appended automatically later on.
wenzelm@40387
   108
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
wenzelm@26212
   109
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
wenzelm@2780
   110
wenzelm@16186
   111
# Site settings check -- just to make it a little bit harder to copy this file verbatim!
wenzelm@9225
   112
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
wenzelm@9225
   113
  { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
wenzelm@32305
   114
ISABELLE_SITE_SETTINGS_PRESENT=true
wenzelm@9225
   115
kleing@13920
   116
kleing@13920
   117
###
wenzelm@28651
   118
### Default logic
kleing@13920
   119
###
wenzelm@16186
   120
wenzelm@3184
   121
ISABELLE_LOGIC=HOL
wenzelm@2294
   122
wenzelm@2786
   123
kleing@13920
   124
###
kleing@13920
   125
### Docs
kleing@13920
   126
###
wenzelm@2294
   127
wenzelm@16186
   128
# Where to look for docs (multiple dirs separated by ':').
wenzelm@9787
   129
ISABELLE_DOCS="$ISABELLE_HOME/doc"
wenzelm@2345
   130
wenzelm@16186
   131
# Preferred document format
wenzelm@15703
   132
ISABELLE_DOC_FORMAT=pdf
wenzelm@15703
   133
wenzelm@16186
   134
# The dvi file viewer
wenzelm@3062
   135
DVI_VIEWER=xdvi
wenzelm@2426
   136
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
wenzelm@11103
   137
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
wenzelm@2476
   138
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
wenzelm@3062
   139
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
wenzelm@2345
   140
wenzelm@16186
   141
# The pdf file viewer
wenzelm@37062
   142
case "$ISABELLE_PLATFORM" in
wenzelm@47758
   143
  *-linux)
wenzelm@47758
   144
    PDF_VIEWER="xdg-open"
wenzelm@47758
   145
    ;;
wenzelm@37062
   146
  *-darwin)
wenzelm@37062
   147
    PDF_VIEWER="open -W -n"
wenzelm@37062
   148
    ;;
wenzelm@47758
   149
  *-cygwin)
wenzelm@47758
   150
    PDF_VIEWER="cygstart"
wenzelm@37062
   151
    ;;
wenzelm@37062
   152
esac
wenzelm@23138
   153
kleing@15218
   154
wenzelm@16186
   155
# Printer spool command for PS files
wenzelm@14933
   156
PRINT_COMMAND=lp
wenzelm@14933
   157
wenzelm@2294
   158
wenzelm@2426
   159
###
wenzelm@28651
   160
### Proof General / Emacs
wenzelm@28651
   161
###
wenzelm@28651
   162
wenzelm@28249
   163
# Proof General home, look in a variety of places
wenzelm@40545
   164
PROOFGENERAL_HOME="$(choosefrom \
wenzelm@28249
   165
  "$ISABELLE_HOME/contrib/ProofGeneral" \
wenzelm@28249
   166
  "$ISABELLE_HOME/../ProofGeneral" \
wenzelm@28249
   167
  "/usr/local/ProofGeneral" \
wenzelm@28249
   168
  "/usr/share/ProofGeneral" \
wenzelm@28249
   169
  "/opt/ProofGeneral" \
wenzelm@40545
   170
  "")"
wenzelm@28249
   171
wenzelm@29149
   172
PROOFGENERAL_OPTIONS=""
wenzelm@29149
   173
#PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets"
wenzelm@17574
   174
wenzelm@17383
   175
# Automatic setup of remote fonts
wenzelm@9994
   176
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
wenzelm@28249
   177
XSYMBOL_INSTALLFONTS=""
wenzelm@7185
   178
wenzelm@28651
   179
wenzelm@28651
   180
###
wenzelm@37058
   181
### Rendering information
wenzelm@37058
   182
###
wenzelm@37058
   183
wenzelm@43484
   184
ISABELLE_FONTS="$ISABELLE_HOME/lib/fonts/IsabelleText.ttf:$ISABELLE_HOME/lib/fonts/IsabelleTextBold.ttf"
wenzelm@37058
   185
ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols"
wenzelm@37058
   186
wenzelm@37058
   187
wenzelm@37058
   188
###
wenzelm@41951
   189
### Old-style settings for some external tools
wenzelm@7185
   190
###
wenzelm@7185
   191
wenzelm@7194
   192
## Set HOME only for tools you have installed!
wenzelm@7185
   193
wenzelm@7185
   194
# SVC (Stanford Validity Checker)
wenzelm@7185
   195
#SVC_HOME=
wenzelm@7185
   196
#SVC_MACHINE=i386-redhat-linux
wenzelm@7185
   197
#SVC_MACHINE=sparc-sun-solaris
wenzelm@7296
   198
wenzelm@41951
   199
# MiniSat 1.14 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
webertj@20033
   200
#MINISAT_HOME=/usr/local/bin
webertj@20033
   201
wenzelm@41951
   202
# zChaff (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
webertj@15284
   203
#ZCHAFF_HOME=/usr/local/bin
webertj@14942
   204
wenzelm@41951
   205
# BerkMin561 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
webertj@14942
   206
#BERKMIN_HOME=/usr/local/bin
webertj@14942
   207
#BERKMIN_EXE=BerkMin561-linux
webertj@14942
   208
#BERKMIN_EXE=BerkMin561-solaris
webertj@14943
   209
wenzelm@41951
   210
# Jerusat 1.3 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
webertj@14943
   211
#JERUSAT_HOME=/usr/local/bin
wenzelm@16419
   212
obua@16873
   213
# For configuring HOL/Matrix/cplex
obua@16966
   214
# LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver.
obua@16873
   215
# First option: use the commercial cplex solver
wenzelm@16968
   216
#LP_SOLVER=CPLEX
wenzelm@16968
   217
#CPLEX_PATH=cplex
obua@16873
   218
# Second option: use the open source glpk solver
wenzelm@16968
   219
#LP_SOLVER=GLPK
wenzelm@16968
   220
#GLPK_PATH=glpsol
wenzelm@41968
   221
wenzelm@41968
   222
# Misc programming languages
wenzelm@48187
   223
#ISABELLE_GHC="/usr/bin/ghc"
wenzelm@48187
   224
#ISABELLE_OCAML="/usr/bin/ocaml"
wenzelm@48187
   225
#ISABELLE_SWIPL="/usr/bin/swipl"