author | bulwahn |
Wed, 21 Jul 2010 18:11:51 +0200 | |
changeset 37917 | 67ccea8a4761 |
parent 37174 | 6feaab4fc27d |
child 40387 | e4c9e0dad473 |
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) |
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
19 |
POLY_HOME="$(type -p poly)"; [ -n "$POLY_HOME" ] && POLY_HOME="$(dirname "$POLY_HOME")" |
36201
07d4f74abd12
polyml-platform script is superseded by ISABELLE_PLATFORM;
wenzelm
parents:
36193
diff
changeset
|
20 |
ML_PLATFORM="$ISABELLE_PLATFORM" |
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
21 |
ML_HOME=$(choosefrom \ |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
22 |
"$ISABELLE_HOME/contrib/polyml/$ML_PLATFORM" \ |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
23 |
"$ISABELLE_HOME/../polyml/$ML_PLATFORM" \ |
17119 | 24 |
"/usr/local/polyml/$ML_PLATFORM" \ |
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
25 |
"/usr/share/polyml/$ML_PLATFORM" \ |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
26 |
"/opt/polyml/$ML_PLATFORM" \ |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
27 |
$POLY_HOME) |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
28 |
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
|
29 |
ML_OPTIONS="-H 200" |
31436 | 30 |
ML_SOURCES="$ML_HOME/../src" |
8345 | 31 |
|
33538
edf497b5b5d2
setup for official Poly/ML 5.3.0, which is now the default;
wenzelm
parents:
33502
diff
changeset
|
32 |
# Poly/ML 5.3.0 |
25347 | 33 |
#ML_PLATFORM=x86-linux |
34 |
#ML_HOME=/usr/local/polyml/x86-linux |
|
33538
edf497b5b5d2
setup for official Poly/ML 5.3.0, which is now the default;
wenzelm
parents:
33502
diff
changeset
|
35 |
#ML_SYSTEM=polyml-5.3.0 |
25347 | 36 |
#ML_OPTIONS="-H 500" |
33538
edf497b5b5d2
setup for official Poly/ML 5.3.0, which is now the default;
wenzelm
parents:
33502
diff
changeset
|
37 |
#ML_SOURCES="$ML_HOME/../src" |
25347 | 38 |
|
33538
edf497b5b5d2
setup for official Poly/ML 5.3.0, which is now the default;
wenzelm
parents:
33502
diff
changeset
|
39 |
# Poly/ML 5.3.0 (64 bit) |
20764 | 40 |
#ML_PLATFORM=x86_64-linux |
41 |
#ML_HOME=/usr/local/polyml/x86_64-linux |
|
33538
edf497b5b5d2
setup for official Poly/ML 5.3.0, which is now the default;
wenzelm
parents:
33502
diff
changeset
|
42 |
#ML_SYSTEM=polyml-5.3.0 |
24479
b272d7998193
added POLYML_LINK_OPTIONS, which is required for unusual platforms (notably cygwin);
wenzelm
parents:
24439
diff
changeset
|
43 |
#ML_OPTIONS="-H 1000" |
31444 | 44 |
#ML_SOURCES="$ML_HOME/../src" |
45 |
||
25347 | 46 |
# Standard ML of New Jersey (slow!) |
8345 | 47 |
#ML_SYSTEM=smlnj-110 |
25347 | 48 |
#ML_HOME="/usr/local/smlnj/bin" |
33502
cf392b693385
tuned ML_OPTIONS for SML/NJ -- for improved performance;
wenzelm
parents:
32426
diff
changeset
|
49 |
#ML_OPTIONS="@SMLdebug=/dev/null @SMLalloc=256" |
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
50 |
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX") |
25347 | 51 |
#SMLNJ_CYGWIN_RUNTIME=1 |
5708 | 52 |
|
2294 | 53 |
|
2426 | 54 |
### |
27906 | 55 |
### JVM components (Scala or Java) |
56 |
### |
|
57 |
||
36212
ebfa4bb0d50f
refer to THIS_JAVA dynamically, and treat ISABELLE_JAVA as static default -- relevant for nested JVM invocation within an existing Isabelle enviroment;
wenzelm
parents:
36201
diff
changeset
|
58 |
ISABELLE_JAVA="java" |
27921 | 59 |
|
27906 | 60 |
classpath "$ISABELLE_HOME/lib/classes/Pure.jar" |
61 |
||
62 |
||
63 |
### |
|
28504
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28474
diff
changeset
|
64 |
### Interactive sessions (cf. isabelle tty) |
25627 | 65 |
### |
66 |
||
67 |
ISABELLE_LINE_EDITOR="" |
|
26205
499f08293680
ISABELLE_LINE_EDITOR: prefer rlwrap, which passes interrupts properly;
wenzelm
parents:
25970
diff
changeset
|
68 |
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)" |
25627 | 69 |
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)" |
70 |
||
71 |
||
72 |
### |
|
28504
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28474
diff
changeset
|
73 |
### Batch sessions (cf. isabelle usedir) |
2435 | 74 |
### |
75 |
||
32292 | 76 |
ISABELLE_USEDIR_OPTIONS="-M max -p 1 -q 2 -v true -V outline=/proof,/ML" |
11569 | 77 |
|
23837
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents:
23138
diff
changeset
|
78 |
#Source file identification (default: full name + date stamp) |
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents:
23138
diff
changeset
|
79 |
ISABELLE_FILE_IDENT="" |
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents:
23138
diff
changeset
|
80 |
#ISABELLE_FILE_IDENT="md5" |
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents:
23138
diff
changeset
|
81 |
#ISABELLE_FILE_IDENT="md5sum" |
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents:
23138
diff
changeset
|
82 |
#ISABELLE_FILE_IDENT="sha1sum" |
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents:
23138
diff
changeset
|
83 |
#ISABELLE_FILE_IDENT="openssl dgst -sha1" |
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents:
23138
diff
changeset
|
84 |
|
2435 | 85 |
|
86 |
### |
|
28504
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28474
diff
changeset
|
87 |
### Document preparation (cf. isabelle latex/document) |
7773 | 88 |
### |
89 |
||
90 |
ISABELLE_LATEX="latex" |
|
91 |
ISABELLE_PDFLATEX="pdflatex" |
|
7813 | 92 |
ISABELLE_BIBTEX="bibtex" |
14344 | 93 |
ISABELLE_MAKEINDEX="makeindex" |
7773 | 94 |
ISABELLE_DVIPS="dvips -D 600" |
11800 | 95 |
ISABELLE_EPSTOPDF="epstopdf" |
7773 | 96 |
|
13920 | 97 |
# Paranoia setting for strange latex installations ... |
11062 | 98 |
#unset TEXMF |
99 |
||
7773 | 100 |
|
101 |
### |
|
2968 | 102 |
### Misc path settings |
2426 | 103 |
### |
2294 | 104 |
|
2426 | 105 |
# The place for user configuration, heap files, etc. |
28914
f993cbffc42a
default for ISABELLE_HOME_USER is now ~/.isabelle instead of ~/isabelle;
wenzelm
parents:
28659
diff
changeset
|
106 |
ISABELLE_HOME_USER=~/.isabelle |
2294 | 107 |
|
3177 | 108 |
# 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
|
109 |
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools" |
2786 | 110 |
|
4334 | 111 |
# 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
|
112 |
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER" |
4334 | 113 |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
114 |
# Heap input locations. ML system identifier is included in lookup. |
21489
4ce7425c8372
ISABELLE_PATH/OUTPUT: append ISABELLE_IDENTIFIER if derived from ISABELLE_HOME_USER;
wenzelm
parents:
21171
diff
changeset
|
115 |
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER:$ISABELLE_HOME/heaps" |
2780 | 116 |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
117 |
# Heap output location. ML system identifier is appended automatically later on. |
26212 | 118 |
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER" |
119 |
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info" |
|
2780 | 120 |
|
16186 | 121 |
# Site settings check -- just to make it a little bit harder to copy this file verbatim! |
9225 | 122 |
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \ |
123 |
{ 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
|
124 |
ISABELLE_SITE_SETTINGS_PRESENT=true |
9225 | 125 |
|
13920 | 126 |
|
127 |
### |
|
28651 | 128 |
### Default logic |
13920 | 129 |
### |
16186 | 130 |
|
3184 | 131 |
ISABELLE_LOGIC=HOL |
2294 | 132 |
|
2786 | 133 |
|
13920 | 134 |
### |
135 |
### Docs |
|
136 |
### |
|
2294 | 137 |
|
16186 | 138 |
# 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
|
139 |
ISABELLE_DOCS="$ISABELLE_HOME/doc" |
2345 | 140 |
|
16186 | 141 |
# Preferred document format |
15703 | 142 |
ISABELLE_DOC_FORMAT=pdf |
143 |
||
16186 | 144 |
# The dvi file viewer |
3062 | 145 |
DVI_VIEWER=xdvi |
2426 | 146 |
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5" |
11103 | 147 |
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7" |
2476 | 148 |
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10" |
3062 | 149 |
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9" |
2345 | 150 |
|
16186 | 151 |
# The pdf file viewer |
37062
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
152 |
case "$ISABELLE_PLATFORM" in |
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
153 |
*-darwin) |
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
154 |
PDF_VIEWER="open -W -n" |
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
155 |
;; |
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
156 |
*) |
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
157 |
PDF_VIEWER=xpdf |
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
158 |
;; |
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
159 |
esac |
23138 | 160 |
#PDF_VIEWER=acroread |
161 |
#PDF_VIEWER=evince |
|
162 |
||
15218 | 163 |
|
16186 | 164 |
# Printer spool command for PS files |
14933 | 165 |
PRINT_COMMAND=lp |
166 |
||
2294 | 167 |
|
2426 | 168 |
### |
28651 | 169 |
### Proof General / Emacs |
170 |
### |
|
171 |
||
28249 | 172 |
# Proof General home, look in a variety of places |
173 |
PROOFGENERAL_HOME=$(choosefrom \ |
|
174 |
"$ISABELLE_HOME/contrib/ProofGeneral" \ |
|
175 |
"$ISABELLE_HOME/../ProofGeneral" \ |
|
176 |
"/usr/local/ProofGeneral" \ |
|
177 |
"/usr/share/ProofGeneral" \ |
|
178 |
"/opt/ProofGeneral" \ |
|
179 |
"") |
|
180 |
||
29149
eae45c2a6811
more sophisticated MacOS interface script (mostly for Carbon Emacs);
wenzelm
parents:
29145
diff
changeset
|
181 |
PROOFGENERAL_OPTIONS="" |
eae45c2a6811
more sophisticated MacOS interface script (mostly for Carbon Emacs);
wenzelm
parents:
29145
diff
changeset
|
182 |
#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
|
183 |
|
17383
3eb21fb8c2ec
no longer prefer xemacs, which fails more often than GNU emacs;
wenzelm
parents:
17119
diff
changeset
|
184 |
# Automatic setup of remote fonts |
9994 | 185 |
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200" |
28249 | 186 |
XSYMBOL_INSTALLFONTS="" |
7185 | 187 |
|
28651 | 188 |
|
189 |
### |
|
37058
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
190 |
### Rendering information |
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 |
ISABELLE_FONT_FAMILY="IsabelleText" |
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
194 |
ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols" |
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
195 |
|
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 |
### |
7185 | 198 |
### External reasoning tools |
199 |
### |
|
200 |
||
7194 | 201 |
## Set HOME only for tools you have installed! |
7185 | 202 |
|
26212 | 203 |
# External provers |
33921
4c188a74e362
deactivated default for E_HOME, SPASS_HOME -- now configured as components;
wenzelm
parents:
33538
diff
changeset
|
204 |
#E_HOME=/usr/local/bin |
4c188a74e362
deactivated default for E_HOME, SPASS_HOME -- now configured as components;
wenzelm
parents:
33538
diff
changeset
|
205 |
#SPASS_HOME=/usr/local/bin |
4c188a74e362
deactivated default for E_HOME, SPASS_HOME -- now configured as components;
wenzelm
parents:
33538
diff
changeset
|
206 |
#VAMPIRE_HOME=/usr/local/bin |
26212 | 207 |
|
17001 | 208 |
# HOL4 proof objects (cf. Isabelle/src/HOL/Import) |
26212 | 209 |
#HOL4_PROOFS="$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs" |
17001 | 210 |
|
7185 | 211 |
# SVC (Stanford Validity Checker) |
212 |
#SVC_HOME= |
|
213 |
#SVC_MACHINE=i386-redhat-linux |
|
214 |
#SVC_MACHINE=sparc-sun-solaris |
|
7296 | 215 |
|
216 |
# Mucke (mu-calculus model checker) |
|
217 |
#MUCKE_HOME=/usr/local/bin |
|
218 |
||
219 |
# Einhoven model checker |
|
220 |
#EINDHOVEN_HOME=/usr/local/bin |
|
14451 | 221 |
|
20033 | 222 |
# MiniSat 1.14 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML) |
223 |
#MINISAT_HOME=/usr/local/bin |
|
224 |
||
17522
8d25bb07d8ed
pointers to src/HOL/Tools/sat_solver.ML added in comments
webertj
parents:
17383
diff
changeset
|
225 |
# zChaff (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML) |
15284 | 226 |
#ZCHAFF_HOME=/usr/local/bin |
14942 | 227 |
|
17522
8d25bb07d8ed
pointers to src/HOL/Tools/sat_solver.ML added in comments
webertj
parents:
17383
diff
changeset
|
228 |
# BerkMin561 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML) |
14942 | 229 |
#BERKMIN_HOME=/usr/local/bin |
230 |
#BERKMIN_EXE=BerkMin561-linux |
|
231 |
#BERKMIN_EXE=BerkMin561-solaris |
|
14943 | 232 |
|
17522
8d25bb07d8ed
pointers to src/HOL/Tools/sat_solver.ML added in comments
webertj
parents:
17383
diff
changeset
|
233 |
# Jerusat 1.3 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML) |
14943 | 234 |
#JERUSAT_HOME=/usr/local/bin |
16419 | 235 |
|
32332 | 236 |
# CSDP (SDP Solver, cf. Isabelle/src/HOL/Library/Sum_of_Squares/sos_wrapper.ML) |
237 |
#CSDP_EXE=csdp |
|
238 |
||
16873 | 239 |
# For configuring HOL/Matrix/cplex |
16966
37e34f315057
1. changed configuration variables for linear programming (Cplex_tools):
obua
parents:
16875
diff
changeset
|
240 |
# LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver. |
16873 | 241 |
# First option: use the commercial cplex solver |
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
242 |
#LP_SOLVER=CPLEX |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
243 |
#CPLEX_PATH=cplex |
16873 | 244 |
# Second option: use the open source glpk solver |
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
245 |
#LP_SOLVER=GLPK |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
246 |
#GLPK_PATH=glpsol |