author | wenzelm |
Fri, 17 Jun 2005 17:06:11 +0200 | |
changeset 16419 | 0c3db621bbbd |
parent 16250 | 1a91cdebd604 |
child 16775 | c1b87ef4a1c3 |
permissions | -rw-r--r-- |
10503 | 1 |
# -*- shell-script -*- |
2294 | 2 |
# $Id$ |
3 |
# |
|
2309 | 4 |
# Isabelle settings -- site defaults. |
9225 | 5 |
# Do *NOT* copy this file into your personal isabelle directory!!! |
2309 | 6 |
|
2426 | 7 |
### |
3177 | 8 |
### ML compiler settings (ESSENTIAL!) |
2426 | 9 |
### |
10 |
||
9236 | 11 |
# Note that ML_HOME specifies the location of the actual compiler |
12 |
# binaries. Do not invent new ML system names unless you know what |
|
9759 | 13 |
# you are doing. Only one of the sections below should be activated. |
2426 | 14 |
|
14461
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents:
14451
diff
changeset
|
15 |
|
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents:
14451
diff
changeset
|
16 |
# 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
|
17 |
POLYML_HOME=$(choosefrom \ |
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents:
14451
diff
changeset
|
18 |
"$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
|
19 |
"$ISABELLE_HOME/../polyml" \ |
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents:
14451
diff
changeset
|
20 |
"/usr/share/polyml" \ |
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents:
14451
diff
changeset
|
21 |
"/usr/local/polyml" \ |
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents:
14451
diff
changeset
|
22 |
"/opt/polyml") |
14447 | 23 |
|
14461
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
kleing
parents:
14451
diff
changeset
|
24 |
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
|
25 |
# 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
|
26 |
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
|
27 |
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
|
28 |
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
|
29 |
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
|
30 |
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
|
31 |
# 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
|
32 |
|
14613 | 33 |
# Poly/ML 4.0, 4.1, 4.1.x |
14447 | 34 |
# include version number, needed for choosing right options |
15734
56a807868e23
Include automatic determination of poly version.
aspinall
parents:
15717
diff
changeset
|
35 |
# If automatic setting doesn't work, use e.g. ML_VERSION=4.1.3 |
15865
222092a48131
removed --version which is not a valid polyml flag and has no effect
gagern
parents:
15846
diff
changeset
|
36 |
ML_VERSION=$(echo "OS.Process.exit OS.Process.success;" | /usr/bin/poly | sed -n 's,.*Poly/ML[ ]*\([^ ]*\)[ ]*Release,\1,p') |
15734
56a807868e23
Include automatic determination of poly version.
aspinall
parents:
15717
diff
changeset
|
37 |
ML_SYSTEM=polyml-${ML_VERSION} |
14447 | 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 |
16250 | 49 |
#SMLNJ_CYGWIN_RUNTIME=1 |
8345 | 50 |
#ML_SYSTEM=smlnj-110 |
15846 | 51 |
#ML_HOME="$ISABELLE_HOME/contrib/smlnj/bin" |
8345 | 52 |
#ML_OPTIONS="@SMLdebug=/dev/null" |
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
53 |
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX") |
5708 | 54 |
|
9252 | 55 |
# Moscow ML 2.00 or later (experimental!) |
56 |
#ML_SYSTEM=mosml |
|
15846 | 57 |
#ML_HOME="$ISABELLE_HOME/contrib/mosml/bin" |
6413 | 58 |
#ML_PLATFORM="" |
9252 | 59 |
#ML_OPTIONS="" |
5708 | 60 |
|
2294 | 61 |
|
2426 | 62 |
### |
16186 | 63 |
### Compilation options (cf. isatool usedir) |
2435 | 64 |
### |
65 |
||
14253 | 66 |
ISABELLE_USEDIR_OPTIONS="-v true" |
11569 | 67 |
|
16186 | 68 |
# Specifically for the HOL image |
69 |
HOL_USEDIR_OPTIONS="" |
|
14044
bbd2f7b00736
set HOL_PROOF_OBJECTS in settings, not makefile (makes override in user settings possible)
kleing
parents:
13920
diff
changeset
|
70 |
|
2435 | 71 |
|
72 |
### |
|
16186 | 73 |
### Document preparation (cf. isatool latex/document) |
7773 | 74 |
### |
75 |
||
76 |
ISABELLE_LATEX="latex" |
|
77 |
ISABELLE_PDFLATEX="pdflatex" |
|
7813 | 78 |
ISABELLE_BIBTEX="bibtex" |
14344 | 79 |
ISABELLE_MAKEINDEX="makeindex" |
7773 | 80 |
ISABELLE_DVIPS="dvips -D 600" |
11800 | 81 |
ISABELLE_EPSTOPDF="epstopdf" |
7773 | 82 |
|
13920 | 83 |
# Paranoia setting for strange latex installations ... |
11062 | 84 |
#unset TEXMF |
85 |
||
13920 | 86 |
# If ISABELLE_THUMBPDF is set, isatool tries to |
87 |
# generate thumbnails for proof documents |
|
11062 | 88 |
#type -path thumbpdf >/dev/null && ISABELLE_THUMBPDF="thumbpdf" |
7864 | 89 |
|
7773 | 90 |
|
91 |
### |
|
2968 | 92 |
### Misc path settings |
2426 | 93 |
### |
2294 | 94 |
|
2426 | 95 |
# The place for user configuration, heap files, etc. |
96 |
ISABELLE_HOME_USER=~/isabelle |
|
2294 | 97 |
|
3177 | 98 |
# 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
|
99 |
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools" |
2786 | 100 |
|
4334 | 101 |
# 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
|
102 |
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER" |
4334 | 103 |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
104 |
# 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
|
105 |
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps" |
2780 | 106 |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
107 |
# Heap output location. ML system identifier is appended automatically later on. |
15846 | 108 |
if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then |
109 |
#Isabelle build tells us to store heaps etc. within the distribution. |
|
110 |
ISABELLE_OUTPUT="$ISABELLE_HOME/heaps" |
|
111 |
ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info" |
|
112 |
else |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
113 |
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps" |
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
114 |
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info" |
15846 | 115 |
fi |
2780 | 116 |
|
16186 | 117 |
# Site settings check -- just to make it a little bit harder to copy this file verbatim! |
9225 | 118 |
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \ |
119 |
{ echo >&2 "### Isabelle site settings already present! Maybe copied etc/settings in full?"; } |
|
120 |
||
13920 | 121 |
|
122 |
### |
|
16186 | 123 |
### default logic (users may want to override this in their own settings file) |
13920 | 124 |
### |
16186 | 125 |
|
3184 | 126 |
ISABELLE_LOGIC=HOL |
2294 | 127 |
|
2786 | 128 |
|
13920 | 129 |
### |
130 |
### Docs |
|
131 |
### |
|
2294 | 132 |
|
16186 | 133 |
# 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
|
134 |
ISABELLE_DOCS="$ISABELLE_HOME/doc" |
2345 | 135 |
|
16186 | 136 |
# Preferred document format |
15703 | 137 |
ISABELLE_DOC_FORMAT=pdf |
138 |
||
16186 | 139 |
# The dvi file viewer |
3062 | 140 |
DVI_VIEWER=xdvi |
2426 | 141 |
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5" |
11103 | 142 |
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7" |
2476 | 143 |
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10" |
3062 | 144 |
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9" |
2345 | 145 |
|
16186 | 146 |
# The pdf file viewer |
15218 | 147 |
PDF_VIEWER=acroread |
148 |
#PDF_VIEWER=xpdf |
|
16186 | 149 |
#PDF_VIEWER=open #best for Mac users: will open in default PDF viewer |
15218 | 150 |
|
16186 | 151 |
# Printer spool command for PS files |
14933 | 152 |
PRINT_COMMAND=lp |
153 |
||
2294 | 154 |
|
2426 | 155 |
### |
156 |
### Interfaces |
|
157 |
### |
|
158 |
||
13920 | 159 |
# ISABELLE_INTERFACE is the program which is run by the Isabelle command |
160 |
||
161 |
# 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
|
162 |
ISABELLE_INTERFACE=none |
2294 | 163 |
|
13920 | 164 |
# Proof General path, look in a variety of places |
15779
aed221aff642
Removed remaining references to Main.thy in reconstruction code.
quigley
parents:
15734
diff
changeset
|
165 |
ISABELLE_INTERFACE=$(choosefrom\ |
9679 | 166 |
"$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \ |
167 |
"$ISABELLE_HOME/../ProofGeneral/isar/interface" \ |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
168 |
"/usr/share/ProofGeneral/isar/interface" \ |
9948 | 169 |
"/usr/local/ProofGeneral/isar/interface" \ |
10070 | 170 |
"/opt/ProofGeneral/isar/interface" \ |
9956
e75e6a603e71
added /usr/share/emacs/ProofGeneral/isar/interface choice;
wenzelm
parents:
9948
diff
changeset
|
171 |
"/usr/share/emacs/ProofGeneral/isar/interface" \ |
9679 | 172 |
"$ISABELLE_INTERFACE") |
13920 | 173 |
|
174 |
# Options to pass to Isabelle command when PG is selected as interface |
|
5964 | 175 |
PROOFGENERAL_OPTIONS="" |
11981 | 176 |
#PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true" |
7185 | 177 |
|
13920 | 178 |
# try xemacs first, else emacs |
12476 | 179 |
type -path xemacs >/dev/null || PROOFGENERAL_OPTIONS="-p emacs $PROOFGENERAL_OPTIONS" |
180 |
||
181 |
||
13920 | 182 |
# X-Symbol installation location (for Proof General, obsolete for PG >= 3.5) |
9679 | 183 |
XSYMBOL_HOME=$(choosefrom \ |
184 |
"$ISABELLE_HOME/contrib/x-symbol" \ |
|
185 |
"$ISABELLE_HOME/../x-symbol" \ |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
186 |
"/usr/share/x-symbol" \ |
9948 | 187 |
"/usr/local/x-symbol" \ |
10070 | 188 |
"/opt/x-symbol" \ |
9679 | 189 |
"") |
13920 | 190 |
|
191 |
# Executed before xemacs with ProofGeneral is called. |
|
192 |
# Required for remote fonts only. |
|
9994 | 193 |
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200" |
9569 | 194 |
|
7185 | 195 |
|
196 |
### |
|
197 |
### External reasoning tools |
|
198 |
### |
|
199 |
||
7194 | 200 |
## Set HOME only for tools you have installed! |
7185 | 201 |
|
202 |
# SVC (Stanford Validity Checker) |
|
203 |
#SVC_HOME= |
|
204 |
#SVC_MACHINE=i386-redhat-linux |
|
205 |
#SVC_MACHINE=sparc-sun-solaris |
|
7296 | 206 |
|
207 |
# Mucke (mu-calculus model checker) |
|
208 |
#MUCKE_HOME=/usr/local/bin |
|
209 |
||
210 |
# Einhoven model checker |
|
211 |
#EINDHOVEN_HOME=/usr/local/bin |
|
14451 | 212 |
|
15331 | 213 |
# zChaff (SAT Solver) |
15284 | 214 |
#ZCHAFF_HOME=/usr/local/bin |
15331 | 215 |
#ZCHAFF_VERSION=2004.5.13 |
216 |
#ZCHAFF_VERSION=2004.11.15 |
|
14942 | 217 |
|
218 |
# BerkMin561 (SAT Solver) |
|
219 |
#BERKMIN_HOME=/usr/local/bin |
|
220 |
#BERKMIN_EXE=BerkMin561-linux |
|
221 |
#BERKMIN_EXE=BerkMin561-solaris |
|
14943 | 222 |
|
223 |
# Jerusat 1.3 (SAT Solver) |
|
224 |
#JERUSAT_HOME=/usr/local/bin |
|
16419 | 225 |
|
226 |
# HOL4 proof objects (cf. Isabelle/src/HOL/Import) |
|
227 |
HOL4_PROOFS="$PROOF_DIRS:$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs" |