author | haftmann |
Thu, 27 Dec 2012 11:32:28 +0100 | |
changeset 50618 | 36850cf745e7 |
parent 50197 | b385d134926d |
child 51384 | d2116723f550 |
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 |
### |
27906 | 11 |
### JVM components (Scala or Java) |
12 |
### |
|
13 |
||
47009 | 14 |
ISABELLE_SCALA_BUILD_OPTIONS="-nowarn -target:jvm-1.5" |
15 |
||
27906 | 16 |
|
17 |
### |
|
28504
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28474
diff
changeset
|
18 |
### Interactive sessions (cf. isabelle tty) |
25627 | 19 |
### |
20 |
||
21 |
ISABELLE_LINE_EDITOR="" |
|
26205
499f08293680
ISABELLE_LINE_EDITOR: prefer rlwrap, which passes interrupts properly;
wenzelm
parents:
25970
diff
changeset
|
22 |
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)" |
25627 | 23 |
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)" |
24 |
||
25 |
||
26 |
### |
|
48466
3b2fb20df17d
further imitation of ISABELLE_USEDIR_OPTIONS via options;
wenzelm
parents:
48449
diff
changeset
|
27 |
### Batch sessions |
2435 | 28 |
### |
29 |
||
48466
3b2fb20df17d
further imitation of ISABELLE_USEDIR_OPTIONS via options;
wenzelm
parents:
48449
diff
changeset
|
30 |
#cf. isabelle usedir |
32292 | 31 |
ISABELLE_USEDIR_OPTIONS="-M max -p 1 -q 2 -v true -V outline=/proof,/ML" |
11569 | 32 |
|
48466
3b2fb20df17d
further imitation of ISABELLE_USEDIR_OPTIONS via options;
wenzelm
parents:
48449
diff
changeset
|
33 |
#cf. isabelle build |
3b2fb20df17d
further imitation of ISABELLE_USEDIR_OPTIONS via options;
wenzelm
parents:
48449
diff
changeset
|
34 |
ISABELLE_BUILD_OPTIONS="" |
3b2fb20df17d
further imitation of ISABELLE_USEDIR_OPTIONS via options;
wenzelm
parents:
48449
diff
changeset
|
35 |
|
2435 | 36 |
|
37 |
### |
|
28504
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents:
28474
diff
changeset
|
38 |
### Document preparation (cf. isabelle latex/document) |
7773 | 39 |
### |
40 |
||
41 |
ISABELLE_LATEX="latex" |
|
42 |
ISABELLE_PDFLATEX="pdflatex" |
|
7813 | 43 |
ISABELLE_BIBTEX="bibtex" |
14344 | 44 |
ISABELLE_MAKEINDEX="makeindex" |
7773 | 45 |
ISABELLE_DVIPS="dvips -D 600" |
11800 | 46 |
ISABELLE_EPSTOPDF="epstopdf" |
7773 | 47 |
|
13920 | 48 |
# Paranoia setting for strange latex installations ... |
11062 | 49 |
#unset TEXMF |
50 |
||
7773 | 51 |
|
52 |
### |
|
2968 | 53 |
### Misc path settings |
2426 | 54 |
### |
2294 | 55 |
|
48840 | 56 |
ISABELLE_COMPONENT_REPOSITORY="http://isabelle.in.tum.de/components" |
57 |
||
2426 | 58 |
# The place for user configuration, heap files, etc. |
48553 | 59 |
if [ -z "$ISABELLE_IDENTIFIER" ]; then |
48449 | 60 |
ISABELLE_HOME_USER="$USER_HOME/.isabelle" |
61 |
else |
|
62 |
ISABELLE_HOME_USER="$USER_HOME/.isabelle/$ISABELLE_IDENTIFIER" |
|
63 |
fi |
|
2294 | 64 |
|
3177 | 65 |
# 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
|
66 |
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools" |
2786 | 67 |
|
4334 | 68 |
# 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
|
69 |
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER" |
4334 | 70 |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
71 |
# 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
|
72 |
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps" |
2780 | 73 |
|
9787
fb8c5a66dbe8
more robust handling of spaces in args / file names;
wenzelm
parents:
9759
diff
changeset
|
74 |
# 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
|
75 |
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps" |
26212 | 76 |
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info" |
2780 | 77 |
|
16186 | 78 |
# Site settings check -- just to make it a little bit harder to copy this file verbatim! |
9225 | 79 |
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \ |
80 |
{ 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
|
81 |
ISABELLE_SITE_SETTINGS_PRESENT=true |
9225 | 82 |
|
13920 | 83 |
|
84 |
### |
|
28651 | 85 |
### Default logic |
13920 | 86 |
### |
16186 | 87 |
|
3184 | 88 |
ISABELLE_LOGIC=HOL |
2294 | 89 |
|
2786 | 90 |
|
13920 | 91 |
### |
92 |
### Docs |
|
93 |
### |
|
2294 | 94 |
|
16186 | 95 |
# 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
|
96 |
ISABELLE_DOCS="$ISABELLE_HOME/doc" |
2345 | 97 |
|
16186 | 98 |
# Preferred document format |
15703 | 99 |
ISABELLE_DOC_FORMAT=pdf |
100 |
||
50197
b385d134926d
eval PDF_VIEWER/DVI_VIEWER command line, which allows additional quotes for program name, for example;
wenzelm
parents:
49000
diff
changeset
|
101 |
# PDF file viewer (command-line to eval) |
b385d134926d
eval PDF_VIEWER/DVI_VIEWER command line, which allows additional quotes for program name, for example;
wenzelm
parents:
49000
diff
changeset
|
102 |
case "$ISABELLE_PLATFORM_FAMILY" in |
b385d134926d
eval PDF_VIEWER/DVI_VIEWER command line, which allows additional quotes for program name, for example;
wenzelm
parents:
49000
diff
changeset
|
103 |
linux) |
b385d134926d
eval PDF_VIEWER/DVI_VIEWER command line, which allows additional quotes for program name, for example;
wenzelm
parents:
49000
diff
changeset
|
104 |
PDF_VIEWER="xdg-open" |
b385d134926d
eval PDF_VIEWER/DVI_VIEWER command line, which allows additional quotes for program name, for example;
wenzelm
parents:
49000
diff
changeset
|
105 |
;; |
b385d134926d
eval PDF_VIEWER/DVI_VIEWER command line, which allows additional quotes for program name, for example;
wenzelm
parents:
49000
diff
changeset
|
106 |
macos) |
b385d134926d
eval PDF_VIEWER/DVI_VIEWER command line, which allows additional quotes for program name, for example;
wenzelm
parents:
49000
diff
changeset
|
107 |
PDF_VIEWER="open -W -n" |
b385d134926d
eval PDF_VIEWER/DVI_VIEWER command line, which allows additional quotes for program name, for example;
wenzelm
parents:
49000
diff
changeset
|
108 |
;; |
b385d134926d
eval PDF_VIEWER/DVI_VIEWER command line, which allows additional quotes for program name, for example;
wenzelm
parents:
49000
diff
changeset
|
109 |
windows) |
b385d134926d
eval PDF_VIEWER/DVI_VIEWER command line, which allows additional quotes for program name, for example;
wenzelm
parents:
49000
diff
changeset
|
110 |
PDF_VIEWER="cygstart" |
b385d134926d
eval PDF_VIEWER/DVI_VIEWER command line, which allows additional quotes for program name, for example;
wenzelm
parents:
49000
diff
changeset
|
111 |
;; |
b385d134926d
eval PDF_VIEWER/DVI_VIEWER command line, which allows additional quotes for program name, for example;
wenzelm
parents:
49000
diff
changeset
|
112 |
esac |
b385d134926d
eval PDF_VIEWER/DVI_VIEWER command line, which allows additional quotes for program name, for example;
wenzelm
parents:
49000
diff
changeset
|
113 |
|
b385d134926d
eval PDF_VIEWER/DVI_VIEWER command line, which allows additional quotes for program name, for example;
wenzelm
parents:
49000
diff
changeset
|
114 |
# DVI file viewer (command-line to eval) |
3062 | 115 |
DVI_VIEWER=xdvi |
2426 | 116 |
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5" |
11103 | 117 |
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7" |
2476 | 118 |
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10" |
3062 | 119 |
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9" |
2345 | 120 |
|
15218 | 121 |
|
16186 | 122 |
# Printer spool command for PS files |
14933 | 123 |
PRINT_COMMAND=lp |
124 |
||
2294 | 125 |
|
2426 | 126 |
### |
37058
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
127 |
### Rendering information |
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
128 |
### |
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
129 |
|
43484 | 130 |
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
|
131 |
ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols" |
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
132 |
|
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
133 |
|
c47653f3ec14
rendering information and style sheets via settings;
wenzelm
parents:
36212
diff
changeset
|
134 |
### |
49000 | 135 |
### Misc old-style settings |
7185 | 136 |
### |
137 |
||
49000 | 138 |
# Standard ML of New Jersey (slow!) |
139 |
#ML_SYSTEM=smlnj-110 |
|
140 |
#ML_HOME="/usr/local/smlnj/bin" |
|
141 |
#ML_OPTIONS="@SMLdebug=/dev/null @SMLalloc=1024" |
|
142 |
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX") |
|
143 |
#SMLNJ_CYGWIN_RUNTIME=1 |
|
144 |
||
7194 | 145 |
## Set HOME only for tools you have installed! |
7185 | 146 |
|
147 |
# SVC (Stanford Validity Checker) |
|
148 |
#SVC_HOME= |
|
149 |
#SVC_MACHINE=i386-redhat-linux |
|
150 |
#SVC_MACHINE=sparc-sun-solaris |
|
7296 | 151 |
|
41951 | 152 |
# MiniSat 1.14 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML) |
20033 | 153 |
#MINISAT_HOME=/usr/local/bin |
154 |
||
41951 | 155 |
# zChaff (SAT Solver, cf. src/HOL/Tools/sat_solver.ML) |
15284 | 156 |
#ZCHAFF_HOME=/usr/local/bin |
14942 | 157 |
|
41951 | 158 |
# BerkMin561 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML) |
14942 | 159 |
#BERKMIN_HOME=/usr/local/bin |
160 |
#BERKMIN_EXE=BerkMin561-linux |
|
161 |
#BERKMIN_EXE=BerkMin561-solaris |
|
14943 | 162 |
|
41951 | 163 |
# Jerusat 1.3 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML) |
14943 | 164 |
#JERUSAT_HOME=/usr/local/bin |
16419 | 165 |
|
16873 | 166 |
# For configuring HOL/Matrix/cplex |
16966
37e34f315057
1. changed configuration variables for linear programming (Cplex_tools):
obua
parents:
16875
diff
changeset
|
167 |
# LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver. |
16873 | 168 |
# First option: use the commercial cplex solver |
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
169 |
#LP_SOLVER=CPLEX |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
170 |
#CPLEX_PATH=cplex |
16873 | 171 |
# Second option: use the open source glpk solver |
16968
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
172 |
#LP_SOLVER=GLPK |
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents:
16966
diff
changeset
|
173 |
#GLPK_PATH=glpsol |
41968
7f5c9bd991be
example settings for ISABELLE_GHC, ISABELLE_OCAML, ISABELLE_SWIPL;
wenzelm
parents:
41955
diff
changeset
|
174 |
|
7f5c9bd991be
example settings for ISABELLE_GHC, ISABELLE_OCAML, ISABELLE_SWIPL;
wenzelm
parents:
41955
diff
changeset
|
175 |
# 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
|
176 |
#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
|
177 |
#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
|
178 |
#ISABELLE_SWIPL="/usr/bin/swipl" |