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