author | ballarin |
Mon, 08 Aug 2005 22:11:31 +0200 | |
changeset 17033 | f4c1ce91aa3c |
parent 17005 | 69c415d44883 |
child 17048 | 9aa7f0a2bbf5 |
permissions | -rw-r--r-- |
10503 | 1 |
# -*- shell-script -*- |
2294 | 2 |
# $Id$ |
3 |
# |
|
2309 | 4 |
# Isabelle settings -- site defaults. |
16875 | 5 |
# |
6 |
# Important notes: |
|
7 |
# * See the system manual for explanations on Isabelle settings |
|
8 |
# * DO NOT EDIT the repository copy of this file! |
|
9 |
# * DO NOT COPY this file into your personal isabelle directory! |
|
2309 | 10 |
|
2426 | 11 |
### |
3177 | 12 |
### ML compiler settings (ESSENTIAL!) |
2426 | 13 |
### |
14 |
||
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
15 |
# ML_HOME specifies the location of the actual compiler binaries. Do |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
16 |
# not invent new ML system names unless you know what you are doing. |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
17 |
# Only one of the sections below should be activated. |
14447 | 18 |
|
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
19 |
# Poly/ML 4.x |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
20 |
POLY_HOME="$(type -p poly)"; [ -n "$POLY_HOME" ] && POLY_HOME="$(dirname "$POLY_HOME")" |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
21 |
ML_PLATFORM=$("$ISABELLE_HOME/lib/scripts/polyml-platform") |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
22 |
ML_HOME=$(choosefrom \ |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
23 |
"$ISABELLE_HOME/contrib/polyml/$ML_PLATFORM" \ |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
24 |
"$ISABELLE_HOME/../polyml/$ML_PLATFORM" \ |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
25 |
"/usr/share/polyml/$ML_PLATFORM" \ |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
26 |
"/usr/local/polyml/$ML_PLATFORM" \ |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
27 |
"/opt/polyml/$ML_PLATFORM" \ |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
28 |
$POLY_HOME) |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
29 |
ML_SYSTEM=$("$ISABELLE_HOME/lib/scripts/polyml-version") |
17005 | 30 |
ML_OPTIONS="-H 80" |
8345 | 31 |
|
5708 | 32 |
# Standard ML of New Jersey 110 or later |
16250 | 33 |
#SMLNJ_CYGWIN_RUNTIME=1 |
8345 | 34 |
#ML_SYSTEM=smlnj-110 |
15846 | 35 |
#ML_HOME="$ISABELLE_HOME/contrib/smlnj/bin" |
8345 | 36 |
#ML_OPTIONS="@SMLdebug=/dev/null" |
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
37 |
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX") |
5708 | 38 |
|
9252 | 39 |
# Moscow ML 2.00 or later (experimental!) |
40 |
#ML_SYSTEM=mosml |
|
15846 | 41 |
#ML_HOME="$ISABELLE_HOME/contrib/mosml/bin" |
6413 | 42 |
#ML_PLATFORM="" |
9252 | 43 |
#ML_OPTIONS="" |
5708 | 44 |
|
2294 | 45 |
|
2426 | 46 |
### |
16186 | 47 |
### Compilation options (cf. isatool usedir) |
2435 | 48 |
### |
49 |
||
16875 | 50 |
ISABELLE_USEDIR_OPTIONS="-v true" |
11569 | 51 |
|
16186 | 52 |
# Specifically for the HOL image |
53 |
HOL_USEDIR_OPTIONS="" |
|
14044
bbd2f7b00736
set HOL_PROOF_OBJECTS in settings, not makefile (makes override in user settings possible)
kleing
parents:
13920
diff
changeset
|
54 |
|
2435 | 55 |
|
56 |
### |
|
16186 | 57 |
### Document preparation (cf. isatool latex/document) |
7773 | 58 |
### |
59 |
||
60 |
ISABELLE_LATEX="latex" |
|
61 |
ISABELLE_PDFLATEX="pdflatex" |
|
7813 | 62 |
ISABELLE_BIBTEX="bibtex" |
14344 | 63 |
ISABELLE_MAKEINDEX="makeindex" |
7773 | 64 |
ISABELLE_DVIPS="dvips -D 600" |
11800 | 65 |
ISABELLE_EPSTOPDF="epstopdf" |
7773 | 66 |
|
13920 | 67 |
# Paranoia setting for strange latex installations ... |
11062 | 68 |
#unset TEXMF |
69 |
||
13920 | 70 |
# If ISABELLE_THUMBPDF is set, isatool tries to |
71 |
# generate thumbnails for proof documents |
|
11062 | 72 |
#type -path thumbpdf >/dev/null && ISABELLE_THUMBPDF="thumbpdf" |
7864 | 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 |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
88 |
# 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
|
89 |
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps" |
2780 | 90 |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
91 |
# Heap output location. ML system identifier is appended automatically later on. |
15846 | 92 |
if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then |
93 |
#Isabelle build tells us to store heaps etc. within the distribution. |
|
94 |
ISABELLE_OUTPUT="$ISABELLE_HOME/heaps" |
|
95 |
ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info" |
|
96 |
else |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
97 |
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps" |
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
98 |
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info" |
15846 | 99 |
fi |
2780 | 100 |
|
16186 | 101 |
# Site settings check -- just to make it a little bit harder to copy this file verbatim! |
9225 | 102 |
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \ |
103 |
{ echo >&2 "### Isabelle site settings already present! Maybe copied etc/settings in full?"; } |
|
104 |
||
13920 | 105 |
|
106 |
### |
|
16875 | 107 |
### default logic |
13920 | 108 |
### |
16186 | 109 |
|
3184 | 110 |
ISABELLE_LOGIC=HOL |
2294 | 111 |
|
2786 | 112 |
|
13920 | 113 |
### |
114 |
### Docs |
|
115 |
### |
|
2294 | 116 |
|
16186 | 117 |
# 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
|
118 |
ISABELLE_DOCS="$ISABELLE_HOME/doc" |
2345 | 119 |
|
16186 | 120 |
# Preferred document format |
15703 | 121 |
ISABELLE_DOC_FORMAT=pdf |
122 |
||
16186 | 123 |
# The dvi file viewer |
3062 | 124 |
DVI_VIEWER=xdvi |
2426 | 125 |
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5" |
11103 | 126 |
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7" |
2476 | 127 |
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10" |
3062 | 128 |
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9" |
2345 | 129 |
|
16186 | 130 |
# The pdf file viewer |
15218 | 131 |
PDF_VIEWER=acroread |
132 |
#PDF_VIEWER=xpdf |
|
16186 | 133 |
#PDF_VIEWER=open #best for Mac users: will open in default PDF viewer |
15218 | 134 |
|
16186 | 135 |
# Printer spool command for PS files |
14933 | 136 |
PRINT_COMMAND=lp |
137 |
||
2294 | 138 |
|
2426 | 139 |
### |
140 |
### Interfaces |
|
141 |
### |
|
142 |
||
13920 | 143 |
# Fallback: 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 |
|
13920 | 146 |
# Proof General path, look in a variety of places |
15779
aed221aff642
Removed remaining references to Main.thy in reconstruction code.
quigley
parents:
15734
diff
changeset
|
147 |
ISABELLE_INTERFACE=$(choosefrom\ |
9679 | 148 |
"$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \ |
149 |
"$ISABELLE_HOME/../ProofGeneral/isar/interface" \ |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
150 |
"/usr/share/ProofGeneral/isar/interface" \ |
9948 | 151 |
"/usr/local/ProofGeneral/isar/interface" \ |
10070 | 152 |
"/opt/ProofGeneral/isar/interface" \ |
9956
e75e6a603e71
added /usr/share/emacs/ProofGeneral/isar/interface choice;
wenzelm
parents:
9948
diff
changeset
|
153 |
"/usr/share/emacs/ProofGeneral/isar/interface" \ |
9679 | 154 |
"$ISABELLE_INTERFACE") |
13920 | 155 |
|
5964 | 156 |
PROOFGENERAL_OPTIONS="" |
11981 | 157 |
#PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true" |
7185 | 158 |
|
16875 | 159 |
type -path xemacs >/dev/null || \ |
160 |
PROOFGENERAL_OPTIONS="-p emacs $PROOFGENERAL_OPTIONS" |
|
12476 | 161 |
|
16875 | 162 |
# Executed before xemacs with ProofGeneral is called; required for remote fonts. |
9994 | 163 |
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200" |
9569 | 164 |
|
7185 | 165 |
|
166 |
### |
|
167 |
### External reasoning tools |
|
168 |
### |
|
169 |
||
7194 | 170 |
## Set HOME only for tools you have installed! |
7185 | 171 |
|
17001 | 172 |
# HOL4 proof objects (cf. Isabelle/src/HOL/Import) |
173 |
HOL4_PROOFS="$PROOF_DIRS:$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs" |
|
174 |
||
7185 | 175 |
# SVC (Stanford Validity Checker) |
176 |
#SVC_HOME= |
|
177 |
#SVC_MACHINE=i386-redhat-linux |
|
178 |
#SVC_MACHINE=sparc-sun-solaris |
|
7296 | 179 |
|
180 |
# Mucke (mu-calculus model checker) |
|
181 |
#MUCKE_HOME=/usr/local/bin |
|
182 |
||
183 |
# Einhoven model checker |
|
184 |
#EINDHOVEN_HOME=/usr/local/bin |
|
14451 | 185 |
|
15331 | 186 |
# zChaff (SAT Solver) |
15284 | 187 |
#ZCHAFF_HOME=/usr/local/bin |
15331 | 188 |
#ZCHAFF_VERSION=2004.5.13 |
189 |
#ZCHAFF_VERSION=2004.11.15 |
|
14942 | 190 |
|
191 |
# BerkMin561 (SAT Solver) |
|
192 |
#BERKMIN_HOME=/usr/local/bin |
|
193 |
#BERKMIN_EXE=BerkMin561-linux |
|
194 |
#BERKMIN_EXE=BerkMin561-solaris |
|
14943 | 195 |
|
196 |
# Jerusat 1.3 (SAT Solver) |
|
197 |
#JERUSAT_HOME=/usr/local/bin |
|
16419 | 198 |
|
16873 | 199 |
# For configuring HOL/Matrix/cplex |
16966
37e34f315057
1. changed configuration variables for linear programming (Cplex_tools):
obua
parents:
16875
diff
changeset
|
200 |
# LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver. |
16873 | 201 |
# First option: use the commercial cplex solver |
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
202 |
#LP_SOLVER=CPLEX |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
203 |
#CPLEX_PATH=cplex |
16873 | 204 |
# Second option: use the open source glpk solver |
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
205 |
#LP_SOLVER=GLPK |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
206 |
#GLPK_PATH=glpsol |