author | nipkow |
Thu, 26 Oct 2000 10:27:04 +0200 | |
changeset 10340 | 0a380ac80e7d |
parent 10205 | 7f3d844c9512 |
child 10503 | c9d087e4a5e8 |
permissions | -rw-r--r-- |
2294 | 1 |
# |
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 |
|
10205
7f3d844c9512
even smarter setup for several installations of Poly/ML 3.x and 4.0;
wenzelm
parents:
10070
diff
changeset
|
17 |
# Poly/ML 3.x and 4.0 |
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 |
7f3d844c9512
even smarter setup for several installations of Poly/ML 3.x and 4.0;
wenzelm
parents:
10070
diff
changeset
|
19 |
#maybe a shrink-wrapped polyml-4.0 on x86-linux ... |
7f3d844c9512
even smarter setup for several installations of Poly/ML 3.x and 4.0;
wenzelm
parents:
10070
diff
changeset
|
20 |
ML_SYSTEM=polyml-4.0 |
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 |
7f3d844c9512
even smarter setup for several installations of Poly/ML 3.x and 4.0;
wenzelm
parents:
10070
diff
changeset
|
24 |
ML_OPTIONS="-h 30000" |
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) |
7f3d844c9512
even smarter setup for several installations of Poly/ML 3.x and 4.0;
wenzelm
parents:
10070
diff
changeset
|
34 |
ML_PLATFORM=$("$POLYML_HOME/bin/polyml-platform" 2>/dev/null || echo platform) |
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" |
7f3d844c9512
even smarter setup for several installations of Poly/ML 3.x and 4.0;
wenzelm
parents:
10070
diff
changeset
|
36 |
ML_OPTIONS="-h 30000" |
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 |
|
9252 | 45 |
# Moscow ML 2.00 or later (experimental!) |
46 |
#ML_SYSTEM=mosml |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
47 |
#ML_HOME="$ISABELLE_HOME/../mosml/bin" |
6413 | 48 |
#ML_PLATFORM="" |
9252 | 49 |
#ML_OPTIONS="" |
5708 | 50 |
|
9252 | 51 |
# MLWorks 2.0 |
52 |
#ML_SYSTEM=mlworks |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
53 |
#ML_HOME="$ISABELLE_HOME/../mlworks/bin" |
9252 | 54 |
#ML_OPTIONS="" |
6413 | 55 |
#ML_PLATFORM="" |
2294 | 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 |
||
5387 | 68 |
ISABELLE_USEDIR_OPTIONS="-i false" |
7762
c98d70538033
ISABELLE_USEDIR_OPTIONS: -d pdf option (off by default);
wenzelm
parents:
7296
diff
changeset
|
69 |
#ISABELLE_USEDIR_OPTIONS="-i true -d pdf" |
2435 | 70 |
|
71 |
||
72 |
### |
|
7773 | 73 |
### Document preparation |
74 |
### |
|
75 |
||
76 |
TEXINPUTS="$ISABELLE_HOME/lib/texinputs:$TEXINPUTS" |
|
77 |
ISABELLE_LATEX="latex" |
|
78 |
ISABELLE_PDFLATEX="pdflatex" |
|
7813 | 79 |
ISABELLE_BIBTEX="bibtex" |
7773 | 80 |
ISABELLE_DVIPS="dvips -D 600" |
81 |
||
7873 | 82 |
# The thumbpdf tool is probably not generally available ... |
7864 | 83 |
#ISABELLE_THUMBPDF="thumbpdf" |
84 |
||
7773 | 85 |
|
86 |
### |
|
2968 | 87 |
### Misc path settings |
2426 | 88 |
### |
2294 | 89 |
|
2426 | 90 |
# The place for user configuration, heap files, etc. |
91 |
ISABELLE_HOME_USER=~/isabelle |
|
2294 | 92 |
|
3177 | 93 |
# 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
|
94 |
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools" |
2786 | 95 |
|
4334 | 96 |
# 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
|
97 |
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER" |
4334 | 98 |
|
2786 | 99 |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
100 |
# 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
|
101 |
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps" |
2780 | 102 |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
103 |
# Heap output location. ML system identifier is appended automatically later on. |
2780 | 104 |
if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then |
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
105 |
#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
|
106 |
ISABELLE_OUTPUT="$ISABELLE_HOME/heaps" |
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
107 |
ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info" |
2780 | 108 |
else |
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
109 |
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps" |
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
110 |
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info" |
2780 | 111 |
fi |
112 |
||
9225 | 113 |
# Site settings check -- just to make it a little bit harder to copy this file! |
114 |
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \ |
|
115 |
{ echo >&2 "### Isabelle site settings already present! Maybe copied etc/settings in full?"; } |
|
116 |
||
3177 | 117 |
#Users may want to change this. |
3184 | 118 |
ISABELLE_LOGIC=HOL |
2294 | 119 |
|
2786 | 120 |
|
121 |
## Docs |
|
2294 | 122 |
|
3177 | 123 |
#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
|
124 |
ISABELLE_DOCS="$ISABELLE_HOME/doc" |
2345 | 125 |
|
3177 | 126 |
#The dvi file viewer |
3062 | 127 |
DVI_VIEWER=xdvi |
2426 | 128 |
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5" |
2476 | 129 |
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10" |
3062 | 130 |
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9" |
2345 | 131 |
|
2294 | 132 |
|
3158 | 133 |
## Fonts -- how to install the Isabelle X11 fonts (can be tricky!). |
134 |
||
135 |
# (1) Get fonts from local (client side) directory: |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
136 |
ISABELLE_INSTALLFONTS="xset fp+ \"$ISABELLE_HOME/lib/fonts\"; xset fp rehash" |
3158 | 137 |
|
3689 | 138 |
# (2) Get from font server at Munich or Cambridge: |
3256 | 139 |
#ISABELLE_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200" |
3689 | 140 |
#ISABELLE_INSTALLFONTS="xset fp+ tcp/font-serv.cl.cam.ac.uk:7100" |
2577 | 141 |
|
5964 | 142 |
|
2426 | 143 |
### |
144 |
### Interfaces |
|
145 |
### |
|
146 |
||
147 |
# The null interface: pass-through to 'isabelle'. |
|
2294 | 148 |
#ISABELLE_INTERFACE=none |
149 |
||
2786 | 150 |
# Simple xterm based interface. |
2294 | 151 |
ISABELLE_INTERFACE=xterm |
5964 | 152 |
ISABELLE_XTERM_OPTIONS="" |
2968 | 153 |
|
3303 | 154 |
# Emacs running Isamode. |
2968 | 155 |
#ISABELLE_INTERFACE=emacs |
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
156 |
ISAMODE_HOME="$ISABELLE_HOME/contrib/Isamode" |
5964 | 157 |
ISAMODE_OPTIONS="" |
158 |
||
9679 | 159 |
# Proof General |
160 |
ISABELLE_INTERFACE=$(choosefrom \ |
|
161 |
"$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \ |
|
162 |
"$ISABELLE_HOME/../ProofGeneral/isar/interface" \ |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
163 |
"/usr/share/ProofGeneral/isar/interface" \ |
9948 | 164 |
"/usr/local/ProofGeneral/isar/interface" \ |
10070 | 165 |
"/opt/ProofGeneral/isar/interface" \ |
9956
e75e6a603e71
added /usr/share/emacs/ProofGeneral/isar/interface choice;
wenzelm
parents:
9948
diff
changeset
|
166 |
"/usr/share/emacs/ProofGeneral/isar/interface" \ |
9679 | 167 |
"$ISABELLE_INTERFACE") |
5964 | 168 |
PROOFGENERAL_OPTIONS="" |
7185 | 169 |
|
9759 | 170 |
# X-Symbol mode for Proof General |
9679 | 171 |
XSYMBOL_HOME=$(choosefrom \ |
172 |
"$ISABELLE_HOME/contrib/x-symbol" \ |
|
173 |
"$ISABELLE_HOME/../x-symbol" \ |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
174 |
"/usr/share/x-symbol" \ |
9948 | 175 |
"/usr/local/x-symbol" \ |
10070 | 176 |
"/opt/x-symbol" \ |
9679 | 177 |
"") |
9994 | 178 |
#required for remote fonts only ... |
179 |
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200" |
|
9569 | 180 |
|
7185 | 181 |
|
182 |
### |
|
183 |
### External reasoning tools |
|
184 |
### |
|
185 |
||
7194 | 186 |
## Set HOME only for tools you have installed! |
7185 | 187 |
|
188 |
# SVC (Stanford Validity Checker) |
|
189 |
#SVC_HOME= |
|
190 |
#SVC_MACHINE=i386-redhat-linux |
|
191 |
#SVC_MACHINE=sparc-sun-solaris |
|
7296 | 192 |
|
193 |
# Mucke (mu-calculus model checker) |
|
194 |
#MUCKE_HOME=/usr/local/bin |
|
195 |
||
196 |
# Einhoven model checker |
|
197 |
#EINDHOVEN_HOME=/usr/local/bin |