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