author | wenzelm |
Sun, 29 Nov 2009 17:34:41 +0100 | |
changeset 33921 | 4c188a74e362 |
parent 33538 | edf497b5b5d2 |
child 34238 | b28be884edda |
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")" |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
20 |
ML_PLATFORM=$("$ISABELLE_HOME/lib/scripts/polyml-platform") |
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 |
|
25347 | 53 |
# Moscow ML 2.00 (experimental!) |
9252 | 54 |
#ML_SYSTEM=mosml |
25347 | 55 |
#ML_HOME="/usr/local/mosml/bin" |
56 |
#ML_OPTIONS="" |
|
57 |
#ML_PLATFORM="" |
|
58 |
||
2294 | 59 |
|
2426 | 60 |
### |
27906 | 61 |
### JVM components (Scala or Java) |
62 |
### |
|
63 |
||
31918 | 64 |
ISABELLE_JAVA="java" |
27912 | 65 |
ISABELLE_SCALA="scala" |
66 |
||
31918 | 67 |
[ -z "$SCALA_HOME" ] && SCALA_HOME=$(choosefrom \ |
31923 | 68 |
"$ISABELLE_HOME/contrib/scala" \ |
69 |
"$ISABELLE_HOME/../scala" \ |
|
31918 | 70 |
"") |
31923 | 71 |
|
31918 | 72 |
[ -n "$SCALA_HOME" ] && ISABELLE_SCALA="$SCALA_HOME/bin/scala" |
27921 | 73 |
|
27906 | 74 |
classpath "$ISABELLE_HOME/lib/classes/Pure.jar" |
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 |
### Interactive sessions (cf. isabelle tty) |
25627 | 79 |
### |
80 |
||
81 |
ISABELLE_LINE_EDITOR="" |
|
26205
499f08293680
ISABELLE_LINE_EDITOR: prefer rlwrap, which passes interrupts properly;
wenzelm
parents:
25970
diff
changeset
|
82 |
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)" |
25627 | 83 |
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)" |
84 |
||
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 |
### Batch sessions (cf. isabelle usedir) |
2435 | 88 |
### |
89 |
||
32292 | 90 |
ISABELLE_USEDIR_OPTIONS="-M max -p 1 -q 2 -v true -V outline=/proof,/ML" |
11569 | 91 |
|
16186 | 92 |
# Specifically for the HOL image |
24439
f52709e5230e
HOL_USEDIR_OPTIONS: no special -M setting (now works with multithreaded);
wenzelm
parents:
24212
diff
changeset
|
93 |
HOL_USEDIR_OPTIONS="" |
32061
11f8ee55662d
parallel_proofs: more fine-grained control with optional parallel checking of nested Isar proofs;
wenzelm
parents:
31923
diff
changeset
|
94 |
#HOL_USEDIR_OPTIONS="-p 2 -q 1" |
14044
bbd2f7b00736
set HOL_PROOF_OBJECTS in settings, not makefile (makes override in user settings possible)
kleing
parents:
13920
diff
changeset
|
95 |
|
23837
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents:
23138
diff
changeset
|
96 |
#Source file identification (default: full name + date stamp) |
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents:
23138
diff
changeset
|
97 |
ISABELLE_FILE_IDENT="" |
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents:
23138
diff
changeset
|
98 |
#ISABELLE_FILE_IDENT="md5" |
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents:
23138
diff
changeset
|
99 |
#ISABELLE_FILE_IDENT="md5sum" |
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents:
23138
diff
changeset
|
100 |
#ISABELLE_FILE_IDENT="sha1sum" |
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents:
23138
diff
changeset
|
101 |
#ISABELLE_FILE_IDENT="openssl dgst -sha1" |
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents:
23138
diff
changeset
|
102 |
|
2435 | 103 |
|
104 |
### |
|
28504
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28474
diff
changeset
|
105 |
### Document preparation (cf. isabelle latex/document) |
7773 | 106 |
### |
107 |
||
108 |
ISABELLE_LATEX="latex" |
|
109 |
ISABELLE_PDFLATEX="pdflatex" |
|
7813 | 110 |
ISABELLE_BIBTEX="bibtex" |
14344 | 111 |
ISABELLE_MAKEINDEX="makeindex" |
7773 | 112 |
ISABELLE_DVIPS="dvips -D 600" |
11800 | 113 |
ISABELLE_EPSTOPDF="epstopdf" |
7773 | 114 |
|
13920 | 115 |
# Paranoia setting for strange latex installations ... |
11062 | 116 |
#unset TEXMF |
117 |
||
7773 | 118 |
|
119 |
### |
|
2968 | 120 |
### Misc path settings |
2426 | 121 |
### |
2294 | 122 |
|
2426 | 123 |
# 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
|
124 |
ISABELLE_HOME_USER=~/.isabelle |
2294 | 125 |
|
3177 | 126 |
# 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
|
127 |
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools" |
2786 | 128 |
|
4334 | 129 |
# 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
|
130 |
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER" |
4334 | 131 |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
132 |
# 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
|
133 |
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER:$ISABELLE_HOME/heaps" |
2780 | 134 |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
135 |
# Heap output location. ML system identifier is appended automatically later on. |
26212 | 136 |
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER" |
137 |
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info" |
|
2780 | 138 |
|
16186 | 139 |
# Site settings check -- just to make it a little bit harder to copy this file verbatim! |
9225 | 140 |
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \ |
141 |
{ 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
|
142 |
ISABELLE_SITE_SETTINGS_PRESENT=true |
9225 | 143 |
|
13920 | 144 |
|
145 |
### |
|
28651 | 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 |
32426 | 171 |
PDF_VIEWER="open -W -n" |
23138 | 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 |
### |
28651 | 184 |
### Proof General / Emacs |
185 |
### |
|
186 |
||
28249 | 187 |
# Proof General home, look in a variety of places |
188 |
PROOFGENERAL_HOME=$(choosefrom \ |
|
189 |
"$ISABELLE_HOME/contrib/ProofGeneral" \ |
|
190 |
"$ISABELLE_HOME/../ProofGeneral" \ |
|
191 |
"/usr/local/ProofGeneral" \ |
|
192 |
"/usr/share/ProofGeneral" \ |
|
193 |
"/opt/ProofGeneral" \ |
|
194 |
"") |
|
195 |
||
29149
eae45c2a6811
more sophisticated MacOS interface script (mostly for Carbon Emacs);
wenzelm
parents:
29145
diff
changeset
|
196 |
PROOFGENERAL_OPTIONS="" |
eae45c2a6811
more sophisticated MacOS interface script (mostly for Carbon Emacs);
wenzelm
parents:
29145
diff
changeset
|
197 |
#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
|
198 |
|
17383
3eb21fb8c2ec
no longer prefer xemacs, which fails more often than GNU emacs;
wenzelm
parents:
17119
diff
changeset
|
199 |
# Automatic setup of remote fonts |
9994 | 200 |
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200" |
28249 | 201 |
XSYMBOL_INSTALLFONTS="" |
7185 | 202 |
|
28651 | 203 |
|
204 |
### |
|
7185 | 205 |
### External reasoning tools |
206 |
### |
|
207 |
||
7194 | 208 |
## Set HOME only for tools you have installed! |
7185 | 209 |
|
26212 | 210 |
# External provers |
33921
4c188a74e362
deactivated default for E_HOME, SPASS_HOME -- now configured as components;
wenzelm
parents:
33538
diff
changeset
|
211 |
#E_HOME=/usr/local/bin |
4c188a74e362
deactivated default for E_HOME, SPASS_HOME -- now configured as components;
wenzelm
parents:
33538
diff
changeset
|
212 |
#SPASS_HOME=/usr/local/bin |
4c188a74e362
deactivated default for E_HOME, SPASS_HOME -- now configured as components;
wenzelm
parents:
33538
diff
changeset
|
213 |
#VAMPIRE_HOME=/usr/local/bin |
26212 | 214 |
|
17001 | 215 |
# HOL4 proof objects (cf. Isabelle/src/HOL/Import) |
26212 | 216 |
#HOL4_PROOFS="$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs" |
17001 | 217 |
|
7185 | 218 |
# SVC (Stanford Validity Checker) |
219 |
#SVC_HOME= |
|
220 |
#SVC_MACHINE=i386-redhat-linux |
|
221 |
#SVC_MACHINE=sparc-sun-solaris |
|
7296 | 222 |
|
223 |
# Mucke (mu-calculus model checker) |
|
224 |
#MUCKE_HOME=/usr/local/bin |
|
225 |
||
226 |
# Einhoven model checker |
|
227 |
#EINDHOVEN_HOME=/usr/local/bin |
|
14451 | 228 |
|
20033 | 229 |
# MiniSat 1.14 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML) |
230 |
#MINISAT_HOME=/usr/local/bin |
|
231 |
||
17522
8d25bb07d8ed
pointers to src/HOL/Tools/sat_solver.ML added in comments
webertj
parents:
17383
diff
changeset
|
232 |
# zChaff (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML) |
15284 | 233 |
#ZCHAFF_HOME=/usr/local/bin |
14942 | 234 |
|
17522
8d25bb07d8ed
pointers to src/HOL/Tools/sat_solver.ML added in comments
webertj
parents:
17383
diff
changeset
|
235 |
# BerkMin561 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML) |
14942 | 236 |
#BERKMIN_HOME=/usr/local/bin |
237 |
#BERKMIN_EXE=BerkMin561-linux |
|
238 |
#BERKMIN_EXE=BerkMin561-solaris |
|
14943 | 239 |
|
17522
8d25bb07d8ed
pointers to src/HOL/Tools/sat_solver.ML added in comments
webertj
parents:
17383
diff
changeset
|
240 |
# Jerusat 1.3 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML) |
14943 | 241 |
#JERUSAT_HOME=/usr/local/bin |
16419 | 242 |
|
32332 | 243 |
# CSDP (SDP Solver, cf. Isabelle/src/HOL/Library/Sum_of_Squares/sos_wrapper.ML) |
244 |
#CSDP_EXE=csdp |
|
245 |
||
16873 | 246 |
# For configuring HOL/Matrix/cplex |
16966
37e34f315057
1. changed configuration variables for linear programming (Cplex_tools):
obua
parents:
16875
diff
changeset
|
247 |
# LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver. |
16873 | 248 |
# First option: use the commercial cplex solver |
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
249 |
#LP_SOLVER=CPLEX |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
250 |
#CPLEX_PATH=cplex |
16873 | 251 |
# Second option: use the open source glpk solver |
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
252 |
#LP_SOLVER=GLPK |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
253 |
#GLPK_PATH=glpsol |