author | wenzelm |
Sat, 19 Nov 2005 14:21:06 +0100 | |
changeset 18209 | 6bcd9b2ca49b |
parent 17954 | 42fc2ac69c8c |
child 18987 | 61c7875a58b8 |
permissions | -rw-r--r-- |
10503 | 1 |
# -*- shell-script -*- |
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 |
|
17954
42fc2ac69c8c
added simplified settings for Poly/ML 4.x (commented out);
wenzelm
parents:
17953
diff
changeset
|
19 |
# Poly/ML 4.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") |
17005 | 30 |
ML_OPTIONS="-H 80" |
17048 | 31 |
ML_DBASE="" |
8345 | 32 |
|
17954
42fc2ac69c8c
added simplified settings for Poly/ML 4.x (commented out);
wenzelm
parents:
17953
diff
changeset
|
33 |
# Poly/ML 4.x |
42fc2ac69c8c
added simplified settings for Poly/ML 4.x (commented out);
wenzelm
parents:
17953
diff
changeset
|
34 |
#ML_PLATFORM=$("$ISABELLE_HOME/lib/scripts/polyml-platform") |
42fc2ac69c8c
added simplified settings for Poly/ML 4.x (commented out);
wenzelm
parents:
17953
diff
changeset
|
35 |
#ML_HOME="$ISABELLE_HOME/contrib/polyml/$ML_PLATFORM/$ML_PLATFORM" |
42fc2ac69c8c
added simplified settings for Poly/ML 4.x (commented out);
wenzelm
parents:
17953
diff
changeset
|
36 |
#ML_SYSTEM=$("$ISABELLE_HOME/lib/scripts/polyml-version") |
42fc2ac69c8c
added simplified settings for Poly/ML 4.x (commented out);
wenzelm
parents:
17953
diff
changeset
|
37 |
#ML_OPTIONS="-H 80" |
42fc2ac69c8c
added simplified settings for Poly/ML 4.x (commented out);
wenzelm
parents:
17953
diff
changeset
|
38 |
|
5708 | 39 |
# Standard ML of New Jersey 110 or later |
16250 | 40 |
#SMLNJ_CYGWIN_RUNTIME=1 |
8345 | 41 |
#ML_SYSTEM=smlnj-110 |
15846 | 42 |
#ML_HOME="$ISABELLE_HOME/contrib/smlnj/bin" |
8345 | 43 |
#ML_OPTIONS="@SMLdebug=/dev/null" |
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
44 |
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX") |
5708 | 45 |
|
9252 | 46 |
# Moscow ML 2.00 or later (experimental!) |
47 |
#ML_SYSTEM=mosml |
|
15846 | 48 |
#ML_HOME="$ISABELLE_HOME/contrib/mosml/bin" |
17825 | 49 |
#ML_OPTIONS="" |
6413 | 50 |
#ML_PLATFORM="" |
5708 | 51 |
|
17768
72575258a561
added Poplog/PML version 15.6/2.1 (experimental!);
wenzelm
parents:
17574
diff
changeset
|
52 |
# Poplog/PML version 15.6/2.1 (experimental!) |
72575258a561
added Poplog/PML version 15.6/2.1 (experimental!);
wenzelm
parents:
17574
diff
changeset
|
53 |
#ML_SYSTEM=poplogml |
17825 | 54 |
#ML_HOME="/usr/local/poplog/current-poplog/bin" |
17768
72575258a561
added Poplog/PML version 15.6/2.1 (experimental!);
wenzelm
parents:
17574
diff
changeset
|
55 |
#ML_OPTIONS="-noinit" |
17793 | 56 |
#ML_SUFFIX=".psv" |
17825 | 57 |
#ML_PLATFORM="" |
17768
72575258a561
added Poplog/PML version 15.6/2.1 (experimental!);
wenzelm
parents:
17574
diff
changeset
|
58 |
|
2294 | 59 |
|
2426 | 60 |
### |
16186 | 61 |
### Compilation options (cf. isatool usedir) |
2435 | 62 |
### |
63 |
||
17048 | 64 |
ISABELLE_USEDIR_OPTIONS="-v true -V outline=/proof,/ML" |
11569 | 65 |
|
16186 | 66 |
# Specifically for the HOL image |
67 |
HOL_USEDIR_OPTIONS="" |
|
14044
bbd2f7b00736
set HOL_PROOF_OBJECTS in settings, not makefile (makes override in user settings possible)
kleing
parents:
13920
diff
changeset
|
68 |
|
2435 | 69 |
|
70 |
### |
|
16186 | 71 |
### Document preparation (cf. isatool latex/document) |
7773 | 72 |
### |
73 |
||
74 |
ISABELLE_LATEX="latex" |
|
75 |
ISABELLE_PDFLATEX="pdflatex" |
|
7813 | 76 |
ISABELLE_BIBTEX="bibtex" |
14344 | 77 |
ISABELLE_MAKEINDEX="makeindex" |
7773 | 78 |
ISABELLE_DVIPS="dvips -D 600" |
11800 | 79 |
ISABELLE_EPSTOPDF="epstopdf" |
7773 | 80 |
|
13920 | 81 |
# Paranoia setting for strange latex installations ... |
11062 | 82 |
#unset TEXMF |
83 |
||
13920 | 84 |
# If ISABELLE_THUMBPDF is set, isatool tries to |
85 |
# generate thumbnails for proof documents |
|
11062 | 86 |
#type -path thumbpdf >/dev/null && ISABELLE_THUMBPDF="thumbpdf" |
7864 | 87 |
|
7773 | 88 |
|
89 |
### |
|
2968 | 90 |
### Misc path settings |
2426 | 91 |
### |
2294 | 92 |
|
2426 | 93 |
# The place for user configuration, heap files, etc. |
94 |
ISABELLE_HOME_USER=~/isabelle |
|
2294 | 95 |
|
3177 | 96 |
# 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
|
97 |
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools" |
2786 | 98 |
|
4334 | 99 |
# 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
|
100 |
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER" |
4334 | 101 |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
102 |
# Heap input locations. ML system identifier is included in lookup. |
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
103 |
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps" |
2780 | 104 |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
105 |
# Heap output location. ML system identifier is appended automatically later on. |
15846 | 106 |
if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then |
107 |
#Isabelle build tells us to store heaps etc. within the distribution. |
|
108 |
ISABELLE_OUTPUT="$ISABELLE_HOME/heaps" |
|
109 |
ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info" |
|
110 |
else |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
111 |
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps" |
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
112 |
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info" |
15846 | 113 |
fi |
2780 | 114 |
|
16186 | 115 |
# Site settings check -- just to make it a little bit harder to copy this file verbatim! |
9225 | 116 |
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \ |
117 |
{ echo >&2 "### Isabelle site settings already present! Maybe copied etc/settings in full?"; } |
|
118 |
||
13920 | 119 |
|
120 |
### |
|
16875 | 121 |
### default logic |
13920 | 122 |
### |
16186 | 123 |
|
3184 | 124 |
ISABELLE_LOGIC=HOL |
2294 | 125 |
|
2786 | 126 |
|
13920 | 127 |
### |
128 |
### Docs |
|
129 |
### |
|
2294 | 130 |
|
16186 | 131 |
# 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
|
132 |
ISABELLE_DOCS="$ISABELLE_HOME/doc" |
2345 | 133 |
|
16186 | 134 |
# Preferred document format |
15703 | 135 |
ISABELLE_DOC_FORMAT=pdf |
136 |
||
16186 | 137 |
# The dvi file viewer |
3062 | 138 |
DVI_VIEWER=xdvi |
2426 | 139 |
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5" |
11103 | 140 |
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7" |
2476 | 141 |
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10" |
3062 | 142 |
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9" |
2345 | 143 |
|
16186 | 144 |
# The pdf file viewer |
15218 | 145 |
PDF_VIEWER=acroread |
146 |
#PDF_VIEWER=xpdf |
|
16186 | 147 |
#PDF_VIEWER=open #best for Mac users: will open in default PDF viewer |
15218 | 148 |
|
16186 | 149 |
# Printer spool command for PS files |
14933 | 150 |
PRINT_COMMAND=lp |
151 |
||
2294 | 152 |
|
2426 | 153 |
### |
154 |
### Interfaces |
|
155 |
### |
|
156 |
||
13920 | 157 |
# 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
|
158 |
ISABELLE_INTERFACE=none |
2294 | 159 |
|
13920 | 160 |
# 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
|
161 |
ISABELLE_INTERFACE=$(choosefrom \ |
9679 | 162 |
"$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \ |
163 |
"$ISABELLE_HOME/../ProofGeneral/isar/interface" \ |
|
17119 | 164 |
"/usr/local/ProofGeneral/isar/interface" \ |
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
165 |
"/usr/share/ProofGeneral/isar/interface" \ |
10070 | 166 |
"/opt/ProofGeneral/isar/interface" \ |
9956
e75e6a603e71
added /usr/share/emacs/ProofGeneral/isar/interface choice;
wenzelm
parents:
9948
diff
changeset
|
167 |
"/usr/share/emacs/ProofGeneral/isar/interface" \ |
9679 | 168 |
"$ISABELLE_INTERFACE") |
13920 | 169 |
|
5964 | 170 |
PROOFGENERAL_OPTIONS="" |
17383
3eb21fb8c2ec
no longer prefer xemacs, which fails more often than GNU emacs;
wenzelm
parents:
17119
diff
changeset
|
171 |
#PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true -p xemacs" |
7185 | 172 |
|
17574
aa9d8483cabc
PROOFGENERAL_OPTIONS: smart fall-back on plain emacs (back again);
wenzelm
parents:
17522
diff
changeset
|
173 |
type -path xemacs >/dev/null || \ |
aa9d8483cabc
PROOFGENERAL_OPTIONS: smart fall-back on plain emacs (back again);
wenzelm
parents:
17522
diff
changeset
|
174 |
PROOFGENERAL_OPTIONS="-p emacs $PROOFGENERAL_OPTIONS" |
aa9d8483cabc
PROOFGENERAL_OPTIONS: smart fall-back on plain emacs (back again);
wenzelm
parents:
17522
diff
changeset
|
175 |
|
17383
3eb21fb8c2ec
no longer prefer xemacs, which fails more often than GNU emacs;
wenzelm
parents:
17119
diff
changeset
|
176 |
# Automatic setup of remote fonts |
9994 | 177 |
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200" |
9569 | 178 |
|
7185 | 179 |
|
180 |
### |
|
181 |
### External reasoning tools |
|
182 |
### |
|
183 |
||
7194 | 184 |
## Set HOME only for tools you have installed! |
7185 | 185 |
|
17001 | 186 |
# HOL4 proof objects (cf. Isabelle/src/HOL/Import) |
187 |
HOL4_PROOFS="$PROOF_DIRS:$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs" |
|
188 |
||
7185 | 189 |
# SVC (Stanford Validity Checker) |
190 |
#SVC_HOME= |
|
191 |
#SVC_MACHINE=i386-redhat-linux |
|
192 |
#SVC_MACHINE=sparc-sun-solaris |
|
7296 | 193 |
|
194 |
# Mucke (mu-calculus model checker) |
|
195 |
#MUCKE_HOME=/usr/local/bin |
|
196 |
||
197 |
# Einhoven model checker |
|
198 |
#EINDHOVEN_HOME=/usr/local/bin |
|
14451 | 199 |
|
17522
8d25bb07d8ed
pointers to src/HOL/Tools/sat_solver.ML added in comments
webertj
parents:
17383
diff
changeset
|
200 |
# zChaff (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML) |
15284 | 201 |
#ZCHAFF_HOME=/usr/local/bin |
15331 | 202 |
#ZCHAFF_VERSION=2004.5.13 |
203 |
#ZCHAFF_VERSION=2004.11.15 |
|
14942 | 204 |
|
17522
8d25bb07d8ed
pointers to src/HOL/Tools/sat_solver.ML added in comments
webertj
parents:
17383
diff
changeset
|
205 |
# BerkMin561 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML) |
14942 | 206 |
#BERKMIN_HOME=/usr/local/bin |
207 |
#BERKMIN_EXE=BerkMin561-linux |
|
208 |
#BERKMIN_EXE=BerkMin561-solaris |
|
14943 | 209 |
|
17522
8d25bb07d8ed
pointers to src/HOL/Tools/sat_solver.ML added in comments
webertj
parents:
17383
diff
changeset
|
210 |
# Jerusat 1.3 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML) |
14943 | 211 |
#JERUSAT_HOME=/usr/local/bin |
16419 | 212 |
|
16873 | 213 |
# For configuring HOL/Matrix/cplex |
16966
37e34f315057
1. changed configuration variables for linear programming (Cplex_tools):
obua
parents:
16875
diff
changeset
|
214 |
# LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver. |
16873 | 215 |
# First option: use the commercial cplex solver |
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
216 |
#LP_SOLVER=CPLEX |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
217 |
#CPLEX_PATH=cplex |
16873 | 218 |
# Second option: use the open source glpk solver |
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
219 |
#LP_SOLVER=GLPK |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
220 |
#GLPK_PATH=glpsol |
17909
7540483e9228
moved VAMPIRE_HOME, E_HOME to section "External reasoning tools" -- commented out by default!
wenzelm
parents:
17905
diff
changeset
|
221 |
|
7540483e9228
moved VAMPIRE_HOME, E_HOME to section "External reasoning tools" -- commented out by default!
wenzelm
parents:
17905
diff
changeset
|
222 |
# External provers |
7540483e9228
moved VAMPIRE_HOME, E_HOME to section "External reasoning tools" -- commented out by default!
wenzelm
parents:
17905
diff
changeset
|
223 |
#VAMPIRE_HOME=/usr/local/Vampire |
7540483e9228
moved VAMPIRE_HOME, E_HOME to section "External reasoning tools" -- commented out by default!
wenzelm
parents:
17905
diff
changeset
|
224 |
#E_HOME=/usr/local/E |