| author | blanchet | 
| Wed, 28 Apr 2010 22:00:48 +0200 | |
| changeset 36552 | 2c042d86c711 | 
| parent 36212 | ebfa4bb0d50f | 
| child 37058 | c47653f3ec14 | 
| 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: 
16966diff
changeset | 14 | # ML_HOME specifies the location of the actual compiler binaries. Do | 
| 
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
 wenzelm parents: 
16966diff
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: 
16966diff
changeset | 16 | # Only one of the sections below should be activated. | 
| 14447 | 17 | |
| 31308 | 18 | # Poly/ML 5.x (automated settings) | 
| 16968 
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
 wenzelm parents: 
16966diff
changeset | 19 | POLY_HOME="$(type -p poly)"; [ -n "$POLY_HOME" ] && POLY_HOME="$(dirname "$POLY_HOME")" | 
| 36201 
07d4f74abd12
polyml-platform script is superseded by ISABELLE_PLATFORM;
 wenzelm parents: 
36193diff
changeset | 20 | ML_PLATFORM="$ISABELLE_PLATFORM" | 
| 16968 
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
 wenzelm parents: 
16966diff
changeset | 21 | ML_HOME=$(choosefrom \ | 
| 
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
 wenzelm parents: 
16966diff
changeset | 22 | "$ISABELLE_HOME/contrib/polyml/$ML_PLATFORM" \ | 
| 
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
 wenzelm parents: 
16966diff
changeset | 23 | "$ISABELLE_HOME/../polyml/$ML_PLATFORM" \ | 
| 17119 | 24 | "/usr/local/polyml/$ML_PLATFORM" \ | 
| 16968 
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
 wenzelm parents: 
16966diff
changeset | 25 | "/usr/share/polyml/$ML_PLATFORM" \ | 
| 
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
 wenzelm parents: 
16966diff
changeset | 26 | "/opt/polyml/$ML_PLATFORM" \ | 
| 
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
 wenzelm parents: 
16966diff
changeset | 27 | $POLY_HOME) | 
| 
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
 wenzelm parents: 
16966diff
changeset | 28 | 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: 
25347diff
changeset | 29 | ML_OPTIONS="-H 200" | 
| 31436 | 30 | ML_SOURCES="$ML_HOME/../src" | 
| 8345 | 31 | |
| 33538 
edf497b5b5d2
setup for official Poly/ML 5.3.0, which is now the default;
 wenzelm parents: 
33502diff
changeset | 32 | # Poly/ML 5.3.0 | 
| 25347 | 33 | #ML_PLATFORM=x86-linux | 
| 34 | #ML_HOME=/usr/local/polyml/x86-linux | |
| 33538 
edf497b5b5d2
setup for official Poly/ML 5.3.0, which is now the default;
 wenzelm parents: 
33502diff
changeset | 35 | #ML_SYSTEM=polyml-5.3.0 | 
| 25347 | 36 | #ML_OPTIONS="-H 500" | 
| 33538 
edf497b5b5d2
setup for official Poly/ML 5.3.0, which is now the default;
 wenzelm parents: 
33502diff
changeset | 37 | #ML_SOURCES="$ML_HOME/../src" | 
| 25347 | 38 | |
| 33538 
edf497b5b5d2
setup for official Poly/ML 5.3.0, which is now the default;
 wenzelm parents: 
33502diff
changeset | 39 | # Poly/ML 5.3.0 (64 bit) | 
| 20764 | 40 | #ML_PLATFORM=x86_64-linux | 
| 41 | #ML_HOME=/usr/local/polyml/x86_64-linux | |
| 33538 
edf497b5b5d2
setup for official Poly/ML 5.3.0, which is now the default;
 wenzelm parents: 
33502diff
changeset | 42 | #ML_SYSTEM=polyml-5.3.0 | 
| 24479 
b272d7998193
added POLYML_LINK_OPTIONS, which is required for unusual platforms (notably cygwin);
 wenzelm parents: 
24439diff
changeset | 43 | #ML_OPTIONS="-H 1000" | 
| 31444 | 44 | #ML_SOURCES="$ML_HOME/../src" | 
| 45 | ||
| 25347 | 46 | # Standard ML of New Jersey (slow!) | 
| 8345 | 47 | #ML_SYSTEM=smlnj-110 | 
| 25347 | 48 | #ML_HOME="/usr/local/smlnj/bin" | 
| 33502 
cf392b693385
tuned ML_OPTIONS for SML/NJ -- for improved performance;
 wenzelm parents: 
32426diff
changeset | 49 | #ML_OPTIONS="@SMLdebug=/dev/null @SMLalloc=256" | 
| 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")
 | 
| 25347 | 51 | #SMLNJ_CYGWIN_RUNTIME=1 | 
| 5708 | 52 | |
| 2294 | 53 | |
| 2426 | 54 | ### | 
| 27906 | 55 | ### JVM components (Scala or Java) | 
| 56 | ### | |
| 57 | ||
| 36212 
ebfa4bb0d50f
refer to THIS_JAVA dynamically, and treat ISABELLE_JAVA as static default -- relevant for nested JVM invocation within an existing Isabelle enviroment;
 wenzelm parents: 
36201diff
changeset | 58 | ISABELLE_JAVA="java" | 
| 27912 | 59 | ISABELLE_SCALA="scala" | 
| 60 | ||
| 31918 | 61 | [ -z "$SCALA_HOME" ] && SCALA_HOME=$(choosefrom \ | 
| 31923 | 62 | "$ISABELLE_HOME/contrib/scala" \ | 
| 63 | "$ISABELLE_HOME/../scala" \ | |
| 31918 | 64 | "") | 
| 31923 | 65 | |
| 31918 | 66 | [ -n "$SCALA_HOME" ] && ISABELLE_SCALA="$SCALA_HOME/bin/scala" | 
| 27921 | 67 | |
| 27906 | 68 | classpath "$ISABELLE_HOME/lib/classes/Pure.jar" | 
| 69 | ||
| 70 | ||
| 71 | ### | |
| 28504 
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
 wenzelm parents: 
28474diff
changeset | 72 | ### Interactive sessions (cf. isabelle tty) | 
| 25627 | 73 | ### | 
| 74 | ||
| 75 | ISABELLE_LINE_EDITOR="" | |
| 26205 
499f08293680
ISABELLE_LINE_EDITOR: prefer rlwrap, which passes interrupts properly;
 wenzelm parents: 
25970diff
changeset | 76 | [ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)" | 
| 25627 | 77 | [ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)" | 
| 78 | ||
| 79 | ||
| 80 | ### | |
| 28504 
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
 wenzelm parents: 
28474diff
changeset | 81 | ### Batch sessions (cf. isabelle usedir) | 
| 2435 | 82 | ### | 
| 83 | ||
| 32292 | 84 | ISABELLE_USEDIR_OPTIONS="-M max -p 1 -q 2 -v true -V outline=/proof,/ML" | 
| 11569 | 85 | |
| 23837 
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
 wenzelm parents: 
23138diff
changeset | 86 | #Source file identification (default: full name + date stamp) | 
| 
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
 wenzelm parents: 
23138diff
changeset | 87 | ISABELLE_FILE_IDENT="" | 
| 
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
 wenzelm parents: 
23138diff
changeset | 88 | #ISABELLE_FILE_IDENT="md5" | 
| 
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
 wenzelm parents: 
23138diff
changeset | 89 | #ISABELLE_FILE_IDENT="md5sum" | 
| 
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
 wenzelm parents: 
23138diff
changeset | 90 | #ISABELLE_FILE_IDENT="sha1sum" | 
| 
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
 wenzelm parents: 
23138diff
changeset | 91 | #ISABELLE_FILE_IDENT="openssl dgst -sha1" | 
| 
55b89b14d871
added ISABELLE_FILE_IDENT (command line for source file identification);
 wenzelm parents: 
23138diff
changeset | 92 | |
| 2435 | 93 | |
| 94 | ### | |
| 28504 
7ad7d7d6df47
simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
 wenzelm parents: 
28474diff
changeset | 95 | ### Document preparation (cf. isabelle latex/document) | 
| 7773 | 96 | ### | 
| 97 | ||
| 98 | ISABELLE_LATEX="latex" | |
| 99 | ISABELLE_PDFLATEX="pdflatex" | |
| 7813 | 100 | ISABELLE_BIBTEX="bibtex" | 
| 14344 | 101 | ISABELLE_MAKEINDEX="makeindex" | 
| 7773 | 102 | ISABELLE_DVIPS="dvips -D 600" | 
| 11800 | 103 | ISABELLE_EPSTOPDF="epstopdf" | 
| 7773 | 104 | |
| 13920 | 105 | # Paranoia setting for strange latex installations ... | 
| 11062 | 106 | #unset TEXMF | 
| 107 | ||
| 7773 | 108 | |
| 109 | ### | |
| 2968 | 110 | ### Misc path settings | 
| 2426 | 111 | ### | 
| 2294 | 112 | |
| 2426 | 113 | # The place for user configuration, heap files, etc. | 
| 28914 
f993cbffc42a
default for ISABELLE_HOME_USER is now ~/.isabelle instead of ~/isabelle;
 wenzelm parents: 
28659diff
changeset | 114 | ISABELLE_HOME_USER=~/.isabelle | 
| 2294 | 115 | |
| 3177 | 116 | # 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 | 117 | ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools" | 
| 2786 | 118 | |
| 4334 | 119 | # 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 | 120 | ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER" | 
| 4334 | 121 | |
| 9787 
fb8c5a66dbe8
more robust handling of spaces in args / file names;
 wenzelm parents: 
9759diff
changeset | 122 | # 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 | 123 | ISABELLE_PATH="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER:$ISABELLE_HOME/heaps" | 
| 2780 | 124 | |
| 9787 
fb8c5a66dbe8
more robust handling of spaces in args / file names;
 wenzelm parents: 
9759diff
changeset | 125 | # Heap output location. ML system identifier is appended automatically later on. | 
| 26212 | 126 | ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER" | 
| 127 | ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info" | |
| 2780 | 128 | |
| 16186 | 129 | # Site settings check -- just to make it a little bit harder to copy this file verbatim! | 
| 9225 | 130 | [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \ | 
| 131 |   { 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: 
32292diff
changeset | 132 | ISABELLE_SITE_SETTINGS_PRESENT=true | 
| 9225 | 133 | |
| 13920 | 134 | |
| 135 | ### | |
| 28651 | 136 | ### Default logic | 
| 13920 | 137 | ### | 
| 16186 | 138 | |
| 3184 | 139 | ISABELLE_LOGIC=HOL | 
| 2294 | 140 | |
| 2786 | 141 | |
| 13920 | 142 | ### | 
| 143 | ### Docs | |
| 144 | ### | |
| 2294 | 145 | |
| 16186 | 146 | # Where to look for docs (multiple dirs separated by ':'). | 
| 9787 
fb8c5a66dbe8
more robust handling of spaces in args / file names;
 wenzelm parents: 
9759diff
changeset | 147 | ISABELLE_DOCS="$ISABELLE_HOME/doc" | 
| 2345 | 148 | |
| 16186 | 149 | # Preferred document format | 
| 15703 | 150 | ISABELLE_DOC_FORMAT=pdf | 
| 151 | ||
| 16186 | 152 | # The dvi file viewer | 
| 3062 | 153 | DVI_VIEWER=xdvi | 
| 2426 | 154 | #DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5" | 
| 11103 | 155 | #DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7" | 
| 2476 | 156 | #DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10" | 
| 3062 | 157 | #DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9" | 
| 2345 | 158 | |
| 16186 | 159 | # The pdf file viewer | 
| 23138 | 160 | if [ $(uname -s) = Darwin ]; then | 
| 32426 | 161 | PDF_VIEWER="open -W -n" | 
| 23138 | 162 | else | 
| 163 | PDF_VIEWER=xpdf | |
| 164 | fi | |
| 165 | #PDF_VIEWER=acroread | |
| 166 | #PDF_VIEWER=evince | |
| 167 | ||
| 15218 | 168 | |
| 16186 | 169 | # Printer spool command for PS files | 
| 14933 | 170 | PRINT_COMMAND=lp | 
| 171 | ||
| 2294 | 172 | |
| 2426 | 173 | ### | 
| 28651 | 174 | ### Proof General / Emacs | 
| 175 | ### | |
| 176 | ||
| 28249 | 177 | # Proof General home, look in a variety of places | 
| 178 | PROOFGENERAL_HOME=$(choosefrom \ | |
| 179 | "$ISABELLE_HOME/contrib/ProofGeneral" \ | |
| 180 | "$ISABELLE_HOME/../ProofGeneral" \ | |
| 181 | "/usr/local/ProofGeneral" \ | |
| 182 | "/usr/share/ProofGeneral" \ | |
| 183 | "/opt/ProofGeneral" \ | |
| 184 | "") | |
| 185 | ||
| 29149 
eae45c2a6811
more sophisticated MacOS interface script (mostly for Carbon Emacs);
 wenzelm parents: 
29145diff
changeset | 186 | PROOFGENERAL_OPTIONS="" | 
| 
eae45c2a6811
more sophisticated MacOS interface script (mostly for Carbon Emacs);
 wenzelm parents: 
29145diff
changeset | 187 | #PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets" | 
| 17574 
aa9d8483cabc
PROOFGENERAL_OPTIONS: smart fall-back on plain emacs (back again);
 wenzelm parents: 
17522diff
changeset | 188 | |
| 17383 
3eb21fb8c2ec
no longer prefer xemacs, which fails more often than GNU emacs;
 wenzelm parents: 
17119diff
changeset | 189 | # Automatic setup of remote fonts | 
| 9994 | 190 | #XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200" | 
| 28249 | 191 | XSYMBOL_INSTALLFONTS="" | 
| 7185 | 192 | |
| 28651 | 193 | |
| 194 | ### | |
| 7185 | 195 | ### External reasoning tools | 
| 196 | ### | |
| 197 | ||
| 7194 | 198 | ## Set HOME only for tools you have installed! | 
| 7185 | 199 | |
| 26212 | 200 | # External provers | 
| 33921 
4c188a74e362
deactivated default for E_HOME, SPASS_HOME -- now configured as components;
 wenzelm parents: 
33538diff
changeset | 201 | #E_HOME=/usr/local/bin | 
| 
4c188a74e362
deactivated default for E_HOME, SPASS_HOME -- now configured as components;
 wenzelm parents: 
33538diff
changeset | 202 | #SPASS_HOME=/usr/local/bin | 
| 
4c188a74e362
deactivated default for E_HOME, SPASS_HOME -- now configured as components;
 wenzelm parents: 
33538diff
changeset | 203 | #VAMPIRE_HOME=/usr/local/bin | 
| 26212 | 204 | |
| 17001 | 205 | # HOL4 proof objects (cf. Isabelle/src/HOL/Import) | 
| 26212 | 206 | #HOL4_PROOFS="$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs" | 
| 17001 | 207 | |
| 7185 | 208 | # SVC (Stanford Validity Checker) | 
| 209 | #SVC_HOME= | |
| 210 | #SVC_MACHINE=i386-redhat-linux | |
| 211 | #SVC_MACHINE=sparc-sun-solaris | |
| 7296 | 212 | |
| 213 | # Mucke (mu-calculus model checker) | |
| 214 | #MUCKE_HOME=/usr/local/bin | |
| 215 | ||
| 216 | # Einhoven model checker | |
| 217 | #EINDHOVEN_HOME=/usr/local/bin | |
| 14451 | 218 | |
| 20033 | 219 | # MiniSat 1.14 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML) | 
| 220 | #MINISAT_HOME=/usr/local/bin | |
| 221 | ||
| 17522 
8d25bb07d8ed
pointers to src/HOL/Tools/sat_solver.ML added in comments
 webertj parents: 
17383diff
changeset | 222 | # zChaff (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML) | 
| 15284 | 223 | #ZCHAFF_HOME=/usr/local/bin | 
| 14942 | 224 | |
| 17522 
8d25bb07d8ed
pointers to src/HOL/Tools/sat_solver.ML added in comments
 webertj parents: 
17383diff
changeset | 225 | # BerkMin561 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML) | 
| 14942 | 226 | #BERKMIN_HOME=/usr/local/bin | 
| 227 | #BERKMIN_EXE=BerkMin561-linux | |
| 228 | #BERKMIN_EXE=BerkMin561-solaris | |
| 14943 | 229 | |
| 17522 
8d25bb07d8ed
pointers to src/HOL/Tools/sat_solver.ML added in comments
 webertj parents: 
17383diff
changeset | 230 | # Jerusat 1.3 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML) | 
| 14943 | 231 | #JERUSAT_HOME=/usr/local/bin | 
| 16419 | 232 | |
| 32332 | 233 | # CSDP (SDP Solver, cf. Isabelle/src/HOL/Library/Sum_of_Squares/sos_wrapper.ML) | 
| 234 | #CSDP_EXE=csdp | |
| 235 | ||
| 16873 | 236 | # For configuring HOL/Matrix/cplex | 
| 16966 
37e34f315057
1. changed configuration variables for linear programming (Cplex_tools):
 obua parents: 
16875diff
changeset | 237 | # LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver. | 
| 16873 | 238 | # First option: use the commercial cplex solver | 
| 16968 
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
 wenzelm parents: 
16966diff
changeset | 239 | #LP_SOLVER=CPLEX | 
| 
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
 wenzelm parents: 
16966diff
changeset | 240 | #CPLEX_PATH=cplex | 
| 16873 | 241 | # Second option: use the open source glpk solver | 
| 16968 
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
 wenzelm parents: 
16966diff
changeset | 242 | #LP_SOLVER=GLPK | 
| 
5cb40c8b1f10
polyml: use polyml-platform/version from Isabelle distribution;
 wenzelm parents: 
16966diff
changeset | 243 | #GLPK_PATH=glpsol |