author | wenzelm |
Thu, 15 May 2008 22:02:05 +0200 | |
changeset 26917 | 1e5b8d0dd6c9 |
parent 26908 | 25fb7241f32e |
child 27202 | 1a604efd267d |
permissions | -rw-r--r-- |
24211 | 1 |
# -*- shell-script -*- :mode=shellscript: |
2294 | 2 |
# $Id$ |
3 |
# |
|
2309 | 4 |
# Isabelle settings -- site defaults. |
16875 | 5 |
# |
6 |
# Important notes: |
|
7 |
# * See the system manual for explanations on Isabelle settings |
|
8 |
# * DO NOT EDIT the repository copy of this file! |
|
9 |
# * DO NOT COPY this file into your personal isabelle directory! |
|
2309 | 10 |
|
2426 | 11 |
### |
3177 | 12 |
### ML compiler settings (ESSENTIAL!) |
2426 | 13 |
### |
14 |
||
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
15 |
# 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
|
16 |
# 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
|
17 |
# Only one of the sections below should be activated. |
14447 | 18 |
|
21812 | 19 |
# Poly/ML 4.x/5.x (automated settings) |
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
20 |
POLY_HOME="$(type -p poly)"; [ -n "$POLY_HOME" ] && POLY_HOME="$(dirname "$POLY_HOME")" |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
21 |
ML_PLATFORM=$("$ISABELLE_HOME/lib/scripts/polyml-platform") |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
22 |
ML_HOME=$(choosefrom \ |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
23 |
"$ISABELLE_HOME/contrib/polyml/$ML_PLATFORM" \ |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
24 |
"$ISABELLE_HOME/../polyml/$ML_PLATFORM" \ |
17119 | 25 |
"/usr/local/polyml/$ML_PLATFORM" \ |
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
26 |
"/usr/share/polyml/$ML_PLATFORM" \ |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
27 |
"/opt/polyml/$ML_PLATFORM" \ |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
28 |
$POLY_HOME) |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
29 |
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
|
30 |
ML_OPTIONS="-H 200" |
17048 | 31 |
ML_DBASE="" |
8345 | 32 |
|
25347 | 33 |
# Poly/ML 5.1 |
34 |
#ML_PLATFORM=x86-linux |
|
35 |
#ML_HOME=/usr/local/polyml/x86-linux |
|
36 |
#ML_SYSTEM=polyml-5.1 |
|
37 |
#ML_OPTIONS="-H 500" |
|
38 |
||
39 |
# Poly/ML 5.1 (64 bit) |
|
20764 | 40 |
#ML_PLATFORM=x86_64-linux |
41 |
#ML_HOME=/usr/local/polyml/x86_64-linux |
|
24479
b272d7998193
added POLYML_LINK_OPTIONS, which is required for unusual platforms (notably cygwin);
wenzelm
parents:
24439
diff
changeset
|
42 |
#ML_SYSTEM=polyml-5.1 |
b272d7998193
added POLYML_LINK_OPTIONS, which is required for unusual platforms (notably cygwin);
wenzelm
parents:
24439
diff
changeset
|
43 |
#ML_OPTIONS="-H 1000" |
b272d7998193
added POLYML_LINK_OPTIONS, which is required for unusual platforms (notably cygwin);
wenzelm
parents:
24439
diff
changeset
|
44 |
|
21812 | 45 |
# Poly/ML 4.2.0 |
46 |
#ML_PLATFORM=x86-linux |
|
47 |
#ML_HOME=/usr/local/polyml/x86-linux |
|
48 |
#ML_SYSTEM=polyml-4.2.0 |
|
49 |
#ML_OPTIONS="-H 80" |
|
50 |
||
25347 | 51 |
# Standard ML of New Jersey (slow!) |
8345 | 52 |
#ML_SYSTEM=smlnj-110 |
25347 | 53 |
#ML_HOME="/usr/local/smlnj/bin" |
8345 | 54 |
#ML_OPTIONS="@SMLdebug=/dev/null" |
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
55 |
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX") |
25347 | 56 |
#SMLNJ_CYGWIN_RUNTIME=1 |
5708 | 57 |
|
25347 | 58 |
# Moscow ML 2.00 (experimental!) |
9252 | 59 |
#ML_SYSTEM=mosml |
25347 | 60 |
#ML_HOME="/usr/local/mosml/bin" |
61 |
#ML_OPTIONS="" |
|
62 |
#ML_PLATFORM="" |
|
63 |
||
64 |
# Alice 1.4 (experimental!) |
|
65 |
#ML_SYSTEM=alice |
|
66 |
#ML_HOME="/usr/local/alice/bin" |
|
17825 | 67 |
#ML_OPTIONS="" |
6413 | 68 |
#ML_PLATFORM="" |
5708 | 69 |
|
17768
72575258a561
added Poplog/PML version 15.6/2.1 (experimental!);
wenzelm
parents:
17574
diff
changeset
|
70 |
# Poplog/PML version 15.6/2.1 (experimental!) |
72575258a561
added Poplog/PML version 15.6/2.1 (experimental!);
wenzelm
parents:
17574
diff
changeset
|
71 |
#ML_SYSTEM=poplogml |
17825 | 72 |
#ML_HOME="/usr/local/poplog/current-poplog/bin" |
17768
72575258a561
added Poplog/PML version 15.6/2.1 (experimental!);
wenzelm
parents:
17574
diff
changeset
|
73 |
#ML_OPTIONS="-noinit" |
17793 | 74 |
#ML_SUFFIX=".psv" |
17825 | 75 |
#ML_PLATFORM="" |
17768
72575258a561
added Poplog/PML version 15.6/2.1 (experimental!);
wenzelm
parents:
17574
diff
changeset
|
76 |
|
2294 | 77 |
|
2426 | 78 |
### |
25627 | 79 |
### Interactive sessions (cf. isatool tty) |
80 |
### |
|
81 |
||
82 |
ISABELLE_LINE_EDITOR="" |
|
26205
499f08293680
ISABELLE_LINE_EDITOR: prefer rlwrap, which passes interrupts properly;
wenzelm
parents:
25970
diff
changeset
|
83 |
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)" |
25627 | 84 |
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)" |
85 |
||
86 |
||
87 |
### |
|
88 |
### Batch sessions (cf. isatool usedir) |
|
2435 | 89 |
### |
90 |
||
23138 | 91 |
ISABELLE_USEDIR_OPTIONS="-p 1 -v true -V outline=/proof,/ML" |
11569 | 92 |
|
16186 | 93 |
# Specifically for the HOL image |
24439
f52709e5230e
HOL_USEDIR_OPTIONS: no special -M setting (now works with multithreaded);
wenzelm
parents:
24212
diff
changeset
|
94 |
HOL_USEDIR_OPTIONS="" |
f52709e5230e
HOL_USEDIR_OPTIONS: no special -M setting (now works with multithreaded);
wenzelm
parents:
24212
diff
changeset
|
95 |
#HOL_USEDIR_OPTIONS="-p 2" |
14044
bbd2f7b00736
set HOL_PROOF_OBJECTS in settings, not makefile (makes override in user settings possible)
kleing
parents:
13920
diff
changeset
|
96 |
|
23837
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents:
23138
diff
changeset
|
97 |
#Source file identification (default: full name + date stamp) |
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents:
23138
diff
changeset
|
98 |
ISABELLE_FILE_IDENT="" |
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents:
23138
diff
changeset
|
99 |
#ISABELLE_FILE_IDENT="md5" |
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents:
23138
diff
changeset
|
100 |
#ISABELLE_FILE_IDENT="md5sum" |
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents:
23138
diff
changeset
|
101 |
#ISABELLE_FILE_IDENT="sha1sum" |
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents:
23138
diff
changeset
|
102 |
#ISABELLE_FILE_IDENT="openssl dgst -sha1" |
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents:
23138
diff
changeset
|
103 |
|
2435 | 104 |
|
105 |
### |
|
16186 | 106 |
### Document preparation (cf. isatool latex/document) |
7773 | 107 |
### |
108 |
||
109 |
ISABELLE_LATEX="latex" |
|
110 |
ISABELLE_PDFLATEX="pdflatex" |
|
7813 | 111 |
ISABELLE_BIBTEX="bibtex" |
14344 | 112 |
ISABELLE_MAKEINDEX="makeindex" |
7773 | 113 |
ISABELLE_DVIPS="dvips -D 600" |
11800 | 114 |
ISABELLE_EPSTOPDF="epstopdf" |
7773 | 115 |
|
13920 | 116 |
# Paranoia setting for strange latex installations ... |
11062 | 117 |
#unset TEXMF |
118 |
||
7773 | 119 |
|
120 |
### |
|
2968 | 121 |
### Misc path settings |
2426 | 122 |
### |
2294 | 123 |
|
2426 | 124 |
# The place for user configuration, heap files, etc. |
125 |
ISABELLE_HOME_USER=~/isabelle |
|
2294 | 126 |
|
3177 | 127 |
# 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
|
128 |
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools" |
2786 | 129 |
|
4334 | 130 |
# 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
|
131 |
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER" |
4334 | 132 |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
133 |
# 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
|
134 |
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER:$ISABELLE_HOME/heaps" |
2780 | 135 |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
136 |
# Heap output location. ML system identifier is appended automatically later on. |
26212 | 137 |
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER" |
138 |
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info" |
|
2780 | 139 |
|
16186 | 140 |
# Site settings check -- just to make it a little bit harder to copy this file verbatim! |
9225 | 141 |
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \ |
142 |
{ echo >&2 "### Isabelle site settings already present! Maybe copied etc/settings in full?"; } |
|
143 |
||
13920 | 144 |
|
145 |
### |
|
16875 | 146 |
### default logic |
13920 | 147 |
### |
16186 | 148 |
|
3184 | 149 |
ISABELLE_LOGIC=HOL |
2294 | 150 |
|
2786 | 151 |
|
13920 | 152 |
### |
153 |
### Docs |
|
154 |
### |
|
2294 | 155 |
|
16186 | 156 |
# 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
|
157 |
ISABELLE_DOCS="$ISABELLE_HOME/doc" |
2345 | 158 |
|
16186 | 159 |
# Preferred document format |
15703 | 160 |
ISABELLE_DOC_FORMAT=pdf |
161 |
||
16186 | 162 |
# The dvi file viewer |
3062 | 163 |
DVI_VIEWER=xdvi |
2426 | 164 |
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5" |
11103 | 165 |
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7" |
2476 | 166 |
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10" |
3062 | 167 |
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9" |
2345 | 168 |
|
16186 | 169 |
# The pdf file viewer |
23138 | 170 |
if [ $(uname -s) = Darwin ]; then |
171 |
PDF_VIEWER=open |
|
172 |
else |
|
173 |
PDF_VIEWER=xpdf |
|
174 |
fi |
|
175 |
#PDF_VIEWER=acroread |
|
176 |
#PDF_VIEWER=evince |
|
177 |
||
15218 | 178 |
|
16186 | 179 |
# Printer spool command for PS files |
14933 | 180 |
PRINT_COMMAND=lp |
181 |
||
2294 | 182 |
|
2426 | 183 |
### |
184 |
### Interfaces |
|
185 |
### |
|
186 |
||
13920 | 187 |
# Fallback: the null interface (pass-through to raw isabelle process). |
11552
aca5398ccd35
ISABELLE_INTERFACE=none by default (cannot expect X11 everywhere);
wenzelm
parents:
11103
diff
changeset
|
188 |
ISABELLE_INTERFACE=none |
2294 | 189 |
|
13920 | 190 |
# Proof General path, look in a variety of places |
17574
aa9d8483cabc
PROOFGENERAL_OPTIONS: smart fall-back on plain emacs (back again);
wenzelm
parents:
17522
diff
changeset
|
191 |
ISABELLE_INTERFACE=$(choosefrom \ |
9679 | 192 |
"$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \ |
193 |
"$ISABELLE_HOME/../ProofGeneral/isar/interface" \ |
|
17119 | 194 |
"/usr/local/ProofGeneral/isar/interface" \ |
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
195 |
"/usr/share/ProofGeneral/isar/interface" \ |
10070 | 196 |
"/opt/ProofGeneral/isar/interface" \ |
9956
e75e6a603e71
added /usr/share/emacs/ProofGeneral/isar/interface choice;
wenzelm
parents:
9948
diff
changeset
|
197 |
"/usr/share/emacs/ProofGeneral/isar/interface" \ |
9679 | 198 |
"$ISABELLE_INTERFACE") |
13920 | 199 |
|
5964 | 200 |
PROOFGENERAL_OPTIONS="" |
25970
9053fd546501
* Default settings: PROOFGENERAL_OPTIONS no longer impose xemacs here;
wenzelm
parents:
25627
diff
changeset
|
201 |
#PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true -p emacs22" |
17574
aa9d8483cabc
PROOFGENERAL_OPTIONS: smart fall-back on plain emacs (back again);
wenzelm
parents:
17522
diff
changeset
|
202 |
|
17383
3eb21fb8c2ec
no longer prefer xemacs, which fails more often than GNU emacs;
wenzelm
parents:
17119
diff
changeset
|
203 |
# Automatic setup of remote fonts |
9994 | 204 |
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200" |
9569 | 205 |
|
7185 | 206 |
|
207 |
### |
|
208 |
### External reasoning tools |
|
209 |
### |
|
210 |
||
7194 | 211 |
## Set HOME only for tools you have installed! |
7185 | 212 |
|
26212 | 213 |
# External provers |
214 |
E_HOME=$(choosefrom "$ISABELLE_HOME/contrib/E/$ML_PLATFORM" "/usr/local/E" "") |
|
215 |
VAMPIRE_HOME=$(choosefrom "$ISABELLE_HOME/contrib/vampire/$ML_PLATFORM" "/usr/local/Vampire" "") |
|
216 |
SPASS_HOME=$(choosefrom "$ISABELLE_HOME/contrib/spass/$ML_PLATFORM/bin" "/usr/local/SPASS" "") |
|
217 |
||
17001 | 218 |
# HOL4 proof objects (cf. Isabelle/src/HOL/Import) |
26212 | 219 |
#HOL4_PROOFS="$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs" |
17001 | 220 |
|
7185 | 221 |
# SVC (Stanford Validity Checker) |
222 |
#SVC_HOME= |
|
223 |
#SVC_MACHINE=i386-redhat-linux |
|
224 |
#SVC_MACHINE=sparc-sun-solaris |
|
7296 | 225 |
|
226 |
# Mucke (mu-calculus model checker) |
|
227 |
#MUCKE_HOME=/usr/local/bin |
|
228 |
||
229 |
# Einhoven model checker |
|
230 |
#EINDHOVEN_HOME=/usr/local/bin |
|
14451 | 231 |
|
20033 | 232 |
# MiniSat 1.14 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML) |
233 |
#MINISAT_HOME=/usr/local/bin |
|
234 |
||
17522
8d25bb07d8ed
pointers to src/HOL/Tools/sat_solver.ML added in comments
webertj
parents:
17383
diff
changeset
|
235 |
# zChaff (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML) |
15284 | 236 |
#ZCHAFF_HOME=/usr/local/bin |
15331 | 237 |
#ZCHAFF_VERSION=2004.5.13 |
238 |
#ZCHAFF_VERSION=2004.11.15 |
|
14942 | 239 |
|
17522
8d25bb07d8ed
pointers to src/HOL/Tools/sat_solver.ML added in comments
webertj
parents:
17383
diff
changeset
|
240 |
# BerkMin561 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML) |
14942 | 241 |
#BERKMIN_HOME=/usr/local/bin |
242 |
#BERKMIN_EXE=BerkMin561-linux |
|
243 |
#BERKMIN_EXE=BerkMin561-solaris |
|
14943 | 244 |
|
17522
8d25bb07d8ed
pointers to src/HOL/Tools/sat_solver.ML added in comments
webertj
parents:
17383
diff
changeset
|
245 |
# Jerusat 1.3 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML) |
14943 | 246 |
#JERUSAT_HOME=/usr/local/bin |
16419 | 247 |
|
16873 | 248 |
# For configuring HOL/Matrix/cplex |
16966
37e34f315057
1. changed configuration variables for linear programming (Cplex_tools):
obua
parents:
16875
diff
changeset
|
249 |
# LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver. |
16873 | 250 |
# First option: use the commercial cplex solver |
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
251 |
#LP_SOLVER=CPLEX |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
252 |
#CPLEX_PATH=cplex |
16873 | 253 |
# Second option: use the open source glpk solver |
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
254 |
#LP_SOLVER=GLPK |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
255 |
#GLPK_PATH=glpsol |