author | wenzelm |
Mon, 21 Jan 2002 15:29:06 +0100 | |
changeset 12828 | 57fb9d1ee34a |
parent 12752 | f80407a8deda |
child 12998 | 03b9afa801df |
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 |
|
12828 | 17 |
# Poly/ML 3.x, 4.0, 4.1, 4.1.1, 4.1.2 |
10205
7f3d844c9512
even smarter setup for several installations of Poly/ML 3.x and 4.0;
wenzelm
parents:
10070
diff
changeset
|
18 |
if [ -e /usr/bin/poly -a -e /usr/lib/poly ]; then |
12828 | 19 |
#maybe a shrink-wrapped polyml-4.1.2 on x86-linux ... |
20 |
ML_SYSTEM=polyml-4.1.2 |
|
10205
7f3d844c9512
even smarter setup for several installations of Poly/ML 3.x and 4.0;
wenzelm
parents:
10070
diff
changeset
|
21 |
ML_PLATFORM=x86-linux |
7f3d844c9512
even smarter setup for several installations of Poly/ML 3.x and 4.0;
wenzelm
parents:
10070
diff
changeset
|
22 |
ML_HOME=/usr/bin |
7f3d844c9512
even smarter setup for several installations of Poly/ML 3.x and 4.0;
wenzelm
parents:
10070
diff
changeset
|
23 |
ML_DBASE=/usr/lib/poly/ML_dbase |
12752 | 24 |
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
|
25 |
else |
7f3d844c9512
even smarter setup for several installations of Poly/ML 3.x and 4.0;
wenzelm
parents:
10070
diff
changeset
|
26 |
#... or rather a self-contained multi-platform installation |
7f3d844c9512
even smarter setup for several installations of Poly/ML 3.x and 4.0;
wenzelm
parents:
10070
diff
changeset
|
27 |
POLYML_HOME=$(choosefrom \ |
7f3d844c9512
even smarter setup for several installations of Poly/ML 3.x and 4.0;
wenzelm
parents:
10070
diff
changeset
|
28 |
"$ISABELLE_HOME/contrib/polyml" \ |
7f3d844c9512
even smarter setup for several installations of Poly/ML 3.x and 4.0;
wenzelm
parents:
10070
diff
changeset
|
29 |
"$ISABELLE_HOME/../polyml" \ |
7f3d844c9512
even smarter setup for several installations of Poly/ML 3.x and 4.0;
wenzelm
parents:
10070
diff
changeset
|
30 |
"/usr/share/polyml" \ |
7f3d844c9512
even smarter setup for several installations of Poly/ML 3.x and 4.0;
wenzelm
parents:
10070
diff
changeset
|
31 |
"/usr/local/polyml" \ |
7f3d844c9512
even smarter setup for several installations of Poly/ML 3.x and 4.0;
wenzelm
parents:
10070
diff
changeset
|
32 |
"/opt/polyml") |
7f3d844c9512
even smarter setup for several installations of Poly/ML 3.x and 4.0;
wenzelm
parents:
10070
diff
changeset
|
33 |
ML_SYSTEM=$("$POLYML_HOME/bin/polyml-version" 2>/dev/null || echo polyml) |
10503 | 34 |
ML_PLATFORM=$("$POLYML_HOME/bin/polyml-platform" 2>/dev/null || echo unknown-platform) |
10205
7f3d844c9512
even smarter setup for several installations of Poly/ML 3.x and 4.0;
wenzelm
parents:
10070
diff
changeset
|
35 |
ML_HOME="$POLYML_HOME/$ML_PLATFORM" |
12752 | 36 |
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
|
37 |
fi |
8345 | 38 |
|
5708 | 39 |
# Standard ML of New Jersey 110 or later |
8345 | 40 |
#ML_SYSTEM=smlnj-110 |
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
41 |
#ML_HOME="$ISABELLE_HOME/../smlnj/bin" |
8345 | 42 |
#ML_OPTIONS="@SMLdebug=/dev/null" |
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
43 |
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX") |
5708 | 44 |
|
11062 | 45 |
# MLWorks 2.0 |
46 |
#ML_SYSTEM=mlworks |
|
47 |
#ML_HOME="$ISABELLE_HOME/../mlworks/bin" |
|
48 |
#ML_OPTIONS="" |
|
49 |
#ML_PLATFORM="" |
|
50 |
||
9252 | 51 |
# Moscow ML 2.00 or later (experimental!) |
52 |
#ML_SYSTEM=mosml |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
53 |
#ML_HOME="$ISABELLE_HOME/../mosml/bin" |
6413 | 54 |
#ML_PLATFORM="" |
9252 | 55 |
#ML_OPTIONS="" |
5708 | 56 |
|
2426 | 57 |
# Standard ML of New Jersey 0.93 |
58 |
#ML_SYSTEM=smlnj-0.93 |
|
59 |
#ML_HOME=/usr/local/ldist/DIR/sml-0.93/src |
|
60 |
#ML_OPTIONS="" |
|
6413 | 61 |
#ML_PLATFORM="" |
2426 | 62 |
|
2294 | 63 |
|
2426 | 64 |
### |
3177 | 65 |
### Compilation options |
2435 | 66 |
### |
67 |
||
11569 | 68 |
ISABELLE_USEDIR_OPTIONS="" |
69 |
||
70 |
# Default for precompiled distribution ... |
|
71 |
#ISABELLE_USEDIR_OPTIONS="-i true -d pdf -p 2" |
|
2435 | 72 |
|
73 |
||
74 |
### |
|
7773 | 75 |
### Document preparation |
76 |
### |
|
77 |
||
78 |
ISABELLE_LATEX="latex" |
|
79 |
ISABELLE_PDFLATEX="pdflatex" |
|
7813 | 80 |
ISABELLE_BIBTEX="bibtex" |
7773 | 81 |
ISABELLE_DVIPS="dvips -D 600" |
11800 | 82 |
ISABELLE_EPSTOPDF="epstopdf" |
7773 | 83 |
|
11062 | 84 |
# Paranoia setting ... |
85 |
#unset TEXMF |
|
86 |
||
7873 | 87 |
# The thumbpdf tool is probably not generally available ... |
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 |
|
2786 | 104 |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
105 |
# 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
|
106 |
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps" |
2780 | 107 |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
108 |
# Heap output location. ML system identifier is appended automatically later on. |
2780 | 109 |
if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then |
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
110 |
#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
|
111 |
ISABELLE_OUTPUT="$ISABELLE_HOME/heaps" |
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
112 |
ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info" |
2780 | 113 |
else |
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
114 |
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps" |
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
115 |
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info" |
2780 | 116 |
fi |
117 |
||
9225 | 118 |
# Site settings check -- just to make it a little bit harder to copy this file! |
119 |
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \ |
|
120 |
{ echo >&2 "### Isabelle site settings already present! Maybe copied etc/settings in full?"; } |
|
121 |
||
12546 | 122 |
# Users may want to override this. |
3184 | 123 |
ISABELLE_LOGIC=HOL |
2294 | 124 |
|
2786 | 125 |
|
126 |
## Docs |
|
2294 | 127 |
|
3177 | 128 |
#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
|
129 |
ISABELLE_DOCS="$ISABELLE_HOME/doc" |
2345 | 130 |
|
3177 | 131 |
#The dvi file viewer |
3062 | 132 |
DVI_VIEWER=xdvi |
2426 | 133 |
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5" |
11103 | 134 |
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7" |
2476 | 135 |
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10" |
3062 | 136 |
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9" |
2345 | 137 |
|
2294 | 138 |
|
2426 | 139 |
### |
140 |
### Interfaces |
|
141 |
### |
|
142 |
||
12476 | 143 |
# 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
|
144 |
ISABELLE_INTERFACE=none |
2294 | 145 |
|
3303 | 146 |
# Emacs running Isamode. |
2968 | 147 |
#ISABELLE_INTERFACE=emacs |
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
148 |
ISAMODE_HOME="$ISABELLE_HOME/contrib/Isamode" |
5964 | 149 |
ISAMODE_OPTIONS="" |
150 |
||
9679 | 151 |
# Proof General |
152 |
ISABELLE_INTERFACE=$(choosefrom \ |
|
153 |
"$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \ |
|
154 |
"$ISABELLE_HOME/../ProofGeneral/isar/interface" \ |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
155 |
"/usr/share/ProofGeneral/isar/interface" \ |
9948 | 156 |
"/usr/local/ProofGeneral/isar/interface" \ |
10070 | 157 |
"/opt/ProofGeneral/isar/interface" \ |
9956
e75e6a603e71
added /usr/share/emacs/ProofGeneral/isar/interface choice;
wenzelm
parents:
9948
diff
changeset
|
158 |
"/usr/share/emacs/ProofGeneral/isar/interface" \ |
9679 | 159 |
"$ISABELLE_INTERFACE") |
5964 | 160 |
PROOFGENERAL_OPTIONS="" |
11981 | 161 |
#PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true" |
7185 | 162 |
|
12476 | 163 |
type -path xemacs >/dev/null || PROOFGENERAL_OPTIONS="-p emacs $PROOFGENERAL_OPTIONS" |
164 |
||
165 |
||
9759 | 166 |
# X-Symbol mode for Proof General |
9679 | 167 |
XSYMBOL_HOME=$(choosefrom \ |
168 |
"$ISABELLE_HOME/contrib/x-symbol" \ |
|
169 |
"$ISABELLE_HOME/../x-symbol" \ |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
170 |
"/usr/share/x-symbol" \ |
9948 | 171 |
"/usr/local/x-symbol" \ |
10070 | 172 |
"/opt/x-symbol" \ |
9679 | 173 |
"") |
11062 | 174 |
# Required for remote fonts only ... |
9994 | 175 |
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200" |
9569 | 176 |
|
7185 | 177 |
|
178 |
### |
|
179 |
### External reasoning tools |
|
180 |
### |
|
181 |
||
7194 | 182 |
## Set HOME only for tools you have installed! |
7185 | 183 |
|
184 |
# SVC (Stanford Validity Checker) |
|
185 |
#SVC_HOME= |
|
186 |
#SVC_MACHINE=i386-redhat-linux |
|
187 |
#SVC_MACHINE=sparc-sun-solaris |
|
7296 | 188 |
|
189 |
# Mucke (mu-calculus model checker) |
|
190 |
#MUCKE_HOME=/usr/local/bin |
|
191 |
||
192 |
# Einhoven model checker |
|
193 |
#EINDHOVEN_HOME=/usr/local/bin |