author | wenzelm |
Sun, 13 Mar 2011 17:28:14 +0100 | |
changeset 41950 | 134131d519c0 |
parent 41609 | f471a2fb9a95 |
child 41951 | 117eb7aeddf0 |
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 |
|
31308 | 18 |
# Poly/ML 5.x (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 |
|
41495 | 31 |
# Poly/ML 5.4.0 |
25347 | 32 |
#ML_PLATFORM=x86-linux |
33 |
#ML_HOME=/usr/local/polyml/x86-linux |
|
41495 | 34 |
#ML_SYSTEM=polyml-5.4.0 |
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 |
|
41495 | 38 |
# Poly/ML 5.4.0 (64 bit) |
20764 | 39 |
#ML_PLATFORM=x86_64-linux |
40 |
#ML_HOME=/usr/local/polyml/x86_64-linux |
|
41495 | 41 |
#ML_SYSTEM=polyml-5.4.0 |
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 |
classpath "$ISABELLE_HOME/lib/classes/Pure.jar" |
66 |
||
67 |
||
68 |
### |
|
28504
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28474
diff
changeset
|
69 |
### Interactive sessions (cf. isabelle tty) |
25627 | 70 |
### |
71 |
||
72 |
ISABELLE_LINE_EDITOR="" |
|
26205
499f08293680
ISABELLE_LINE_EDITOR: prefer rlwrap, which passes interrupts properly;
wenzelm
parents:
25970
diff
changeset
|
73 |
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)" |
25627 | 74 |
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)" |
75 |
||
76 |
||
77 |
### |
|
28504
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28474
diff
changeset
|
78 |
### Batch sessions (cf. isabelle usedir) |
2435 | 79 |
### |
80 |
||
32292 | 81 |
ISABELLE_USEDIR_OPTIONS="-M max -p 1 -q 2 -v true -V outline=/proof,/ML" |
11569 | 82 |
|
23837
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents:
23138
diff
changeset
|
83 |
#Source file identification (default: full name + date stamp) |
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents:
23138
diff
changeset
|
84 |
ISABELLE_FILE_IDENT="" |
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents:
23138
diff
changeset
|
85 |
#ISABELLE_FILE_IDENT="md5" |
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents:
23138
diff
changeset
|
86 |
#ISABELLE_FILE_IDENT="md5sum" |
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents:
23138
diff
changeset
|
87 |
#ISABELLE_FILE_IDENT="sha1sum" |
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents:
23138
diff
changeset
|
88 |
#ISABELLE_FILE_IDENT="openssl dgst -sha1" |
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents:
23138
diff
changeset
|
89 |
|
2435 | 90 |
|
91 |
### |
|
28504
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28474
diff
changeset
|
92 |
### Document preparation (cf. isabelle latex/document) |
7773 | 93 |
### |
94 |
||
95 |
ISABELLE_LATEX="latex" |
|
96 |
ISABELLE_PDFLATEX="pdflatex" |
|
7813 | 97 |
ISABELLE_BIBTEX="bibtex" |
14344 | 98 |
ISABELLE_MAKEINDEX="makeindex" |
7773 | 99 |
ISABELLE_DVIPS="dvips -D 600" |
11800 | 100 |
ISABELLE_EPSTOPDF="epstopdf" |
7773 | 101 |
|
13920 | 102 |
# Paranoia setting for strange latex installations ... |
11062 | 103 |
#unset TEXMF |
104 |
||
7773 | 105 |
|
106 |
### |
|
2968 | 107 |
### Misc path settings |
2426 | 108 |
### |
2294 | 109 |
|
2426 | 110 |
# 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
|
111 |
ISABELLE_HOME_USER="$HOME/.isabelle/$ISABELLE_IDENTIFIER" |
2294 | 112 |
|
3177 | 113 |
# 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
|
114 |
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools" |
2786 | 115 |
|
4334 | 116 |
# 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
|
117 |
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER" |
4334 | 118 |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
119 |
# 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
|
120 |
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps" |
2780 | 121 |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
122 |
# 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
|
123 |
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps" |
26212 | 124 |
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info" |
2780 | 125 |
|
16186 | 126 |
# Site settings check -- just to make it a little bit harder to copy this file verbatim! |
9225 | 127 |
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \ |
128 |
{ 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
|
129 |
ISABELLE_SITE_SETTINGS_PRESENT=true |
9225 | 130 |
|
13920 | 131 |
|
132 |
### |
|
28651 | 133 |
### Default logic |
13920 | 134 |
### |
16186 | 135 |
|
3184 | 136 |
ISABELLE_LOGIC=HOL |
2294 | 137 |
|
2786 | 138 |
|
13920 | 139 |
### |
140 |
### Docs |
|
141 |
### |
|
2294 | 142 |
|
16186 | 143 |
# 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
|
144 |
ISABELLE_DOCS="$ISABELLE_HOME/doc" |
2345 | 145 |
|
16186 | 146 |
# Preferred document format |
15703 | 147 |
ISABELLE_DOC_FORMAT=pdf |
148 |
||
16186 | 149 |
# The dvi file viewer |
3062 | 150 |
DVI_VIEWER=xdvi |
2426 | 151 |
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5" |
11103 | 152 |
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7" |
2476 | 153 |
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10" |
3062 | 154 |
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9" |
2345 | 155 |
|
16186 | 156 |
# The pdf file viewer |
37062
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
157 |
case "$ISABELLE_PLATFORM" in |
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
158 |
*-darwin) |
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
159 |
PDF_VIEWER="open -W -n" |
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
160 |
;; |
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
161 |
*) |
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
162 |
PDF_VIEWER=xpdf |
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
163 |
;; |
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
164 |
esac |
23138 | 165 |
#PDF_VIEWER=acroread |
166 |
#PDF_VIEWER=evince |
|
167 |
||
15218 | 168 |
|
16186 | 169 |
# Printer spool command for PS files |
14933 | 170 |
PRINT_COMMAND=lp |
171 |
||
2294 | 172 |
|
2426 | 173 |
### |
28651 | 174 |
### Proof General / Emacs |
175 |
### |
|
176 |
||
28249 | 177 |
# Proof General home, look in a variety of places |
40545 | 178 |
PROOFGENERAL_HOME="$(choosefrom \ |
28249 | 179 |
"$ISABELLE_HOME/contrib/ProofGeneral" \ |
180 |
"$ISABELLE_HOME/../ProofGeneral" \ |
|
181 |
"/usr/local/ProofGeneral" \ |
|
182 |
"/usr/share/ProofGeneral" \ |
|
183 |
"/opt/ProofGeneral" \ |
|
40545 | 184 |
"")" |
28249 | 185 |
|
29149
eae45c2a6811
more sophisticated MacOS interface script (mostly for Carbon Emacs);
wenzelm
parents:
29145
diff
changeset
|
186 |
PROOFGENERAL_OPTIONS="" |
eae45c2a6811
more sophisticated MacOS interface script (mostly for Carbon Emacs);
wenzelm
parents:
29145
diff
changeset
|
187 |
#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
|
188 |
|
17383
3eb21fb8c2ec
no longer prefer xemacs, which fails more often than GNU emacs;
wenzelm
parents:
17119
diff
changeset
|
189 |
# Automatic setup of remote fonts |
9994 | 190 |
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200" |
28249 | 191 |
XSYMBOL_INSTALLFONTS="" |
7185 | 192 |
|
28651 | 193 |
|
194 |
### |
|
37058
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
195 |
### Rendering information |
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
196 |
### |
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
197 |
|
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
198 |
ISABELLE_FONT_FAMILY="IsabelleText" |
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
199 |
ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols" |
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
200 |
|
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
201 |
|
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
202 |
### |
7185 | 203 |
### External reasoning tools |
204 |
### |
|
205 |
||
7194 | 206 |
## Set HOME only for tools you have installed! |
7185 | 207 |
|
26212 | 208 |
# External provers |
33921
4c188a74e362
deactivated default for E_HOME, SPASS_HOME -- now configured as components;
wenzelm
parents:
33538
diff
changeset
|
209 |
#E_HOME=/usr/local/bin |
4c188a74e362
deactivated default for E_HOME, SPASS_HOME -- now configured as components;
wenzelm
parents:
33538
diff
changeset
|
210 |
#SPASS_HOME=/usr/local/bin |
4c188a74e362
deactivated default for E_HOME, SPASS_HOME -- now configured as components;
wenzelm
parents:
33538
diff
changeset
|
211 |
#VAMPIRE_HOME=/usr/local/bin |
26212 | 212 |
|
17001 | 213 |
# HOL4 proof objects (cf. Isabelle/src/HOL/Import) |
26212 | 214 |
#HOL4_PROOFS="$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs" |
17001 | 215 |
|
7185 | 216 |
# SVC (Stanford Validity Checker) |
217 |
#SVC_HOME= |
|
218 |
#SVC_MACHINE=i386-redhat-linux |
|
219 |
#SVC_MACHINE=sparc-sun-solaris |
|
7296 | 220 |
|
221 |
# Mucke (mu-calculus model checker) |
|
222 |
#MUCKE_HOME=/usr/local/bin |
|
223 |
||
224 |
# Einhoven model checker |
|
225 |
#EINDHOVEN_HOME=/usr/local/bin |
|
14451 | 226 |
|
20033 | 227 |
# MiniSat 1.14 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML) |
228 |
#MINISAT_HOME=/usr/local/bin |
|
229 |
||
17522
8d25bb07d8ed
pointers to src/HOL/Tools/sat_solver.ML added in comments
webertj
parents:
17383
diff
changeset
|
230 |
# zChaff (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML) |
15284 | 231 |
#ZCHAFF_HOME=/usr/local/bin |
14942 | 232 |
|
17522
8d25bb07d8ed
pointers to src/HOL/Tools/sat_solver.ML added in comments
webertj
parents:
17383
diff
changeset
|
233 |
# BerkMin561 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML) |
14942 | 234 |
#BERKMIN_HOME=/usr/local/bin |
235 |
#BERKMIN_EXE=BerkMin561-linux |
|
236 |
#BERKMIN_EXE=BerkMin561-solaris |
|
14943 | 237 |
|
17522
8d25bb07d8ed
pointers to src/HOL/Tools/sat_solver.ML added in comments
webertj
parents:
17383
diff
changeset
|
238 |
# Jerusat 1.3 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML) |
14943 | 239 |
#JERUSAT_HOME=/usr/local/bin |
16419 | 240 |
|
16873 | 241 |
# For configuring HOL/Matrix/cplex |
16966
37e34f315057
1. changed configuration variables for linear programming (Cplex_tools):
obua
parents:
16875
diff
changeset
|
242 |
# LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver. |
16873 | 243 |
# First option: use the commercial cplex solver |
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
244 |
#LP_SOLVER=CPLEX |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
245 |
#CPLEX_PATH=cplex |
16873 | 246 |
# Second option: use the open source glpk solver |
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
247 |
#LP_SOLVER=GLPK |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
248 |
#GLPK_PATH=glpsol |