| author | kleing | 
| Wed, 25 May 2005 11:14:59 +0200 | |
| changeset 16076 | 03e8a88c0b54 | 
| parent 15982 | 9d7f3db40b88 | 
| child 16186 | 6eb74e2cec7e | 
| permissions | -rw-r--r-- | 
| 10503 | 1 | # -*- shell-script -*- | 
| 2294 | 2 | # $Id$ | 
| 9818 | 3 | # Author: Markus Wenzel, TU Muenchen | 
| 2294 | 4 | # | 
| 2309 | 5 | # Isabelle settings -- site defaults. | 
| 9225 | 6 | # Do *NOT* copy this file into your personal isabelle directory!!! | 
| 2309 | 7 | |
| 2426 | 8 | ### | 
| 3177 | 9 | ### ML compiler settings (ESSENTIAL!) | 
| 2426 | 10 | ### | 
| 11 | ||
| 9236 | 12 | # Note that ML_HOME specifies the location of the actual compiler | 
| 13 | # binaries. Do not invent new ML system names unless you know what | |
| 9759 | 14 | # you are doing. Only one of the sections below should be activated. | 
| 2426 | 15 | |
| 14461 
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
 kleing parents: 
14451diff
changeset | 16 | |
| 
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
 kleing parents: 
14451diff
changeset | 17 | # try finding the poly packages from the Isabelle site in the usual places | 
| 
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
 kleing parents: 
14451diff
changeset | 18 | POLYML_HOME=$(choosefrom \ | 
| 
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
 kleing parents: 
14451diff
changeset | 19 | "$ISABELLE_HOME/contrib/polyml" \ | 
| 
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
 kleing parents: 
14451diff
changeset | 20 | "$ISABELLE_HOME/../polyml" \ | 
| 
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
 kleing parents: 
14451diff
changeset | 21 | "/usr/share/polyml" \ | 
| 
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
 kleing parents: 
14451diff
changeset | 22 | "/usr/local/polyml" \ | 
| 
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
 kleing parents: 
14451diff
changeset | 23 | "/opt/polyml") | 
| 14447 | 24 | |
| 14461 
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
 kleing parents: 
14451diff
changeset | 25 | if [ -n "$POLYML_HOME" -a -e "$POLYML_HOME/bin/polyml-version" ]; then | 
| 
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
 kleing parents: 
14451diff
changeset | 26 | # looks like Isabelle poly packages | 
| 
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
 kleing parents: 
14451diff
changeset | 27 |   ML_SYSTEM=$("$POLYML_HOME/bin/polyml-version" 2>/dev/null || echo polyml)
 | 
| 
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
 kleing parents: 
14451diff
changeset | 28 |   ML_PLATFORM=$("$POLYML_HOME/bin/polyml-platform" 2>/dev/null || echo unknown-platform)
 | 
| 
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
 kleing parents: 
14451diff
changeset | 29 | ML_HOME="$POLYML_HOME/$ML_PLATFORM" | 
| 
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
 kleing parents: 
14451diff
changeset | 30 | ML_OPTIONS="-h 15000" | 
| 
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
 kleing parents: 
14451diff
changeset | 31 | elif [ -e /usr/bin/poly -a -e /usr/lib/poly ]; then | 
| 
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
 kleing parents: 
14451diff
changeset | 32 | # maybe a shrink-wrapped polyml on x86-linux ... | 
| 
fab539f843d9
look for multi platform poly first, choose shrink wrapped poly-4.1.3 (guess) only
 kleing parents: 
14451diff
changeset | 33 | |
| 14613 | 34 | # Poly/ML 4.0, 4.1, 4.1.x | 
| 14447 | 35 | # include version number, needed for choosing right options | 
| 15734 
56a807868e23
Include automatic determination of poly version.
 aspinall parents: 
15717diff
changeset | 36 | # If automatic setting doesn't work, use e.g. ML_VERSION=4.1.3 | 
| 15865 
222092a48131
removed --version which is not a valid polyml flag and has no effect
 gagern parents: 
15846diff
changeset | 37 | ML_VERSION=$(echo "OS.Process.exit OS.Process.success;" | /usr/bin/poly | sed -n 's,.*Poly/ML[ ]*\([^ ]*\)[ ]*Release,\1,p') | 
| 15734 
56a807868e23
Include automatic determination of poly version.
 aspinall parents: 
15717diff
changeset | 38 |   ML_SYSTEM=polyml-${ML_VERSION}
 | 
| 14447 | 39 | # processor/OS type | 
| 10205 
7f3d844c9512
even smarter setup for several installations of Poly/ML 3.x and 4.0;
 wenzelm parents: 
10070diff
changeset | 40 | ML_PLATFORM=x86-linux | 
| 14447 | 41 | # where to find binaries | 
| 10205 
7f3d844c9512
even smarter setup for several installations of Poly/ML 3.x and 4.0;
 wenzelm parents: 
10070diff
changeset | 42 | ML_HOME=/usr/bin | 
| 14447 | 43 | # where to find the standard database | 
| 10205 
7f3d844c9512
even smarter setup for several installations of Poly/ML 3.x and 4.0;
 wenzelm parents: 
10070diff
changeset | 44 | ML_DBASE=/usr/lib/poly/ML_dbase | 
| 14447 | 45 | # options to pass to poly | 
| 12752 | 46 | ML_OPTIONS="-h 15000" | 
| 10205 
7f3d844c9512
even smarter setup for several installations of Poly/ML 3.x and 4.0;
 wenzelm parents: 
10070diff
changeset | 47 | fi | 
| 8345 | 48 | |
| 5708 | 49 | # Standard ML of New Jersey 110 or later | 
| 8345 | 50 | #ML_SYSTEM=smlnj-110 | 
| 15846 | 51 | #ML_HOME="$ISABELLE_HOME/contrib/smlnj/bin" | 
| 8345 | 52 | #ML_OPTIONS="@SMLdebug=/dev/null" | 
| 9787 
fb8c5a66dbe8
more robust handling of spaces in args / file names;
 wenzelm parents: 
9759diff
changeset | 53 | #ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
 | 
| 5708 | 54 | |
| 9252 | 55 | # Moscow ML 2.00 or later (experimental!) | 
| 56 | #ML_SYSTEM=mosml | |
| 15846 | 57 | #ML_HOME="$ISABELLE_HOME/contrib/mosml/bin" | 
| 6413 | 58 | #ML_PLATFORM="" | 
| 9252 | 59 | #ML_OPTIONS="" | 
| 5708 | 60 | |
| 2294 | 61 | |
| 2426 | 62 | ### | 
| 15881 
dcce46230131
added antiquotations typeof, const, term_style, thm_style, term_type (something still to be done)
 haftmann parents: 
15880diff
changeset | 63 | ### Compilation options for isatool usedir | 
| 13920 | 64 | ### (as on command line) | 
| 2435 | 65 | ### | 
| 66 | ||
| 14253 | 67 | ISABELLE_USEDIR_OPTIONS="-v true" | 
| 11569 | 68 | |
| 14044 
bbd2f7b00736
set HOL_PROOF_OBJECTS in settings, not makefile (makes override in user settings possible)
 kleing parents: 
13920diff
changeset | 69 | # for overriding proof objects in HOL image | 
| 
bbd2f7b00736
set HOL_PROOF_OBJECTS in settings, not makefile (makes override in user settings possible)
 kleing parents: 
13920diff
changeset | 70 | HOL_PROOF_OBJECTS="" | 
| 
bbd2f7b00736
set HOL_PROOF_OBJECTS in settings, not makefile (makes override in user settings possible)
 kleing parents: 
13920diff
changeset | 71 | |
| 2435 | 72 | |
| 73 | ### | |
| 7773 | 74 | ### Document preparation | 
| 75 | ### | |
| 76 | ||
| 13920 | 77 | # latex command for isatool latex/document | 
| 7773 | 78 | ISABELLE_LATEX="latex" | 
| 13920 | 79 | |
| 80 | # pdflatex command for isatool latex/document | |
| 7773 | 81 | ISABELLE_PDFLATEX="pdflatex" | 
| 13920 | 82 | |
| 83 | # bibtex command for isatool latex/document | |
| 7813 | 84 | ISABELLE_BIBTEX="bibtex" | 
| 13920 | 85 | |
| 14344 | 86 | # makeindex command for isatool latex/document | 
| 87 | ISABELLE_MAKEINDEX="makeindex" | |
| 88 | ||
| 13920 | 89 | # dvips command for isatool latex/document | 
| 7773 | 90 | ISABELLE_DVIPS="dvips -D 600" | 
| 13920 | 91 | |
| 92 | # epstopdf command for isatool latex/document | |
| 11800 | 93 | ISABELLE_EPSTOPDF="epstopdf" | 
| 7773 | 94 | |
| 13920 | 95 | # Paranoia setting for strange latex installations ... | 
| 11062 | 96 | #unset TEXMF | 
| 97 | ||
| 13920 | 98 | # If ISABELLE_THUMBPDF is set, isatool tries to | 
| 99 | # generate thumbnails for proof documents | |
| 100 | # | |
| 101 | # probably not generally available ... | |
| 11062 | 102 | #type -path thumbpdf >/dev/null && ISABELLE_THUMBPDF="thumbpdf" | 
| 7864 | 103 | |
| 7773 | 104 | |
| 105 | ### | |
| 2968 | 106 | ### Misc path settings | 
| 2426 | 107 | ### | 
| 2294 | 108 | |
| 2426 | 109 | # The place for user configuration, heap files, etc. | 
| 110 | ISABELLE_HOME_USER=~/isabelle | |
| 2294 | 111 | |
| 3177 | 112 | # 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 | 113 | ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools" | 
| 2786 | 114 | |
| 4334 | 115 | # 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 | 116 | ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER" | 
| 4334 | 117 | |
| 2786 | 118 | |
| 9787 
fb8c5a66dbe8
more robust handling of spaces in args / file names;
 wenzelm parents: 
9759diff
changeset | 119 | # Heap input locations. ML system identifier is included in lookup. | 
| 
fb8c5a66dbe8
more robust handling of spaces in args / file names;
 wenzelm parents: 
9759diff
changeset | 120 | ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps" | 
| 2780 | 121 | |
| 9787 
fb8c5a66dbe8
more robust handling of spaces in args / file names;
 wenzelm parents: 
9759diff
changeset | 122 | # Heap output location. ML system identifier is appended automatically later on. | 
| 15846 | 123 | if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then | 
| 124 | #Isabelle build tells us to store heaps etc. within the distribution. | |
| 125 | ISABELLE_OUTPUT="$ISABELLE_HOME/heaps" | |
| 126 | ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info" | |
| 127 | else | |
| 9787 
fb8c5a66dbe8
more robust handling of spaces in args / file names;
 wenzelm parents: 
9759diff
changeset | 128 | ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps" | 
| 
fb8c5a66dbe8
more robust handling of spaces in args / file names;
 wenzelm parents: 
9759diff
changeset | 129 | ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info" | 
| 15846 | 130 | fi | 
| 2780 | 131 | |
| 9225 | 132 | # Site settings check -- just to make it a little bit harder to copy this file! | 
| 133 | [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \ | |
| 134 |   { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
 | |
| 135 | ||
| 13920 | 136 | |
| 137 | ### | |
| 138 | ### default logic, users may want to override this. | |
| 139 | ### | |
| 3184 | 140 | ISABELLE_LOGIC=HOL | 
| 2294 | 141 | |
| 2786 | 142 | |
| 13920 | 143 | ### | 
| 144 | ### Docs | |
| 145 | ### | |
| 2294 | 146 | |
| 3177 | 147 | #Where to look for docs (multiple dirs separated by ':'). | 
| 9787 
fb8c5a66dbe8
more robust handling of spaces in args / file names;
 wenzelm parents: 
9759diff
changeset | 148 | ISABELLE_DOCS="$ISABELLE_HOME/doc" | 
| 2345 | 149 | |
| 15703 | 150 | #Preferred document format | 
| 151 | ISABELLE_DOC_FORMAT=pdf | |
| 152 | ||
| 3177 | 153 | #The dvi file viewer | 
| 3062 | 154 | DVI_VIEWER=xdvi | 
| 2426 | 155 | #DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5" | 
| 11103 | 156 | #DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7" | 
| 2476 | 157 | #DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10" | 
| 3062 | 158 | #DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9" | 
| 2345 | 159 | |
| 15218 | 160 | #The pdf file viewer | 
| 161 | PDF_VIEWER=acroread | |
| 162 | #PDF_VIEWER=xpdf | |
| 15501 | 163 | #PDF_VIEWER=open ##best for Mac users: will open in default PDF viewer | 
| 15218 | 164 | |
| 14933 | 165 | #Printer spool command for PS files | 
| 166 | PRINT_COMMAND=lp | |
| 167 | ||
| 2294 | 168 | |
| 2426 | 169 | ### | 
| 170 | ### Interfaces | |
| 171 | ### | |
| 172 | ||
| 13920 | 173 | # ISABELLE_INTERFACE is the program which is run by the Isabelle command | 
| 174 | ||
| 175 | # 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 | 176 | ISABELLE_INTERFACE=none | 
| 2294 | 177 | |
| 13920 | 178 | # Proof General path, look in a variety of places | 
| 15779 
aed221aff642
Removed remaining references to Main.thy in reconstruction code.
 quigley parents: 
15734diff
changeset | 179 | ISABELLE_INTERFACE=$(choosefrom\ | 
| 9679 | 180 | "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \ | 
| 181 | "$ISABELLE_HOME/../ProofGeneral/isar/interface" \ | |
| 9787 
fb8c5a66dbe8
more robust handling of spaces in args / file names;
 wenzelm parents: 
9759diff
changeset | 182 | "/usr/share/ProofGeneral/isar/interface" \ | 
| 9948 | 183 | "/usr/local/ProofGeneral/isar/interface" \ | 
| 10070 | 184 | "/opt/ProofGeneral/isar/interface" \ | 
| 9956 
e75e6a603e71
added /usr/share/emacs/ProofGeneral/isar/interface choice;
 wenzelm parents: 
9948diff
changeset | 185 | "/usr/share/emacs/ProofGeneral/isar/interface" \ | 
| 9679 | 186 | "$ISABELLE_INTERFACE") | 
| 13920 | 187 | |
| 188 | # Options to pass to Isabelle command when PG is selected as interface | |
| 5964 | 189 | PROOFGENERAL_OPTIONS="" | 
| 11981 | 190 | #PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true" | 
| 7185 | 191 | |
| 13920 | 192 | # try xemacs first, else emacs | 
| 12476 | 193 | type -path xemacs >/dev/null || PROOFGENERAL_OPTIONS="-p emacs $PROOFGENERAL_OPTIONS" | 
| 194 | ||
| 195 | ||
| 13920 | 196 | # X-Symbol installation location (for Proof General, obsolete for PG >= 3.5) | 
| 9679 | 197 | XSYMBOL_HOME=$(choosefrom \ | 
| 198 | "$ISABELLE_HOME/contrib/x-symbol" \ | |
| 199 | "$ISABELLE_HOME/../x-symbol" \ | |
| 9787 
fb8c5a66dbe8
more robust handling of spaces in args / file names;
 wenzelm parents: 
9759diff
changeset | 200 | "/usr/share/x-symbol" \ | 
| 9948 | 201 | "/usr/local/x-symbol" \ | 
| 10070 | 202 | "/opt/x-symbol" \ | 
| 9679 | 203 | "") | 
| 13920 | 204 | |
| 205 | # Executed before xemacs with ProofGeneral is called. | |
| 206 | # Required for remote fonts only. | |
| 9994 | 207 | #XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200" | 
| 9569 | 208 | |
| 7185 | 209 | |
| 210 | ### | |
| 211 | ### External reasoning tools | |
| 212 | ### | |
| 213 | ||
| 7194 | 214 | ## Set HOME only for tools you have installed! | 
| 7185 | 215 | |
| 216 | # SVC (Stanford Validity Checker) | |
| 217 | #SVC_HOME= | |
| 218 | #SVC_MACHINE=i386-redhat-linux | |
| 219 | #SVC_MACHINE=sparc-sun-solaris | |
| 7296 | 220 | |
| 221 | # Mucke (mu-calculus model checker) | |
| 222 | #MUCKE_HOME=/usr/local/bin | |
| 223 | ||
| 224 | # Einhoven model checker | |
| 225 | #EINDHOVEN_HOME=/usr/local/bin | |
| 14451 | 226 | |
| 15331 | 227 | # zChaff (SAT Solver) | 
| 15284 | 228 | #ZCHAFF_HOME=/usr/local/bin | 
| 15331 | 229 | #ZCHAFF_VERSION=2004.5.13 | 
| 230 | #ZCHAFF_VERSION=2004.11.15 | |
| 14942 | 231 | |
| 232 | # BerkMin561 (SAT Solver) | |
| 233 | #BERKMIN_HOME=/usr/local/bin | |
| 234 | #BERKMIN_EXE=BerkMin561-linux | |
| 235 | #BERKMIN_EXE=BerkMin561-solaris | |
| 14943 | 236 | |
| 237 | # Jerusat 1.3 (SAT Solver) | |
| 238 | #JERUSAT_HOME=/usr/local/bin | |
| 15717 | 239 |