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