author | haftmann |
Sat, 18 Feb 2012 20:50:11 +0100 | |
changeset 46524 | 8d51b375e926 |
parent 46184 | e81b5673ae01 |
child 47009 | 97b68d61de2e |
permissions | -rw-r--r-- |
24211 | 1 |
# -*- shell-script -*- :mode=shellscript: |
2294 | 2 |
# |
2309 | 3 |
# Isabelle settings -- site defaults. |
16875 | 4 |
# |
5 |
# Important notes: |
|
6 |
# * See the system manual for explanations on Isabelle settings |
|
7 |
# * DO NOT EDIT the repository copy of this file! |
|
8 |
# * DO NOT COPY this file into your personal isabelle directory! |
|
2309 | 9 |
|
2426 | 10 |
### |
3177 | 11 |
### ML compiler settings (ESSENTIAL!) |
2426 | 12 |
### |
13 |
||
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
14 |
# 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
|
15 |
# 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
|
16 |
# Only one of the sections below should be activated. |
14447 | 17 |
|
44951
3aa3aeb4980f
specific bundle for x86_64-linux, which is especially important for JRE due to its extra library dependencies;
wenzelm
parents:
43521
diff
changeset
|
18 |
# Poly/ML default (automated settings) |
36201
07d4f74abd12
polyml-platform script is superseded by ISABELLE_PLATFORM;
wenzelm
parents:
36193
diff
changeset
|
19 |
ML_PLATFORM="$ISABELLE_PLATFORM" |
40545 | 20 |
ML_HOME="$(choosefrom \ |
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
21 |
"$ISABELLE_HOME/contrib/polyml/$ML_PLATFORM" \ |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
22 |
"$ISABELLE_HOME/../polyml/$ML_PLATFORM" \ |
17119 | 23 |
"/usr/local/polyml/$ML_PLATFORM" \ |
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
24 |
"/usr/share/polyml/$ML_PLATFORM" \ |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
25 |
"/opt/polyml/$ML_PLATFORM" \ |
41495 | 26 |
"")" |
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
27 |
ML_SYSTEM=$("$ISABELLE_HOME/lib/scripts/polyml-version") |
25500
7a284dc85326
polyml: default heap size is back to -H 200 (people are still using
wenzelm
parents:
25347
diff
changeset
|
28 |
ML_OPTIONS="-H 200" |
31436 | 29 |
ML_SOURCES="$ML_HOME/../src" |
8345 | 30 |
|
43515 | 31 |
# Poly/ML 32 bit (manual settings) |
45147 | 32 |
#ML_SYSTEM=polyml-5.4.1 |
43515 | 33 |
#ML_PLATFORM="$ISABELLE_PLATFORM" |
34 |
#ML_HOME="$ISABELLE_HOME/contrib/$ML_SYSTEM/$ML_PLATFORM" |
|
25347 | 35 |
#ML_OPTIONS="-H 500" |
33538
edf497b5b5d2
setup for official Poly/ML 5.3.0, which is now the default;
wenzelm
parents:
33502
diff
changeset
|
36 |
#ML_SOURCES="$ML_HOME/../src" |
25347 | 37 |
|
43515 | 38 |
# Poly/ML 64 bit (manual settings) |
45147 | 39 |
#ML_SYSTEM=polyml-5.4.1 |
43515 | 40 |
#ML_PLATFORM="${ISABELLE_PLATFORM64:-$ISABELLE_PLATFORM}" |
41 |
#ML_HOME="$ISABELLE_HOME/contrib/$ML_SYSTEM/$ML_PLATFORM" |
|
24479
b272d7998193
added POLYML_LINK_OPTIONS, which is required for unusual platforms (notably cygwin);
wenzelm
parents:
24439
diff
changeset
|
42 |
#ML_OPTIONS="-H 1000" |
31444 | 43 |
#ML_SOURCES="$ML_HOME/../src" |
44 |
||
25347 | 45 |
# Standard ML of New Jersey (slow!) |
8345 | 46 |
#ML_SYSTEM=smlnj-110 |
25347 | 47 |
#ML_HOME="/usr/local/smlnj/bin" |
33502
cf392b693385
tuned ML_OPTIONS for SML/NJ -- for improved performance;
wenzelm
parents:
32426
diff
changeset
|
48 |
#ML_OPTIONS="@SMLdebug=/dev/null @SMLalloc=256" |
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
49 |
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX") |
25347 | 50 |
#SMLNJ_CYGWIN_RUNTIME=1 |
5708 | 51 |
|
2294 | 52 |
|
2426 | 53 |
### |
27906 | 54 |
### JVM components (Scala or Java) |
55 |
### |
|
56 |
||
40571 | 57 |
if [ -n "$JAVA_HOME" ]; then |
58 |
ISABELLE_JAVA="$JAVA_HOME/bin/java" |
|
59 |
else |
|
60 |
ISABELLE_JAVA="java" |
|
61 |
fi |
|
27921 | 62 |
|
27906 | 63 |
|
64 |
### |
|
28504
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28474
diff
changeset
|
65 |
### Interactive sessions (cf. isabelle tty) |
25627 | 66 |
### |
67 |
||
68 |
ISABELLE_LINE_EDITOR="" |
|
26205
499f08293680
ISABELLE_LINE_EDITOR: prefer rlwrap, which passes interrupts properly;
wenzelm
parents:
25970
diff
changeset
|
69 |
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)" |
25627 | 70 |
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)" |
71 |
||
72 |
||
73 |
### |
|
28504
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28474
diff
changeset
|
74 |
### Batch sessions (cf. isabelle usedir) |
2435 | 75 |
### |
76 |
||
32292 | 77 |
ISABELLE_USEDIR_OPTIONS="-M max -p 1 -q 2 -v true -V outline=/proof,/ML" |
11569 | 78 |
|
2435 | 79 |
|
80 |
### |
|
28504
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28474
diff
changeset
|
81 |
### Document preparation (cf. isabelle latex/document) |
7773 | 82 |
### |
83 |
||
84 |
ISABELLE_LATEX="latex" |
|
85 |
ISABELLE_PDFLATEX="pdflatex" |
|
7813 | 86 |
ISABELLE_BIBTEX="bibtex" |
14344 | 87 |
ISABELLE_MAKEINDEX="makeindex" |
7773 | 88 |
ISABELLE_DVIPS="dvips -D 600" |
11800 | 89 |
ISABELLE_EPSTOPDF="epstopdf" |
7773 | 90 |
|
13920 | 91 |
# Paranoia setting for strange latex installations ... |
11062 | 92 |
#unset TEXMF |
93 |
||
7773 | 94 |
|
95 |
### |
|
2968 | 96 |
### Misc path settings |
2426 | 97 |
### |
2294 | 98 |
|
2426 | 99 |
# The place for user configuration, heap files, etc. |
46184
e81b5673ae01
more robust ISABELLE_HOME_USER for repository versions -- some versions of Emacs interpret foo//bar as /bar even on the command-line (unlike regular POSIX semantics);
wenzelm
parents:
45147
diff
changeset
|
100 |
ISABELLE_HOME_USER="$HOME/.isabelle/${ISABELLE_IDENTIFIER:-.}" |
2294 | 101 |
|
3177 | 102 |
# 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
|
103 |
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools" |
2786 | 104 |
|
4334 | 105 |
# 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
|
106 |
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER" |
4334 | 107 |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
108 |
# Heap input locations. ML system identifier is included in lookup. |
40387
e4c9e0dad473
moved ISABELLE_IDENTIFIER from ISABELLE_OUTPUT further up to ISABELLE_HOME_USER;
wenzelm
parents:
37174
diff
changeset
|
109 |
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps" |
2780 | 110 |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
111 |
# Heap output location. ML system identifier is appended automatically later on. |
40387
e4c9e0dad473
moved ISABELLE_IDENTIFIER from ISABELLE_OUTPUT further up to ISABELLE_HOME_USER;
wenzelm
parents:
37174
diff
changeset
|
112 |
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps" |
26212 | 113 |
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info" |
2780 | 114 |
|
16186 | 115 |
# Site settings check -- just to make it a little bit harder to copy this file verbatim! |
9225 | 116 |
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \ |
117 |
{ echo >&2 "### Isabelle site settings already present! Maybe copied etc/settings in full?"; } |
|
32305
c5523ded51d9
basic support for components (which imitate the usual Isabelle directory layout);
wenzelm
parents:
32292
diff
changeset
|
118 |
ISABELLE_SITE_SETTINGS_PRESENT=true |
9225 | 119 |
|
13920 | 120 |
|
121 |
### |
|
28651 | 122 |
### Default logic |
13920 | 123 |
### |
16186 | 124 |
|
3184 | 125 |
ISABELLE_LOGIC=HOL |
2294 | 126 |
|
2786 | 127 |
|
13920 | 128 |
### |
129 |
### Docs |
|
130 |
### |
|
2294 | 131 |
|
16186 | 132 |
# 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
|
133 |
ISABELLE_DOCS="$ISABELLE_HOME/doc" |
2345 | 134 |
|
16186 | 135 |
# Preferred document format |
15703 | 136 |
ISABELLE_DOC_FORMAT=pdf |
137 |
||
16186 | 138 |
# The dvi file viewer |
3062 | 139 |
DVI_VIEWER=xdvi |
2426 | 140 |
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5" |
11103 | 141 |
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7" |
2476 | 142 |
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10" |
3062 | 143 |
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9" |
2345 | 144 |
|
16186 | 145 |
# The pdf file viewer |
37062
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
146 |
case "$ISABELLE_PLATFORM" in |
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
147 |
*-darwin) |
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
148 |
PDF_VIEWER="open -W -n" |
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
149 |
;; |
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
150 |
*) |
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
151 |
PDF_VIEWER=xpdf |
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
152 |
;; |
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
153 |
esac |
23138 | 154 |
#PDF_VIEWER=acroread |
155 |
#PDF_VIEWER=evince |
|
156 |
||
15218 | 157 |
|
16186 | 158 |
# Printer spool command for PS files |
14933 | 159 |
PRINT_COMMAND=lp |
160 |
||
2294 | 161 |
|
2426 | 162 |
### |
28651 | 163 |
### Proof General / Emacs |
164 |
### |
|
165 |
||
28249 | 166 |
# Proof General home, look in a variety of places |
40545 | 167 |
PROOFGENERAL_HOME="$(choosefrom \ |
28249 | 168 |
"$ISABELLE_HOME/contrib/ProofGeneral" \ |
169 |
"$ISABELLE_HOME/../ProofGeneral" \ |
|
170 |
"/usr/local/ProofGeneral" \ |
|
171 |
"/usr/share/ProofGeneral" \ |
|
172 |
"/opt/ProofGeneral" \ |
|
40545 | 173 |
"")" |
28249 | 174 |
|
29149
eae45c2a6811
more sophisticated MacOS interface script (mostly for Carbon Emacs);
wenzelm
parents:
29145
diff
changeset
|
175 |
PROOFGENERAL_OPTIONS="" |
eae45c2a6811
more sophisticated MacOS interface script (mostly for Carbon Emacs);
wenzelm
parents:
29145
diff
changeset
|
176 |
#PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets" |
17574
aa9d8483cabc
PROOFGENERAL_OPTIONS: smart fall-back on plain emacs (back again);
wenzelm
parents:
17522
diff
changeset
|
177 |
|
17383
3eb21fb8c2ec
no longer prefer xemacs, which fails more often than GNU emacs;
wenzelm
parents:
17119
diff
changeset
|
178 |
# Automatic setup of remote fonts |
9994 | 179 |
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200" |
28249 | 180 |
XSYMBOL_INSTALLFONTS="" |
7185 | 181 |
|
28651 | 182 |
|
183 |
### |
|
37058
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
184 |
### Rendering information |
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
185 |
### |
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
186 |
|
43484 | 187 |
ISABELLE_FONTS="$ISABELLE_HOME/lib/fonts/IsabelleText.ttf:$ISABELLE_HOME/lib/fonts/IsabelleTextBold.ttf" |
37058
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
188 |
ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols" |
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
189 |
|
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
190 |
|
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
191 |
### |
41951 | 192 |
### Old-style settings for some external tools |
7185 | 193 |
### |
194 |
||
7194 | 195 |
## Set HOME only for tools you have installed! |
7185 | 196 |
|
41951 | 197 |
# HOL4 proof objects (cf. src/HOL/Import) |
26212 | 198 |
#HOL4_PROOFS="$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs" |
17001 | 199 |
|
7185 | 200 |
# SVC (Stanford Validity Checker) |
201 |
#SVC_HOME= |
|
202 |
#SVC_MACHINE=i386-redhat-linux |
|
203 |
#SVC_MACHINE=sparc-sun-solaris |
|
7296 | 204 |
|
41951 | 205 |
# MiniSat 1.14 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML) |
20033 | 206 |
#MINISAT_HOME=/usr/local/bin |
207 |
||
41951 | 208 |
# zChaff (SAT Solver, cf. src/HOL/Tools/sat_solver.ML) |
15284 | 209 |
#ZCHAFF_HOME=/usr/local/bin |
14942 | 210 |
|
41951 | 211 |
# BerkMin561 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML) |
14942 | 212 |
#BERKMIN_HOME=/usr/local/bin |
213 |
#BERKMIN_EXE=BerkMin561-linux |
|
214 |
#BERKMIN_EXE=BerkMin561-solaris |
|
14943 | 215 |
|
41951 | 216 |
# Jerusat 1.3 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML) |
14943 | 217 |
#JERUSAT_HOME=/usr/local/bin |
16419 | 218 |
|
16873 | 219 |
# For configuring HOL/Matrix/cplex |
16966
37e34f315057
1. changed configuration variables for linear programming (Cplex_tools):
obua
parents:
16875
diff
changeset
|
220 |
# LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver. |
16873 | 221 |
# First option: use the commercial cplex solver |
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
222 |
#LP_SOLVER=CPLEX |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
223 |
#CPLEX_PATH=cplex |
16873 | 224 |
# Second option: use the open source glpk solver |
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
225 |
#LP_SOLVER=GLPK |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
226 |
#GLPK_PATH=glpsol |
41968
7f5c9bd991be
example settings for ISABELLE_GHC, ISABELLE_OCAML, ISABELLE_SWIPL;
wenzelm
parents:
41955
diff
changeset
|
227 |
|
7f5c9bd991be
example settings for ISABELLE_GHC, ISABELLE_OCAML, ISABELLE_SWIPL;
wenzelm
parents:
41955
diff
changeset
|
228 |
# Misc programming languages |
7f5c9bd991be
example settings for ISABELLE_GHC, ISABELLE_OCAML, ISABELLE_SWIPL;
wenzelm
parents:
41955
diff
changeset
|
229 |
#ISABELLE_GHC="/usr/local/ghc/$ISABELLE_PLATFORM/ghc" |
7f5c9bd991be
example settings for ISABELLE_GHC, ISABELLE_OCAML, ISABELLE_SWIPL;
wenzelm
parents:
41955
diff
changeset
|
230 |
#ISABELLE_OCAML="/usr/local/ocaml/$ISABELLE_PLATFORM/ocaml" |
7f5c9bd991be
example settings for ISABELLE_GHC, ISABELLE_OCAML, ISABELLE_SWIPL;
wenzelm
parents:
41955
diff
changeset
|
231 |
#ISABELLE_SWIPL="/usr/local/swipl/$ISABELLE_PLATFORM/swipl" |