| author | wenzelm |
| Wed, 18 Jul 2012 16:24:16 +0200 | |
| changeset 48336 | 3c55bfad22eb |
| parent 48207 | 40fab092d2a2 |
| child 48443 | 6f2762eedca0 |
| permissions | -rw-r--r-- |
| 24211 | 1 |
# -*- shell-script -*- :mode=shellscript: |
| 2294 | 2 |
# |
| 47173 | 3 |
# Isabelle settings -- distribution defaults. |
| 16875 | 4 |
# |
5 |
# Important notes: |
|
| 47173 | 6 |
# * See the "system" manual for explanations on Isabelle settings |
| 16875 | 7 |
# * DO NOT EDIT the repository copy of this file! |
| 47173 | 8 |
# * DO NOT COPY this file into your ~/.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 |
||
| 47009 | 57 |
ISABELLE_SCALA_BUILD_OPTIONS="-nowarn -target:jvm-1.5" |
58 |
||
| 27906 | 59 |
|
60 |
### |
|
|
28504
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28474
diff
changeset
|
61 |
### Interactive sessions (cf. isabelle tty) |
| 25627 | 62 |
### |
63 |
||
64 |
ISABELLE_LINE_EDITOR="" |
|
|
26205
499f08293680
ISABELLE_LINE_EDITOR: prefer rlwrap, which passes interrupts properly;
wenzelm
parents:
25970
diff
changeset
|
65 |
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)" |
| 25627 | 66 |
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)" |
67 |
||
68 |
||
69 |
### |
|
|
28504
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28474
diff
changeset
|
70 |
### Batch sessions (cf. isabelle usedir) |
| 2435 | 71 |
### |
72 |
||
| 32292 | 73 |
ISABELLE_USEDIR_OPTIONS="-M max -p 1 -q 2 -v true -V outline=/proof,/ML" |
| 11569 | 74 |
|
| 2435 | 75 |
|
76 |
### |
|
|
28504
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28474
diff
changeset
|
77 |
### Document preparation (cf. isabelle latex/document) |
| 7773 | 78 |
### |
79 |
||
80 |
ISABELLE_LATEX="latex" |
|
81 |
ISABELLE_PDFLATEX="pdflatex" |
|
| 7813 | 82 |
ISABELLE_BIBTEX="bibtex" |
| 14344 | 83 |
ISABELLE_MAKEINDEX="makeindex" |
| 7773 | 84 |
ISABELLE_DVIPS="dvips -D 600" |
| 11800 | 85 |
ISABELLE_EPSTOPDF="epstopdf" |
| 7773 | 86 |
|
| 13920 | 87 |
# Paranoia setting for strange latex installations ... |
| 11062 | 88 |
#unset TEXMF |
89 |
||
| 7773 | 90 |
|
91 |
### |
|
| 2968 | 92 |
### Misc path settings |
| 2426 | 93 |
### |
| 2294 | 94 |
|
| 2426 | 95 |
# The place for user configuration, heap files, etc. |
|
47661
012a887997f3
USER_HOME settings variable points to cross-platform user home directory;
wenzelm
parents:
47259
diff
changeset
|
96 |
ISABELLE_HOME_USER="$USER_HOME/.isabelle/${ISABELLE_IDENTIFIER:-.}"
|
| 2294 | 97 |
|
| 3177 | 98 |
# 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
|
99 |
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools" |
| 2786 | 100 |
|
| 4334 | 101 |
# 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
|
102 |
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER" |
| 4334 | 103 |
|
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
104 |
# 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
|
105 |
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps" |
| 2780 | 106 |
|
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
107 |
# 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
|
108 |
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps" |
| 26212 | 109 |
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info" |
| 2780 | 110 |
|
| 16186 | 111 |
# Site settings check -- just to make it a little bit harder to copy this file verbatim! |
| 9225 | 112 |
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \ |
113 |
{ 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
|
114 |
ISABELLE_SITE_SETTINGS_PRESENT=true |
| 9225 | 115 |
|
| 13920 | 116 |
|
117 |
### |
|
| 28651 | 118 |
### Default logic |
| 13920 | 119 |
### |
| 16186 | 120 |
|
| 3184 | 121 |
ISABELLE_LOGIC=HOL |
| 2294 | 122 |
|
| 2786 | 123 |
|
| 13920 | 124 |
### |
125 |
### Docs |
|
126 |
### |
|
| 2294 | 127 |
|
| 16186 | 128 |
# 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
|
129 |
ISABELLE_DOCS="$ISABELLE_HOME/doc" |
| 2345 | 130 |
|
| 16186 | 131 |
# Preferred document format |
| 15703 | 132 |
ISABELLE_DOC_FORMAT=pdf |
133 |
||
| 16186 | 134 |
# The dvi file viewer |
| 3062 | 135 |
DVI_VIEWER=xdvi |
| 2426 | 136 |
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5" |
| 11103 | 137 |
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7" |
| 2476 | 138 |
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10" |
| 3062 | 139 |
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9" |
| 2345 | 140 |
|
| 16186 | 141 |
# The pdf file viewer |
|
37062
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
142 |
case "$ISABELLE_PLATFORM" in |
|
47758
8c37cb84065f
smarter PDF_VIEWER defaults, based on hints by Lars Noschinski;
wenzelm
parents:
47726
diff
changeset
|
143 |
*-linux) |
|
8c37cb84065f
smarter PDF_VIEWER defaults, based on hints by Lars Noschinski;
wenzelm
parents:
47726
diff
changeset
|
144 |
PDF_VIEWER="xdg-open" |
|
8c37cb84065f
smarter PDF_VIEWER defaults, based on hints by Lars Noschinski;
wenzelm
parents:
47726
diff
changeset
|
145 |
;; |
|
37062
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
146 |
*-darwin) |
|
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
147 |
PDF_VIEWER="open -W -n" |
|
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
148 |
;; |
|
47758
8c37cb84065f
smarter PDF_VIEWER defaults, based on hints by Lars Noschinski;
wenzelm
parents:
47726
diff
changeset
|
149 |
*-cygwin) |
|
8c37cb84065f
smarter PDF_VIEWER defaults, based on hints by Lars Noschinski;
wenzelm
parents:
47726
diff
changeset
|
150 |
PDF_VIEWER="cygstart" |
|
37062
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
151 |
;; |
|
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
152 |
esac |
| 23138 | 153 |
|
| 15218 | 154 |
|
| 16186 | 155 |
# Printer spool command for PS files |
| 14933 | 156 |
PRINT_COMMAND=lp |
157 |
||
| 2294 | 158 |
|
| 2426 | 159 |
### |
| 28651 | 160 |
### Proof General / Emacs |
161 |
### |
|
162 |
||
| 28249 | 163 |
# Proof General home, look in a variety of places |
| 40545 | 164 |
PROOFGENERAL_HOME="$(choosefrom \ |
| 28249 | 165 |
"$ISABELLE_HOME/contrib/ProofGeneral" \ |
166 |
"$ISABELLE_HOME/../ProofGeneral" \ |
|
167 |
"/usr/local/ProofGeneral" \ |
|
168 |
"/usr/share/ProofGeneral" \ |
|
169 |
"/opt/ProofGeneral" \ |
|
| 40545 | 170 |
"")" |
| 28249 | 171 |
|
|
29149
eae45c2a6811
more sophisticated MacOS interface script (mostly for Carbon Emacs);
wenzelm
parents:
29145
diff
changeset
|
172 |
PROOFGENERAL_OPTIONS="" |
|
eae45c2a6811
more sophisticated MacOS interface script (mostly for Carbon Emacs);
wenzelm
parents:
29145
diff
changeset
|
173 |
#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
|
174 |
|
| 28651 | 175 |
|
176 |
### |
|
|
37058
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
177 |
### Rendering information |
|
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
178 |
### |
|
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
179 |
|
| 43484 | 180 |
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
|
181 |
ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols" |
|
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
182 |
|
|
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
183 |
|
|
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
184 |
### |
| 41951 | 185 |
### Old-style settings for some external tools |
| 7185 | 186 |
### |
187 |
||
| 7194 | 188 |
## Set HOME only for tools you have installed! |
| 7185 | 189 |
|
190 |
# SVC (Stanford Validity Checker) |
|
191 |
#SVC_HOME= |
|
192 |
#SVC_MACHINE=i386-redhat-linux |
|
193 |
#SVC_MACHINE=sparc-sun-solaris |
|
| 7296 | 194 |
|
| 41951 | 195 |
# MiniSat 1.14 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML) |
| 20033 | 196 |
#MINISAT_HOME=/usr/local/bin |
197 |
||
| 41951 | 198 |
# zChaff (SAT Solver, cf. src/HOL/Tools/sat_solver.ML) |
| 15284 | 199 |
#ZCHAFF_HOME=/usr/local/bin |
| 14942 | 200 |
|
| 41951 | 201 |
# BerkMin561 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML) |
| 14942 | 202 |
#BERKMIN_HOME=/usr/local/bin |
203 |
#BERKMIN_EXE=BerkMin561-linux |
|
204 |
#BERKMIN_EXE=BerkMin561-solaris |
|
| 14943 | 205 |
|
| 41951 | 206 |
# Jerusat 1.3 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML) |
| 14943 | 207 |
#JERUSAT_HOME=/usr/local/bin |
| 16419 | 208 |
|
| 16873 | 209 |
# For configuring HOL/Matrix/cplex |
|
16966
37e34f315057
1. changed configuration variables for linear programming (Cplex_tools):
obua
parents:
16875
diff
changeset
|
210 |
# LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver. |
| 16873 | 211 |
# First option: use the commercial cplex solver |
|
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
212 |
#LP_SOLVER=CPLEX |
|
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
213 |
#CPLEX_PATH=cplex |
| 16873 | 214 |
# Second option: use the open source glpk solver |
|
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
215 |
#LP_SOLVER=GLPK |
|
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
216 |
#GLPK_PATH=glpsol |
|
41968
7f5c9bd991be
example settings for ISABELLE_GHC, ISABELLE_OCAML, ISABELLE_SWIPL;
wenzelm
parents:
41955
diff
changeset
|
217 |
|
|
7f5c9bd991be
example settings for ISABELLE_GHC, ISABELLE_OCAML, ISABELLE_SWIPL;
wenzelm
parents:
41955
diff
changeset
|
218 |
# Misc programming languages |
|
48187
6615f7ce670b
slightly modernized ISABELLE_GHC etc. -- /usr/bin is more likely to provide it by default (notably on macbroy2[0-9] and lxbroy*);
wenzelm
parents:
47758
diff
changeset
|
219 |
#ISABELLE_GHC="/usr/bin/ghc" |
|
6615f7ce670b
slightly modernized ISABELLE_GHC etc. -- /usr/bin is more likely to provide it by default (notably on macbroy2[0-9] and lxbroy*);
wenzelm
parents:
47758
diff
changeset
|
220 |
#ISABELLE_OCAML="/usr/bin/ocaml" |
|
6615f7ce670b
slightly modernized ISABELLE_GHC etc. -- /usr/bin is more likely to provide it by default (notably on macbroy2[0-9] and lxbroy*);
wenzelm
parents:
47758
diff
changeset
|
221 |
#ISABELLE_SWIPL="/usr/bin/swipl" |