| author | kleing | 
| Tue, 06 Mar 2007 05:31:23 +0100 | |
| changeset 22415 | c310ca7cd47f | 
| parent 22148 | 3b99944136ef | 
| child 23138 | 6852373aae8a | 
| 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: 
16966diff
changeset | 15 | # ML_HOME specifies the location of the actual compiler binaries. Do | 
| 
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
 wenzelm parents: 
16966diff
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: 
16966diff
changeset | 17 | # Only one of the sections below should be activated. | 
| 14447 | 18 | |
| 21812 | 19 | # Poly/ML 4.x/5.x (automated settings) | 
| 16968 
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
 wenzelm parents: 
16966diff
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: 
16966diff
changeset | 21 | ML_PLATFORM=$("$ISABELLE_HOME/lib/scripts/polyml-platform")
 | 
| 
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
 wenzelm parents: 
16966diff
changeset | 22 | ML_HOME=$(choosefrom \ | 
| 
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
 wenzelm parents: 
16966diff
changeset | 23 | "$ISABELLE_HOME/contrib/polyml/$ML_PLATFORM" \ | 
| 
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
 wenzelm parents: 
16966diff
changeset | 24 | "$ISABELLE_HOME/../polyml/$ML_PLATFORM" \ | 
| 17119 | 25 | "/usr/local/polyml/$ML_PLATFORM" \ | 
| 16968 
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
 wenzelm parents: 
16966diff
changeset | 26 | "/usr/share/polyml/$ML_PLATFORM" \ | 
| 
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
 wenzelm parents: 
16966diff
changeset | 27 | "/opt/polyml/$ML_PLATFORM" \ | 
| 
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
 wenzelm parents: 
16966diff
changeset | 28 | $POLY_HOME) | 
| 
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
 wenzelm parents: 
16966diff
changeset | 29 | ML_SYSTEM=$("$ISABELLE_HOME/lib/scripts/polyml-version")
 | 
| 17005 | 30 | ML_OPTIONS="-H 80" | 
| 17048 | 31 | ML_DBASE="" | 
| 8345 | 32 | |
| 21653 | 33 | # Poly/ML 5.0 | 
| 20764 | 34 | #ML_PLATFORM=x86_64-linux | 
| 35 | #ML_HOME=/usr/local/polyml/x86_64-linux | |
| 21653 | 36 | #ML_SYSTEM=polyml-5.0 | 
| 20987 | 37 | #ML_OPTIONS="-H 500" | 
| 20764 | 38 | |
| 21812 | 39 | # Poly/ML 4.2.0 | 
| 40 | #ML_PLATFORM=x86-linux | |
| 41 | #ML_HOME=/usr/local/polyml/x86-linux | |
| 42 | #ML_SYSTEM=polyml-4.2.0 | |
| 43 | #ML_OPTIONS="-H 80" | |
| 44 | ||
| 5708 | 45 | # Standard ML of New Jersey 110 or later | 
| 16250 | 46 | #SMLNJ_CYGWIN_RUNTIME=1 | 
| 8345 | 47 | #ML_SYSTEM=smlnj-110 | 
| 15846 | 48 | #ML_HOME="$ISABELLE_HOME/contrib/smlnj/bin" | 
| 8345 | 49 | #ML_OPTIONS="@SMLdebug=/dev/null" | 
| 9787 
fb8c5a66dbe8
more robust handling of spaces in args / file names;
 wenzelm parents: 
9759diff
changeset | 50 | #ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
 | 
| 5708 | 51 | |
| 9252 | 52 | # Moscow ML 2.00 or later (experimental!) | 
| 53 | #ML_SYSTEM=mosml | |
| 15846 | 54 | #ML_HOME="$ISABELLE_HOME/contrib/mosml/bin" | 
| 17825 | 55 | #ML_OPTIONS="" | 
| 6413 | 56 | #ML_PLATFORM="" | 
| 5708 | 57 | |
| 17768 
72575258a561
added Poplog/PML version 15.6/2.1 (experimental!);
 wenzelm parents: 
17574diff
changeset | 58 | # Poplog/PML version 15.6/2.1 (experimental!) | 
| 
72575258a561
added Poplog/PML version 15.6/2.1 (experimental!);
 wenzelm parents: 
17574diff
changeset | 59 | #ML_SYSTEM=poplogml | 
| 17825 | 60 | #ML_HOME="/usr/local/poplog/current-poplog/bin" | 
| 17768 
72575258a561
added Poplog/PML version 15.6/2.1 (experimental!);
 wenzelm parents: 
17574diff
changeset | 61 | #ML_OPTIONS="-noinit" | 
| 17793 | 62 | #ML_SUFFIX=".psv" | 
| 17825 | 63 | #ML_PLATFORM="" | 
| 17768 
72575258a561
added Poplog/PML version 15.6/2.1 (experimental!);
 wenzelm parents: 
17574diff
changeset | 64 | |
| 22148 | 65 | # Alice 1.3 (experimental!) | 
| 66 | #ML_SYSTEM=alice | |
| 67 | #ML_HOME="/usr/local/alice/bin" | |
| 68 | #ML_OPTIONS="" | |
| 69 | #ML_PLATFORM="" | |
| 70 | ||
| 2294 | 71 | |
| 2426 | 72 | ### | 
| 16186 | 73 | ### Compilation options (cf. isatool usedir) | 
| 2435 | 74 | ### | 
| 75 | ||
| 17048 | 76 | ISABELLE_USEDIR_OPTIONS="-v true -V outline=/proof,/ML" | 
| 11569 | 77 | |
| 16186 | 78 | # Specifically for the HOL image | 
| 21171 | 79 | HOL_USEDIR_OPTIONS="-p 1" | 
| 14044 
bbd2f7b00736
set HOL_PROOF_OBJECTS in settings, not makefile (makes override in user settings possible)
 kleing parents: 
13920diff
changeset | 80 | |
| 2435 | 81 | |
| 82 | ### | |
| 16186 | 83 | ### Document preparation (cf. isatool latex/document) | 
| 7773 | 84 | ### | 
| 85 | ||
| 86 | ISABELLE_LATEX="latex" | |
| 87 | ISABELLE_PDFLATEX="pdflatex" | |
| 7813 | 88 | ISABELLE_BIBTEX="bibtex" | 
| 14344 | 89 | ISABELLE_MAKEINDEX="makeindex" | 
| 7773 | 90 | ISABELLE_DVIPS="dvips -D 600" | 
| 11800 | 91 | ISABELLE_EPSTOPDF="epstopdf" | 
| 7773 | 92 | |
| 13920 | 93 | # Paranoia setting for strange latex installations ... | 
| 11062 | 94 | #unset TEXMF | 
| 95 | ||
| 13920 | 96 | # If ISABELLE_THUMBPDF is set, isatool tries to | 
| 97 | # generate thumbnails for proof documents | |
| 11062 | 98 | #type -path thumbpdf >/dev/null && ISABELLE_THUMBPDF="thumbpdf" | 
| 7864 | 99 | |
| 7773 | 100 | |
| 101 | ### | |
| 2968 | 102 | ### Misc path settings | 
| 2426 | 103 | ### | 
| 2294 | 104 | |
| 2426 | 105 | # The place for user configuration, heap files, etc. | 
| 106 | ISABELLE_HOME_USER=~/isabelle | |
| 2294 | 107 | |
| 3177 | 108 | # Where to look for isabelle tools (multiple dirs separated by ':'). | 
| 9787 
fb8c5a66dbe8
more robust handling of spaces in args / file names;
 wenzelm parents: 
9759diff
changeset | 109 | ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools" | 
| 2786 | 110 | |
| 4334 | 111 | # Location for temporary files (should be on a local file system). | 
| 9787 
fb8c5a66dbe8
more robust handling of spaces in args / file names;
 wenzelm parents: 
9759diff
changeset | 112 | ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER" | 
| 4334 | 113 | |
| 9787 
fb8c5a66dbe8
more robust handling of spaces in args / file names;
 wenzelm parents: 
9759diff
changeset | 114 | # Heap input locations. ML system identifier is included in lookup. | 
| 21489 
4ce7425c8372
ISABELLE_PATH/OUTPUT: append ISABELLE_IDENTIFIER if derived from ISABELLE_HOME_USER;
 wenzelm parents: 
21171diff
changeset | 115 | ISABELLE_PATH="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER:$ISABELLE_HOME/heaps" | 
| 2780 | 116 | |
| 9787 
fb8c5a66dbe8
more robust handling of spaces in args / file names;
 wenzelm parents: 
9759diff
changeset | 117 | # Heap output location. ML system identifier is appended automatically later on. | 
| 15846 | 118 | if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then | 
| 119 | #Isabelle build tells us to store heaps etc. within the distribution. | |
| 120 | ISABELLE_OUTPUT="$ISABELLE_HOME/heaps" | |
| 121 | ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info" | |
| 122 | else | |
| 21489 
4ce7425c8372
ISABELLE_PATH/OUTPUT: append ISABELLE_IDENTIFIER if derived from ISABELLE_HOME_USER;
 wenzelm parents: 
21171diff
changeset | 123 | ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER" | 
| 9787 
fb8c5a66dbe8
more robust handling of spaces in args / file names;
 wenzelm parents: 
9759diff
changeset | 124 | ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info" | 
| 15846 | 125 | fi | 
| 2780 | 126 | |
| 16186 | 127 | # Site settings check -- just to make it a little bit harder to copy this file verbatim! | 
| 9225 | 128 | [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \ | 
| 129 |   { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
 | |
| 130 | ||
| 13920 | 131 | |
| 132 | ### | |
| 16875 | 133 | ### default logic | 
| 13920 | 134 | ### | 
| 16186 | 135 | |
| 3184 | 136 | ISABELLE_LOGIC=HOL | 
| 2294 | 137 | |
| 2786 | 138 | |
| 13920 | 139 | ### | 
| 140 | ### Docs | |
| 141 | ### | |
| 2294 | 142 | |
| 16186 | 143 | # Where to look for docs (multiple dirs separated by ':'). | 
| 9787 
fb8c5a66dbe8
more robust handling of spaces in args / file names;
 wenzelm parents: 
9759diff
changeset | 144 | ISABELLE_DOCS="$ISABELLE_HOME/doc" | 
| 2345 | 145 | |
| 16186 | 146 | # Preferred document format | 
| 15703 | 147 | ISABELLE_DOC_FORMAT=pdf | 
| 148 | ||
| 16186 | 149 | # The dvi file viewer | 
| 3062 | 150 | DVI_VIEWER=xdvi | 
| 2426 | 151 | #DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5" | 
| 11103 | 152 | #DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7" | 
| 2476 | 153 | #DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10" | 
| 3062 | 154 | #DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9" | 
| 2345 | 155 | |
| 16186 | 156 | # The pdf file viewer | 
| 15218 | 157 | PDF_VIEWER=acroread | 
| 158 | #PDF_VIEWER=xpdf | |
| 16186 | 159 | #PDF_VIEWER=open #best for Mac users: will open in default PDF viewer | 
| 15218 | 160 | |
| 16186 | 161 | # Printer spool command for PS files | 
| 14933 | 162 | PRINT_COMMAND=lp | 
| 163 | ||
| 2294 | 164 | |
| 2426 | 165 | ### | 
| 166 | ### Interfaces | |
| 167 | ### | |
| 168 | ||
| 13920 | 169 | # Fallback: the null interface (pass-through to raw isabelle process). | 
| 11552 
aca5398ccd35
ISABELLE_INTERFACE=none by default (cannot expect X11 everywhere);
 wenzelm parents: 
11103diff
changeset | 170 | ISABELLE_INTERFACE=none | 
| 2294 | 171 | |
| 13920 | 172 | # Proof General path, look in a variety of places | 
| 17574 
aa9d8483cabc
PROOFGENERAL_OPTIONS: smart fall-back on plain emacs (back again);
 wenzelm parents: 
17522diff
changeset | 173 | ISABELLE_INTERFACE=$(choosefrom \ | 
| 9679 | 174 | "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \ | 
| 175 | "$ISABELLE_HOME/../ProofGeneral/isar/interface" \ | |
| 17119 | 176 | "/usr/local/ProofGeneral/isar/interface" \ | 
| 9787 
fb8c5a66dbe8
more robust handling of spaces in args / file names;
 wenzelm parents: 
9759diff
changeset | 177 | "/usr/share/ProofGeneral/isar/interface" \ | 
| 10070 | 178 | "/opt/ProofGeneral/isar/interface" \ | 
| 9956 
e75e6a603e71
added /usr/share/emacs/ProofGeneral/isar/interface choice;
 wenzelm parents: 
9948diff
changeset | 179 | "/usr/share/emacs/ProofGeneral/isar/interface" \ | 
| 9679 | 180 | "$ISABELLE_INTERFACE") | 
| 13920 | 181 | |
| 5964 | 182 | PROOFGENERAL_OPTIONS="" | 
| 17383 
3eb21fb8c2ec
no longer prefer xemacs, which fails more often than GNU emacs;
 wenzelm parents: 
17119diff
changeset | 183 | #PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true -p xemacs" | 
| 7185 | 184 | |
| 17574 
aa9d8483cabc
PROOFGENERAL_OPTIONS: smart fall-back on plain emacs (back again);
 wenzelm parents: 
17522diff
changeset | 185 | type -path xemacs >/dev/null || \ | 
| 
aa9d8483cabc
PROOFGENERAL_OPTIONS: smart fall-back on plain emacs (back again);
 wenzelm parents: 
17522diff
changeset | 186 | PROOFGENERAL_OPTIONS="-p emacs $PROOFGENERAL_OPTIONS" | 
| 
aa9d8483cabc
PROOFGENERAL_OPTIONS: smart fall-back on plain emacs (back again);
 wenzelm parents: 
17522diff
changeset | 187 | |
| 17383 
3eb21fb8c2ec
no longer prefer xemacs, which fails more often than GNU emacs;
 wenzelm parents: 
17119diff
changeset | 188 | # Automatic setup of remote fonts | 
| 9994 | 189 | #XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200" | 
| 9569 | 190 | |
| 7185 | 191 | |
| 192 | ### | |
| 193 | ### External reasoning tools | |
| 194 | ### | |
| 195 | ||
| 7194 | 196 | ## Set HOME only for tools you have installed! | 
| 7185 | 197 | |
| 17001 | 198 | # HOL4 proof objects (cf. Isabelle/src/HOL/Import) | 
| 199 | HOL4_PROOFS="$PROOF_DIRS:$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs" | |
| 200 | ||
| 7185 | 201 | # SVC (Stanford Validity Checker) | 
| 202 | #SVC_HOME= | |
| 203 | #SVC_MACHINE=i386-redhat-linux | |
| 204 | #SVC_MACHINE=sparc-sun-solaris | |
| 7296 | 205 | |
| 206 | # Mucke (mu-calculus model checker) | |
| 207 | #MUCKE_HOME=/usr/local/bin | |
| 208 | ||
| 209 | # Einhoven model checker | |
| 210 | #EINDHOVEN_HOME=/usr/local/bin | |
| 14451 | 211 | |
| 20033 | 212 | # MiniSat 1.14 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML) | 
| 213 | #MINISAT_HOME=/usr/local/bin | |
| 214 | ||
| 17522 
8d25bb07d8ed
pointers to src/HOL/Tools/sat_solver.ML added in comments
 webertj parents: 
17383diff
changeset | 215 | # zChaff (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML) | 
| 15284 | 216 | #ZCHAFF_HOME=/usr/local/bin | 
| 15331 | 217 | #ZCHAFF_VERSION=2004.5.13 | 
| 218 | #ZCHAFF_VERSION=2004.11.15 | |
| 14942 | 219 | |
| 17522 
8d25bb07d8ed
pointers to src/HOL/Tools/sat_solver.ML added in comments
 webertj parents: 
17383diff
changeset | 220 | # BerkMin561 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML) | 
| 14942 | 221 | #BERKMIN_HOME=/usr/local/bin | 
| 222 | #BERKMIN_EXE=BerkMin561-linux | |
| 223 | #BERKMIN_EXE=BerkMin561-solaris | |
| 14943 | 224 | |
| 17522 
8d25bb07d8ed
pointers to src/HOL/Tools/sat_solver.ML added in comments
 webertj parents: 
17383diff
changeset | 225 | # Jerusat 1.3 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML) | 
| 14943 | 226 | #JERUSAT_HOME=/usr/local/bin | 
| 16419 | 227 | |
| 16873 | 228 | # For configuring HOL/Matrix/cplex | 
| 16966 
37e34f315057
1. changed configuration variables for linear programming (Cplex_tools):
 obua parents: 
16875diff
changeset | 229 | # LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver. | 
| 16873 | 230 | # First option: use the commercial cplex solver | 
| 16968 
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
 wenzelm parents: 
16966diff
changeset | 231 | #LP_SOLVER=CPLEX | 
| 
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
 wenzelm parents: 
16966diff
changeset | 232 | #CPLEX_PATH=cplex | 
| 16873 | 233 | # Second option: use the open source glpk solver | 
| 16968 
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
 wenzelm parents: 
16966diff
changeset | 234 | #LP_SOLVER=GLPK | 
| 
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
 wenzelm parents: 
16966diff
changeset | 235 | #GLPK_PATH=glpsol | 
| 17909 
7540483e9228
moved VAMPIRE_HOME, E_HOME to section "External reasoning tools" -- commented out by default!
 wenzelm parents: 
17905diff
changeset | 236 | |
| 
7540483e9228
moved VAMPIRE_HOME, E_HOME to section "External reasoning tools" -- commented out by default!
 wenzelm parents: 
17905diff
changeset | 237 | # External provers | 
| 
7540483e9228
moved VAMPIRE_HOME, E_HOME to section "External reasoning tools" -- commented out by default!
 wenzelm parents: 
17905diff
changeset | 238 | #VAMPIRE_HOME=/usr/local/Vampire | 
| 
7540483e9228
moved VAMPIRE_HOME, E_HOME to section "External reasoning tools" -- commented out by default!
 wenzelm parents: 
17905diff
changeset | 239 | #E_HOME=/usr/local/E |