author | webertj |
Tue, 15 Jun 2004 00:50:10 +0200 | |
changeset 14943 | ffdb22cf6f67 |
parent 14942 | 78ddcbebace1 |
child 14981 | e73f8140af78 |
permissions | -rw-r--r-- |
10503 | 1 |
# -*- shell-script -*- |
2294 | 2 |
# $Id$ |
9818 | 3 |
# Author: Markus Wenzel, TU Muenchen |
4 |
# License: GPL (GNU GENERAL PUBLIC LICENSE) |
|
2294 | 5 |
# |
2309 | 6 |
# Isabelle settings -- site defaults. |
9225 | 7 |
# Do *NOT* copy this file into your personal isabelle directory!!! |
2309 | 8 |
|
2426 | 9 |
### |
3177 | 10 |
### ML compiler settings (ESSENTIAL!) |
2426 | 11 |
### |
12 |
||
9236 | 13 |
# Note that ML_HOME specifies the location of the actual compiler |
14 |
# binaries. Do not invent new ML system names unless you know what |
|
9759 | 15 |
# you are doing. Only one of the sections below should be activated. |
2426 | 16 |
|
14461
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents:
14451
diff
changeset
|
17 |
|
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents:
14451
diff
changeset
|
18 |
# try finding the poly packages from the Isabelle site in the usual places |
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents:
14451
diff
changeset
|
19 |
POLYML_HOME=$(choosefrom \ |
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents:
14451
diff
changeset
|
20 |
"$ISABELLE_HOME/contrib/polyml" \ |
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents:
14451
diff
changeset
|
21 |
"$ISABELLE_HOME/../polyml" \ |
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents:
14451
diff
changeset
|
22 |
"/usr/share/polyml" \ |
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents:
14451
diff
changeset
|
23 |
"/usr/local/polyml" \ |
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents:
14451
diff
changeset
|
24 |
"/opt/polyml") |
14447 | 25 |
|
14461
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents:
14451
diff
changeset
|
26 |
if [ -n "$POLYML_HOME" -a -e "$POLYML_HOME/bin/polyml-version" ]; then |
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents:
14451
diff
changeset
|
27 |
# looks like Isabelle poly packages |
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents:
14451
diff
changeset
|
28 |
ML_SYSTEM=$("$POLYML_HOME/bin/polyml-version" 2>/dev/null || echo polyml) |
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents:
14451
diff
changeset
|
29 |
ML_PLATFORM=$("$POLYML_HOME/bin/polyml-platform" 2>/dev/null || echo unknown-platform) |
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents:
14451
diff
changeset
|
30 |
ML_HOME="$POLYML_HOME/$ML_PLATFORM" |
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents:
14451
diff
changeset
|
31 |
ML_OPTIONS="-h 15000" |
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents:
14451
diff
changeset
|
32 |
elif [ -e /usr/bin/poly -a -e /usr/lib/poly ]; then |
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents:
14451
diff
changeset
|
33 |
# maybe a shrink-wrapped polyml on x86-linux ... |
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents:
14451
diff
changeset
|
34 |
|
14613 | 35 |
# Poly/ML 4.0, 4.1, 4.1.x |
14447 | 36 |
# include version number, needed for choosing right options |
37 |
ML_SYSTEM=polyml-4.1.3 |
|
38 |
# processor/OS type |
|
10205
7f3d844c9512
even smarter setup for several installations of Poly/ML 3.x and 4.0;
wenzelm
parents:
10070
diff
changeset
|
39 |
ML_PLATFORM=x86-linux |
14447 | 40 |
# where to find binaries |
10205
7f3d844c9512
even smarter setup for several installations of Poly/ML 3.x and 4.0;
wenzelm
parents:
10070
diff
changeset
|
41 |
ML_HOME=/usr/bin |
14447 | 42 |
# where to find the standard database |
10205
7f3d844c9512
even smarter setup for several installations of Poly/ML 3.x and 4.0;
wenzelm
parents:
10070
diff
changeset
|
43 |
ML_DBASE=/usr/lib/poly/ML_dbase |
14447 | 44 |
# options to pass to poly |
12752 | 45 |
ML_OPTIONS="-h 15000" |
10205
7f3d844c9512
even smarter setup for several installations of Poly/ML 3.x and 4.0;
wenzelm
parents:
10070
diff
changeset
|
46 |
fi |
8345 | 47 |
|
5708 | 48 |
# Standard ML of New Jersey 110 or later |
8345 | 49 |
#ML_SYSTEM=smlnj-110 |
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
50 |
#ML_HOME="$ISABELLE_HOME/../smlnj/bin" |
8345 | 51 |
#ML_OPTIONS="@SMLdebug=/dev/null" |
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
52 |
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX") |
5708 | 53 |
|
9252 | 54 |
# Moscow ML 2.00 or later (experimental!) |
55 |
#ML_SYSTEM=mosml |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
56 |
#ML_HOME="$ISABELLE_HOME/../mosml/bin" |
6413 | 57 |
#ML_PLATFORM="" |
9252 | 58 |
#ML_OPTIONS="" |
5708 | 59 |
|
2294 | 60 |
|
2426 | 61 |
### |
13920 | 62 |
### Compilation options for isatool usedir |
63 |
### (as on command line) |
|
2435 | 64 |
### |
65 |
||
14253 | 66 |
ISABELLE_USEDIR_OPTIONS="-v true" |
11569 | 67 |
|
14044
bbd2f7b00736
set HOL_PROOF_OBJECTS in settings, not makefile (makes override in user settings possible)
kleing
parents:
13920
diff
changeset
|
68 |
# for overriding proof objects in HOL image |
bbd2f7b00736
set HOL_PROOF_OBJECTS in settings, not makefile (makes override in user settings possible)
kleing
parents:
13920
diff
changeset
|
69 |
HOL_PROOF_OBJECTS="" |
bbd2f7b00736
set HOL_PROOF_OBJECTS in settings, not makefile (makes override in user settings possible)
kleing
parents:
13920
diff
changeset
|
70 |
|
2435 | 71 |
|
72 |
### |
|
7773 | 73 |
### Document preparation |
74 |
### |
|
75 |
||
13920 | 76 |
# latex command for isatool latex/document |
7773 | 77 |
ISABELLE_LATEX="latex" |
13920 | 78 |
|
79 |
# pdflatex command for isatool latex/document |
|
7773 | 80 |
ISABELLE_PDFLATEX="pdflatex" |
13920 | 81 |
|
82 |
# bibtex command for isatool latex/document |
|
7813 | 83 |
ISABELLE_BIBTEX="bibtex" |
13920 | 84 |
|
14344 | 85 |
# makeindex command for isatool latex/document |
86 |
ISABELLE_MAKEINDEX="makeindex" |
|
87 |
||
13920 | 88 |
# dvips command for isatool latex/document |
7773 | 89 |
ISABELLE_DVIPS="dvips -D 600" |
13920 | 90 |
|
91 |
# epstopdf command for isatool latex/document |
|
11800 | 92 |
ISABELLE_EPSTOPDF="epstopdf" |
7773 | 93 |
|
13920 | 94 |
# Paranoia setting for strange latex installations ... |
11062 | 95 |
#unset TEXMF |
96 |
||
13920 | 97 |
# If ISABELLE_THUMBPDF is set, isatool tries to |
98 |
# generate thumbnails for proof documents |
|
99 |
# |
|
100 |
# probably not generally available ... |
|
11062 | 101 |
#type -path thumbpdf >/dev/null && ISABELLE_THUMBPDF="thumbpdf" |
7864 | 102 |
|
7773 | 103 |
|
104 |
### |
|
2968 | 105 |
### Misc path settings |
2426 | 106 |
### |
2294 | 107 |
|
2426 | 108 |
# The place for user configuration, heap files, etc. |
109 |
ISABELLE_HOME_USER=~/isabelle |
|
2294 | 110 |
|
3177 | 111 |
# 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
|
112 |
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools" |
2786 | 113 |
|
4334 | 114 |
# 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
|
115 |
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER" |
4334 | 116 |
|
2786 | 117 |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
118 |
# 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
|
119 |
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps" |
2780 | 120 |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
121 |
# Heap output location. ML system identifier is appended automatically later on. |
2780 | 122 |
if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then |
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
123 |
#Isabelle build tells us to store heaps etc. within the distribution. |
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
124 |
ISABELLE_OUTPUT="$ISABELLE_HOME/heaps" |
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
125 |
ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info" |
2780 | 126 |
else |
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
127 |
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps" |
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
128 |
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info" |
2780 | 129 |
fi |
130 |
||
9225 | 131 |
# Site settings check -- just to make it a little bit harder to copy this file! |
132 |
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \ |
|
133 |
{ echo >&2 "### Isabelle site settings already present! Maybe copied etc/settings in full?"; } |
|
134 |
||
13920 | 135 |
|
136 |
### |
|
137 |
### default logic, users may want to override this. |
|
138 |
### |
|
3184 | 139 |
ISABELLE_LOGIC=HOL |
2294 | 140 |
|
2786 | 141 |
|
13920 | 142 |
### |
143 |
### Docs |
|
144 |
### |
|
2294 | 145 |
|
3177 | 146 |
#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
|
147 |
ISABELLE_DOCS="$ISABELLE_HOME/doc" |
2345 | 148 |
|
3177 | 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 |
|
14933 | 156 |
#Printer spool command for PS files |
157 |
PRINT_COMMAND=lp |
|
158 |
||
2294 | 159 |
|
2426 | 160 |
### |
161 |
### Interfaces |
|
162 |
### |
|
163 |
||
13920 | 164 |
# ISABELLE_INTERFACE is the program which is run by the Isabelle command |
165 |
||
166 |
# 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
|
167 |
ISABELLE_INTERFACE=none |
2294 | 168 |
|
13920 | 169 |
# Emacs running (obsolete) Isamode. |
2968 | 170 |
#ISABELLE_INTERFACE=emacs |
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
171 |
ISAMODE_HOME="$ISABELLE_HOME/contrib/Isamode" |
5964 | 172 |
ISAMODE_OPTIONS="" |
173 |
||
13920 | 174 |
# Proof General path, look in a variety of places |
9679 | 175 |
ISABELLE_INTERFACE=$(choosefrom \ |
176 |
"$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \ |
|
177 |
"$ISABELLE_HOME/../ProofGeneral/isar/interface" \ |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
178 |
"/usr/share/ProofGeneral/isar/interface" \ |
9948 | 179 |
"/usr/local/ProofGeneral/isar/interface" \ |
10070 | 180 |
"/opt/ProofGeneral/isar/interface" \ |
9956
e75e6a603e71
added /usr/share/emacs/ProofGeneral/isar/interface choice;
wenzelm
parents:
9948
diff
changeset
|
181 |
"/usr/share/emacs/ProofGeneral/isar/interface" \ |
9679 | 182 |
"$ISABELLE_INTERFACE") |
13920 | 183 |
|
184 |
# Options to pass to Isabelle command when PG is selected as interface |
|
5964 | 185 |
PROOFGENERAL_OPTIONS="" |
11981 | 186 |
#PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true" |
7185 | 187 |
|
13920 | 188 |
# try xemacs first, else emacs |
12476 | 189 |
type -path xemacs >/dev/null || PROOFGENERAL_OPTIONS="-p emacs $PROOFGENERAL_OPTIONS" |
190 |
||
191 |
||
13920 | 192 |
# X-Symbol installation location (for Proof General, obsolete for PG >= 3.5) |
9679 | 193 |
XSYMBOL_HOME=$(choosefrom \ |
194 |
"$ISABELLE_HOME/contrib/x-symbol" \ |
|
195 |
"$ISABELLE_HOME/../x-symbol" \ |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
196 |
"/usr/share/x-symbol" \ |
9948 | 197 |
"/usr/local/x-symbol" \ |
10070 | 198 |
"/opt/x-symbol" \ |
9679 | 199 |
"") |
13920 | 200 |
|
201 |
# Executed before xemacs with ProofGeneral is called. |
|
202 |
# Required for remote fonts only. |
|
9994 | 203 |
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200" |
9569 | 204 |
|
7185 | 205 |
|
206 |
### |
|
207 |
### External reasoning tools |
|
208 |
### |
|
209 |
||
7194 | 210 |
## Set HOME only for tools you have installed! |
7185 | 211 |
|
212 |
# SVC (Stanford Validity Checker) |
|
213 |
#SVC_HOME= |
|
214 |
#SVC_MACHINE=i386-redhat-linux |
|
215 |
#SVC_MACHINE=sparc-sun-solaris |
|
7296 | 216 |
|
217 |
# Mucke (mu-calculus model checker) |
|
218 |
#MUCKE_HOME=/usr/local/bin |
|
219 |
||
220 |
# Einhoven model checker |
|
221 |
#EINDHOVEN_HOME=/usr/local/bin |
|
14451 | 222 |
|
14942 | 223 |
# ZChaff, Version 2003.12.04 (SAT Solver) |
14451 | 224 |
#ZCHAFF_HOME=/usr/local/bin |
14942 | 225 |
|
226 |
# BerkMin561 (SAT Solver) |
|
227 |
#BERKMIN_HOME=/usr/local/bin |
|
228 |
#BERKMIN_EXE=BerkMin561-linux |
|
229 |
#BERKMIN_EXE=BerkMin561-solaris |
|
14943 | 230 |
|
231 |
# Jerusat 1.3 (SAT Solver) |
|
232 |
#JERUSAT_HOME=/usr/local/bin |