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