1 # -*- shell-script -*- :mode=shellscript:
3 # Isabelle settings -- distribution defaults.
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 ~/.isabelle directory!
11 ### ML compiler settings (ESSENTIAL!)
14 # ML_HOME specifies the location of the actual compiler binaries. Do
15 # not invent new ML system names unless you know what you are doing.
16 # Only one of the sections below should be activated.
18 # Poly/ML default (automated settings)
19 ML_PLATFORM="$ISABELLE_PLATFORM"
20 ML_HOME="$(choosefrom \
21 "$ISABELLE_HOME/contrib/polyml/$ML_PLATFORM" \
22 "$ISABELLE_HOME/../polyml/$ML_PLATFORM" \
23 "/usr/local/polyml/$ML_PLATFORM" \
24 "/usr/share/polyml/$ML_PLATFORM" \
25 "/opt/polyml/$ML_PLATFORM" \
27 ML_SYSTEM=$("$ISABELLE_HOME/lib/scripts/polyml-version")
29 ML_SOURCES="$ML_HOME/../src"
31 # Poly/ML 32 bit (manual settings)
32 #ML_SYSTEM=polyml-5.4.1
33 #ML_PLATFORM="$ISABELLE_PLATFORM"
34 #ML_HOME="$ISABELLE_HOME/contrib/$ML_SYSTEM/$ML_PLATFORM"
36 #ML_SOURCES="$ML_HOME/../src"
38 # Poly/ML 64 bit (manual settings)
39 #ML_SYSTEM=polyml-5.4.1
40 #ML_PLATFORM="${ISABELLE_PLATFORM64:-$ISABELLE_PLATFORM}"
41 #ML_HOME="$ISABELLE_HOME/contrib/$ML_SYSTEM/$ML_PLATFORM"
43 #ML_SOURCES="$ML_HOME/../src"
45 # Standard ML of New Jersey (slow!)
47 #ML_HOME="/usr/local/smlnj/bin"
48 #ML_OPTIONS="@SMLdebug=/dev/null @SMLalloc=256"
49 #ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
50 #SMLNJ_CYGWIN_RUNTIME=1
54 ### JVM components (Scala or Java)
57 ISABELLE_SCALA_BUILD_OPTIONS="-nowarn -target:jvm-1.5"
61 ### Interactive sessions (cf. isabelle tty)
64 ISABELLE_LINE_EDITOR=""
65 [ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)"
66 [ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)"
70 ### Batch sessions (cf. isabelle usedir)
73 ISABELLE_USEDIR_OPTIONS="-M max -p 1 -q 2 -v true -V outline=/proof,/ML"
77 ### Document preparation (cf. isabelle latex/document)
80 ISABELLE_LATEX="latex"
81 ISABELLE_PDFLATEX="pdflatex"
82 ISABELLE_BIBTEX="bibtex"
83 ISABELLE_MAKEINDEX="makeindex"
84 ISABELLE_DVIPS="dvips -D 600"
85 ISABELLE_EPSTOPDF="epstopdf"
87 # Paranoia setting for strange latex installations ...
92 ### Misc path settings
95 # The place for user configuration, heap files, etc.
96 ISABELLE_HOME_USER="$USER_HOME/.isabelle/${ISABELLE_IDENTIFIER:-.}"
98 # Where to look for isabelle tools (multiple dirs separated by ':').
99 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
101 # Location for temporary files (should be on a local file system).
102 ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
104 # Heap input locations. ML system identifier is included in lookup.
105 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
107 # Heap output location. ML system identifier is appended automatically later on.
108 ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
109 ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
111 # Site settings check -- just to make it a little bit harder to copy this file verbatim!
112 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
113 { echo >&2 "### Isabelle site settings already present! Maybe copied etc/settings in full?"; }
114 ISABELLE_SITE_SETTINGS_PRESENT=true
128 # Where to look for docs (multiple dirs separated by ':').
129 ISABELLE_DOCS="$ISABELLE_HOME/doc"
131 # Preferred document format
132 ISABELLE_DOC_FORMAT=pdf
134 # The dvi file viewer
136 #DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
137 #DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
138 #DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
139 #DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
141 # The pdf file viewer
142 case "$ISABELLE_PLATFORM" in
144 PDF_VIEWER="xdg-open"
147 PDF_VIEWER="open -W -n"
150 PDF_VIEWER="cygstart"
155 # Printer spool command for PS files
160 ### Proof General / Emacs
163 # Proof General home, look in a variety of places
164 PROOFGENERAL_HOME="$(choosefrom \
165 "$ISABELLE_HOME/contrib/ProofGeneral" \
166 "$ISABELLE_HOME/../ProofGeneral" \
167 "/usr/local/ProofGeneral" \
168 "/usr/share/ProofGeneral" \
169 "/opt/ProofGeneral" \
172 PROOFGENERAL_OPTIONS=""
173 #PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets"
177 ### Rendering information
180 ISABELLE_FONTS="$ISABELLE_HOME/lib/fonts/IsabelleText.ttf:$ISABELLE_HOME/lib/fonts/IsabelleTextBold.ttf"
181 ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols"
185 ### Old-style settings for some external tools
188 ## Set HOME only for tools you have installed!
190 # SVC (Stanford Validity Checker)
192 #SVC_MACHINE=i386-redhat-linux
193 #SVC_MACHINE=sparc-sun-solaris
195 # MiniSat 1.14 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
196 #MINISAT_HOME=/usr/local/bin
198 # zChaff (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
199 #ZCHAFF_HOME=/usr/local/bin
201 # BerkMin561 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
202 #BERKMIN_HOME=/usr/local/bin
203 #BERKMIN_EXE=BerkMin561-linux
204 #BERKMIN_EXE=BerkMin561-solaris
206 # Jerusat 1.3 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
207 #JERUSAT_HOME=/usr/local/bin
209 # For configuring HOL/Matrix/cplex
210 # LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver.
211 # First option: use the commercial cplex solver
214 # Second option: use the open source glpk solver
218 # Misc programming languages
219 #ISABELLE_GHC="/usr/bin/ghc"
220 #ISABELLE_OCAML="/usr/bin/ocaml"
221 #ISABELLE_SWIPL="/usr/bin/swipl"