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