etc/settings
author wenzelm
Tue Jul 24 11:39:22 2012 +0200 (2012-07-24)
changeset 48466 3b2fb20df17d
parent 48449 2d987dad7c3e
child 48553 a4893c509aa2
permissions -rw-r--r--
further imitation of ISABELLE_USEDIR_OPTIONS via options;
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@48443
    48
#ML_OPTIONS="@SMLdebug=/dev/null @SMLalloc=1024"
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@48466
    70
### Batch sessions
wenzelm@2435
    71
###
wenzelm@2435
    72
wenzelm@48466
    73
#cf. isabelle usedir
wenzelm@32292
    74
ISABELLE_USEDIR_OPTIONS="-M max -p 1 -q 2 -v true -V outline=/proof,/ML"
wenzelm@11569
    75
wenzelm@48466
    76
#cf. isabelle build
wenzelm@48466
    77
ISABELLE_BUILD_OPTIONS=""
wenzelm@48466
    78
wenzelm@2435
    79
wenzelm@2435
    80
###
wenzelm@28504
    81
### Document preparation (cf. isabelle latex/document)
wenzelm@7773
    82
###
wenzelm@7773
    83
wenzelm@7773
    84
ISABELLE_LATEX="latex"
wenzelm@7773
    85
ISABELLE_PDFLATEX="pdflatex"
wenzelm@7813
    86
ISABELLE_BIBTEX="bibtex"
kleing@14344
    87
ISABELLE_MAKEINDEX="makeindex"
wenzelm@7773
    88
ISABELLE_DVIPS="dvips -D 600"
wenzelm@11800
    89
ISABELLE_EPSTOPDF="epstopdf"
wenzelm@7773
    90
kleing@13920
    91
# Paranoia setting for strange latex installations ...
wenzelm@11062
    92
#unset TEXMF
wenzelm@11062
    93
wenzelm@7773
    94
wenzelm@7773
    95
###
wenzelm@2968
    96
### Misc path settings
wenzelm@2426
    97
###
wenzelm@2294
    98
wenzelm@2426
    99
# The place for user configuration, heap files, etc.
wenzelm@48449
   100
if [ -z "ISABELLE_IDENTIFIER" ]; then
wenzelm@48449
   101
  ISABELLE_HOME_USER="$USER_HOME/.isabelle"
wenzelm@48449
   102
else
wenzelm@48449
   103
  ISABELLE_HOME_USER="$USER_HOME/.isabelle/$ISABELLE_IDENTIFIER"
wenzelm@48449
   104
fi
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@47758
   151
  *-linux)
wenzelm@47758
   152
    PDF_VIEWER="xdg-open"
wenzelm@47758
   153
    ;;
wenzelm@37062
   154
  *-darwin)
wenzelm@37062
   155
    PDF_VIEWER="open -W -n"
wenzelm@37062
   156
    ;;
wenzelm@47758
   157
  *-cygwin)
wenzelm@47758
   158
    PDF_VIEWER="cygstart"
wenzelm@37062
   159
    ;;
wenzelm@37062
   160
esac
wenzelm@23138
   161
kleing@15218
   162
wenzelm@16186
   163
# Printer spool command for PS files
wenzelm@14933
   164
PRINT_COMMAND=lp
wenzelm@14933
   165
wenzelm@2294
   166
wenzelm@2426
   167
###
wenzelm@28651
   168
### Proof General / Emacs
wenzelm@28651
   169
###
wenzelm@28651
   170
wenzelm@28249
   171
# Proof General home, look in a variety of places
wenzelm@40545
   172
PROOFGENERAL_HOME="$(choosefrom \
wenzelm@28249
   173
  "$ISABELLE_HOME/contrib/ProofGeneral" \
wenzelm@28249
   174
  "$ISABELLE_HOME/../ProofGeneral" \
wenzelm@28249
   175
  "/usr/local/ProofGeneral" \
wenzelm@28249
   176
  "/usr/share/ProofGeneral" \
wenzelm@28249
   177
  "/opt/ProofGeneral" \
wenzelm@40545
   178
  "")"
wenzelm@28249
   179
wenzelm@29149
   180
PROOFGENERAL_OPTIONS=""
wenzelm@29149
   181
#PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets"
wenzelm@17574
   182
wenzelm@28651
   183
wenzelm@28651
   184
###
wenzelm@37058
   185
### Rendering information
wenzelm@37058
   186
###
wenzelm@37058
   187
wenzelm@43484
   188
ISABELLE_FONTS="$ISABELLE_HOME/lib/fonts/IsabelleText.ttf:$ISABELLE_HOME/lib/fonts/IsabelleTextBold.ttf"
wenzelm@37058
   189
ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols"
wenzelm@37058
   190
wenzelm@37058
   191
wenzelm@37058
   192
###
wenzelm@41951
   193
### Old-style settings for some external tools
wenzelm@7185
   194
###
wenzelm@7185
   195
wenzelm@7194
   196
## Set HOME only for tools you have installed!
wenzelm@7185
   197
wenzelm@7185
   198
# SVC (Stanford Validity Checker)
wenzelm@7185
   199
#SVC_HOME=
wenzelm@7185
   200
#SVC_MACHINE=i386-redhat-linux
wenzelm@7185
   201
#SVC_MACHINE=sparc-sun-solaris
wenzelm@7296
   202
wenzelm@41951
   203
# MiniSat 1.14 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
webertj@20033
   204
#MINISAT_HOME=/usr/local/bin
webertj@20033
   205
wenzelm@41951
   206
# zChaff (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
webertj@15284
   207
#ZCHAFF_HOME=/usr/local/bin
webertj@14942
   208
wenzelm@41951
   209
# BerkMin561 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
webertj@14942
   210
#BERKMIN_HOME=/usr/local/bin
webertj@14942
   211
#BERKMIN_EXE=BerkMin561-linux
webertj@14942
   212
#BERKMIN_EXE=BerkMin561-solaris
webertj@14943
   213
wenzelm@41951
   214
# Jerusat 1.3 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
webertj@14943
   215
#JERUSAT_HOME=/usr/local/bin
wenzelm@16419
   216
obua@16873
   217
# For configuring HOL/Matrix/cplex
obua@16966
   218
# LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver.
obua@16873
   219
# First option: use the commercial cplex solver
wenzelm@16968
   220
#LP_SOLVER=CPLEX
wenzelm@16968
   221
#CPLEX_PATH=cplex
obua@16873
   222
# Second option: use the open source glpk solver
wenzelm@16968
   223
#LP_SOLVER=GLPK
wenzelm@16968
   224
#GLPK_PATH=glpsol
wenzelm@41968
   225
wenzelm@41968
   226
# Misc programming languages
wenzelm@48187
   227
#ISABELLE_GHC="/usr/bin/ghc"
wenzelm@48187
   228
#ISABELLE_OCAML="/usr/bin/ocaml"
wenzelm@48187
   229
#ISABELLE_SWIPL="/usr/bin/swipl"