author | wenzelm |
Sat, 28 Jul 2012 13:11:58 +0200 | |
changeset 48574 | 4af9f3122138 |
parent 48553 | a4893c509aa2 |
child 48840 | 7e19dc018db9 |
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" |
48443 | 48 |
#ML_OPTIONS="@SMLdebug=/dev/null @SMLalloc=1024" |
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 |
### |
|
48466
3b2fb20df17d
further imitation of ISABELLE_USEDIR_OPTIONS via options;
wenzelm
parents:
48449
diff
changeset
|
70 |
### Batch sessions |
2435 | 71 |
### |
72 |
||
48466
3b2fb20df17d
further imitation of ISABELLE_USEDIR_OPTIONS via options;
wenzelm
parents:
48449
diff
changeset
|
73 |
#cf. isabelle usedir |
32292 | 74 |
ISABELLE_USEDIR_OPTIONS="-M max -p 1 -q 2 -v true -V outline=/proof,/ML" |
11569 | 75 |
|
48466
3b2fb20df17d
further imitation of ISABELLE_USEDIR_OPTIONS via options;
wenzelm
parents:
48449
diff
changeset
|
76 |
#cf. isabelle build |
3b2fb20df17d
further imitation of ISABELLE_USEDIR_OPTIONS via options;
wenzelm
parents:
48449
diff
changeset
|
77 |
ISABELLE_BUILD_OPTIONS="" |
3b2fb20df17d
further imitation of ISABELLE_USEDIR_OPTIONS via options;
wenzelm
parents:
48449
diff
changeset
|
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. |
48553 | 100 |
if [ -z "$ISABELLE_IDENTIFIER" ]; then |
48449 | 101 |
ISABELLE_HOME_USER="$USER_HOME/.isabelle" |
102 |
else |
|
103 |
ISABELLE_HOME_USER="$USER_HOME/.isabelle/$ISABELLE_IDENTIFIER" |
|
104 |
fi |
|
2294 | 105 |
|
3177 | 106 |
# 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
|
107 |
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools" |
2786 | 108 |
|
4334 | 109 |
# 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
|
110 |
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER" |
4334 | 111 |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
112 |
# 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
|
113 |
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps" |
2780 | 114 |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
115 |
# 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
|
116 |
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps" |
26212 | 117 |
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info" |
2780 | 118 |
|
16186 | 119 |
# Site settings check -- just to make it a little bit harder to copy this file verbatim! |
9225 | 120 |
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \ |
121 |
{ 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
|
122 |
ISABELLE_SITE_SETTINGS_PRESENT=true |
9225 | 123 |
|
13920 | 124 |
|
125 |
### |
|
28651 | 126 |
### Default logic |
13920 | 127 |
### |
16186 | 128 |
|
3184 | 129 |
ISABELLE_LOGIC=HOL |
2294 | 130 |
|
2786 | 131 |
|
13920 | 132 |
### |
133 |
### Docs |
|
134 |
### |
|
2294 | 135 |
|
16186 | 136 |
# 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
|
137 |
ISABELLE_DOCS="$ISABELLE_HOME/doc" |
2345 | 138 |
|
16186 | 139 |
# Preferred document format |
15703 | 140 |
ISABELLE_DOC_FORMAT=pdf |
141 |
||
16186 | 142 |
# The dvi file viewer |
3062 | 143 |
DVI_VIEWER=xdvi |
2426 | 144 |
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5" |
11103 | 145 |
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7" |
2476 | 146 |
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10" |
3062 | 147 |
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9" |
2345 | 148 |
|
16186 | 149 |
# The pdf file viewer |
37062
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
150 |
case "$ISABELLE_PLATFORM" in |
47758
8c37cb84065f
smarter PDF_VIEWER defaults, based on hints by Lars Noschinski;
wenzelm
parents:
47726
diff
changeset
|
151 |
*-linux) |
8c37cb84065f
smarter PDF_VIEWER defaults, based on hints by Lars Noschinski;
wenzelm
parents:
47726
diff
changeset
|
152 |
PDF_VIEWER="xdg-open" |
8c37cb84065f
smarter PDF_VIEWER defaults, based on hints by Lars Noschinski;
wenzelm
parents:
47726
diff
changeset
|
153 |
;; |
37062
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
154 |
*-darwin) |
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
155 |
PDF_VIEWER="open -W -n" |
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
156 |
;; |
47758
8c37cb84065f
smarter PDF_VIEWER defaults, based on hints by Lars Noschinski;
wenzelm
parents:
47726
diff
changeset
|
157 |
*-cygwin) |
8c37cb84065f
smarter PDF_VIEWER defaults, based on hints by Lars Noschinski;
wenzelm
parents:
47726
diff
changeset
|
158 |
PDF_VIEWER="cygstart" |
37062
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
159 |
;; |
2b94e2d406d9
use proper ISABELLE_PLATFORM instead of adhoc uname;
wenzelm
parents:
37058
diff
changeset
|
160 |
esac |
23138 | 161 |
|
15218 | 162 |
|
16186 | 163 |
# Printer spool command for PS files |
14933 | 164 |
PRINT_COMMAND=lp |
165 |
||
2294 | 166 |
|
2426 | 167 |
### |
37058
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
168 |
### Rendering information |
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
169 |
### |
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
170 |
|
43484 | 171 |
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
|
172 |
ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols" |
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
173 |
|
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
174 |
|
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
175 |
### |
41951 | 176 |
### Old-style settings for some external tools |
7185 | 177 |
### |
178 |
||
7194 | 179 |
## Set HOME only for tools you have installed! |
7185 | 180 |
|
181 |
# SVC (Stanford Validity Checker) |
|
182 |
#SVC_HOME= |
|
183 |
#SVC_MACHINE=i386-redhat-linux |
|
184 |
#SVC_MACHINE=sparc-sun-solaris |
|
7296 | 185 |
|
41951 | 186 |
# MiniSat 1.14 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML) |
20033 | 187 |
#MINISAT_HOME=/usr/local/bin |
188 |
||
41951 | 189 |
# zChaff (SAT Solver, cf. src/HOL/Tools/sat_solver.ML) |
15284 | 190 |
#ZCHAFF_HOME=/usr/local/bin |
14942 | 191 |
|
41951 | 192 |
# BerkMin561 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML) |
14942 | 193 |
#BERKMIN_HOME=/usr/local/bin |
194 |
#BERKMIN_EXE=BerkMin561-linux |
|
195 |
#BERKMIN_EXE=BerkMin561-solaris |
|
14943 | 196 |
|
41951 | 197 |
# Jerusat 1.3 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML) |
14943 | 198 |
#JERUSAT_HOME=/usr/local/bin |
16419 | 199 |
|
16873 | 200 |
# For configuring HOL/Matrix/cplex |
16966
37e34f315057
1. changed configuration variables for linear programming (Cplex_tools):
obua
parents:
16875
diff
changeset
|
201 |
# LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver. |
16873 | 202 |
# First option: use the commercial cplex solver |
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
203 |
#LP_SOLVER=CPLEX |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
204 |
#CPLEX_PATH=cplex |
16873 | 205 |
# Second option: use the open source glpk solver |
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
206 |
#LP_SOLVER=GLPK |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
207 |
#GLPK_PATH=glpsol |
41968
7f5c9bd991be
example settings for ISABELLE_GHC, ISABELLE_OCAML, ISABELLE_SWIPL;
wenzelm
parents:
41955
diff
changeset
|
208 |
|
7f5c9bd991be
example settings for ISABELLE_GHC, ISABELLE_OCAML, ISABELLE_SWIPL;
wenzelm
parents:
41955
diff
changeset
|
209 |
# 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
|
210 |
#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
|
211 |
#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
|
212 |
#ISABELLE_SWIPL="/usr/bin/swipl" |