etc/settings
author wenzelm
Tue, 21 Oct 2008 21:59:22 +0200
changeset 28657 16bbb7fabe0e
parent 28651 0e3f899eb6cf
child 28658 a03ae929d9c0
permissions -rw-r--r--
make JEDIT_JAVA_OPTIONS and JEDIT_OPTIONS actually work;
     1 # -*- shell-script -*- :mode=shellscript:
     2 # $Id$
     3 #
     4 # Isabelle settings -- site defaults.
     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!
    10 
    11 ###
    12 ### ML compiler settings (ESSENTIAL!)
    13 ###
    14 
    15 # ML_HOME specifies the location of the actual compiler binaries.  Do
    16 # not invent new ML system names unless you know what you are doing.
    17 # Only one of the sections below should be activated.
    18 
    19 # Poly/ML 4.x/5.x (automated settings)
    20 POLY_HOME="$(type -p poly)"; [ -n "$POLY_HOME" ] && POLY_HOME="$(dirname "$POLY_HOME")"
    21 ML_PLATFORM=$("$ISABELLE_HOME/lib/scripts/polyml-platform")
    22 ML_HOME=$(choosefrom \
    23   "$ISABELLE_HOME/contrib/polyml/$ML_PLATFORM" \
    24   "$ISABELLE_HOME/../polyml/$ML_PLATFORM" \
    25   "/usr/local/polyml/$ML_PLATFORM" \
    26   "/usr/share/polyml/$ML_PLATFORM" \
    27   "/opt/polyml/$ML_PLATFORM" \
    28   $POLY_HOME)
    29 ML_SYSTEM=$("$ISABELLE_HOME/lib/scripts/polyml-version")
    30 ML_OPTIONS="-H 200"
    31 ML_DBASE=""
    32 
    33 # Poly/ML 5.1
    34 #ML_PLATFORM=x86-linux
    35 #ML_HOME=/usr/local/polyml/x86-linux
    36 #ML_SYSTEM=polyml-5.1
    37 #ML_OPTIONS="-H 500"
    38 
    39 # Poly/ML 5.1 (64 bit)
    40 #ML_PLATFORM=x86_64-linux
    41 #ML_HOME=/usr/local/polyml/x86_64-linux
    42 #ML_SYSTEM=polyml-5.1
    43 #ML_OPTIONS="-H 1000"
    44 
    45 # Poly/ML 4.2.0
    46 #ML_PLATFORM=x86-linux
    47 #ML_HOME=/usr/local/polyml/x86-linux
    48 #ML_SYSTEM=polyml-4.2.0
    49 #ML_OPTIONS="-H 80"
    50 
    51 # Standard ML of New Jersey (slow!)
    52 #ML_SYSTEM=smlnj-110
    53 #ML_HOME="/usr/local/smlnj/bin"
    54 #ML_OPTIONS="@SMLdebug=/dev/null"
    55 #ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
    56 #SMLNJ_CYGWIN_RUNTIME=1
    57 
    58 # Moscow ML 2.00 (experimental!)
    59 #ML_SYSTEM=mosml
    60 #ML_HOME="/usr/local/mosml/bin"
    61 #ML_OPTIONS=""
    62 #ML_PLATFORM=""
    63 
    64 # Alice 1.4 (experimental!)
    65 #ML_SYSTEM=alice
    66 #ML_HOME="/usr/local/alice/bin"
    67 #ML_OPTIONS=""
    68 #ML_PLATFORM=""
    69 
    70 
    71 ###
    72 ### JVM components (Scala or Java)
    73 ###
    74 
    75 ISABELLE_SCALA="scala"
    76 ISABELLE_JAVA="java"
    77 
    78 [ -e "$ISABELLE_HOME/contrib/scala" ] && \
    79   classpath "$ISABELLE_HOME/contrib/scala/lib/scala-library.jar"
    80 
    81 classpath "$ISABELLE_HOME/lib/classes/Pure.jar"
    82 
    83 
    84 ###
    85 ### Interactive sessions (cf. isabelle tty)
    86 ###
    87 
    88 ISABELLE_LINE_EDITOR=""
    89 [ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)"
    90 [ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)"
    91 
    92 
    93 ###
    94 ### Batch sessions (cf. isabelle usedir)
    95 ###
    96 
    97 ISABELLE_USEDIR_OPTIONS="-p 1 -v true -V outline=/proof,/ML"
    98 
    99 # Specifically for the HOL image
   100 HOL_USEDIR_OPTIONS=""
   101 #HOL_USEDIR_OPTIONS="-p 2"
   102 
   103 #Source file identification (default: full name + date stamp)
   104 ISABELLE_FILE_IDENT=""
   105 #ISABELLE_FILE_IDENT="md5"
   106 #ISABELLE_FILE_IDENT="md5sum"
   107 #ISABELLE_FILE_IDENT="sha1sum"
   108 #ISABELLE_FILE_IDENT="openssl dgst -sha1"
   109 
   110 
   111 ###
   112 ### Document preparation (cf. isabelle latex/document)
   113 ###
   114 
   115 ISABELLE_LATEX="latex"
   116 ISABELLE_PDFLATEX="pdflatex"
   117 ISABELLE_BIBTEX="bibtex"
   118 ISABELLE_MAKEINDEX="makeindex"
   119 ISABELLE_DVIPS="dvips -D 600"
   120 ISABELLE_EPSTOPDF="epstopdf"
   121 
   122 # Paranoia setting for strange latex installations ...
   123 #unset TEXMF
   124 
   125 
   126 ###
   127 ### Misc path settings
   128 ###
   129 
   130 # The place for user configuration, heap files, etc.
   131 ISABELLE_HOME_USER=~/isabelle
   132 
   133 # Where to look for isabelle tools (multiple dirs separated by ':').
   134 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
   135 
   136 # Location for temporary files (should be on a local file system).
   137 ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
   138 
   139 # Heap input locations. ML system identifier is included in lookup.
   140 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER:$ISABELLE_HOME/heaps"
   141 
   142 # Heap output location. ML system identifier is appended automatically later on.
   143 ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER"
   144 ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
   145 
   146 # Site settings check -- just to make it a little bit harder to copy this file verbatim!
   147 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
   148   { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
   149 
   150 
   151 ###
   152 ### Default logic
   153 ###
   154 
   155 ISABELLE_LOGIC=HOL
   156 
   157 
   158 ###
   159 ### Docs
   160 ###
   161 
   162 # Where to look for docs (multiple dirs separated by ':').
   163 ISABELLE_DOCS="$ISABELLE_HOME/doc"
   164 
   165 # Preferred document format
   166 ISABELLE_DOC_FORMAT=pdf
   167 
   168 # The dvi file viewer
   169 DVI_VIEWER=xdvi
   170 #DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
   171 #DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
   172 #DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
   173 #DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
   174 
   175 # The pdf file viewer
   176 if [ $(uname -s) = Darwin ]; then
   177   PDF_VIEWER=open
   178 else
   179   PDF_VIEWER=xpdf
   180 fi
   181 #PDF_VIEWER=acroread
   182 #PDF_VIEWER=evince
   183 
   184 
   185 # Printer spool command for PS files
   186 PRINT_COMMAND=lp
   187 
   188 
   189 ###
   190 ### Interfaces
   191 ###
   192 
   193 # Fallback: the null interface (pass-through to raw isabelle process).
   194 ISABELLE_INTERFACE=none
   195 
   196 ISABELLE_INTERFACE=$(choosefrom \
   197   "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
   198   "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
   199   "/usr/local/ProofGeneral/isar/interface" \
   200   "/usr/share/ProofGeneral/isar/interface" \
   201   "/opt/ProofGeneral/isar/interface" \
   202   "/usr/share/emacs/ProofGeneral/isar/interface" \
   203   "$ISABELLE_INTERFACE")
   204 
   205 
   206 ###
   207 ### Proof General / Emacs
   208 ###
   209 
   210 # Proof General home, look in a variety of places
   211 PROOFGENERAL_HOME=$(choosefrom \
   212   "$ISABELLE_HOME/contrib/ProofGeneral" \
   213   "$ISABELLE_HOME/../ProofGeneral" \
   214   "/usr/local/ProofGeneral" \
   215   "/usr/share/ProofGeneral" \
   216   "/opt/ProofGeneral" \
   217   "")
   218 
   219 PROOFGENERAL_EMACS=$(choosefrom /Applications/Emacs.app/Contents/MacOS/Emacs emacs22)
   220 PROOFGENERAL_OPTIONS="-p $PROOFGENERAL_EMACS"
   221 #PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true -p $PROOFGENERAL_EMACS"
   222 
   223 # Automatic setup of remote fonts
   224 #XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
   225 XSYMBOL_INSTALLFONTS=""
   226 
   227 
   228 ###
   229 ### jEdit
   230 ###
   231 
   232 JEDIT_HOME=$(choosefrom \
   233   "$ISABELLE_HOME/contrib/jedit" \
   234   "$ISABELLE_HOME/../jedit" \
   235   "/usr/local/jedit" \
   236   "/usr/share/jedit" \
   237   "/opt/jedit" \
   238   "")
   239 
   240 JEDIT_JAVA_OPTIONS="-server -Xms128m -Xmx512m"
   241 JEDIT_OPTIONS="-reuseview -noserver -nobackground '-settings=$ISABELLE_HOME_USER/jedit'"
   242 
   243 
   244 ###
   245 ### External reasoning tools
   246 ###
   247 
   248 ## Set HOME only for tools you have installed!
   249 
   250 # External provers
   251 E_HOME=$(choosefrom "$ISABELLE_HOME/contrib/E/$ML_PLATFORM" "/usr/local/E" "")
   252 VAMPIRE_HOME=$(choosefrom "$ISABELLE_HOME/contrib/vampire/$ML_PLATFORM" "/usr/local/Vampire" \
   253   "$ISABELLE_HOME/contrib/SystemOnTPTP" "")
   254 SPASS_HOME=$(choosefrom "$ISABELLE_HOME/contrib/spass/$ML_PLATFORM/bin" "/usr/local/SPASS" "")
   255 
   256 # HOL4 proof objects (cf. Isabelle/src/HOL/Import)
   257 #HOL4_PROOFS="$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs"
   258 
   259 # SVC (Stanford Validity Checker)
   260 #SVC_HOME=
   261 #SVC_MACHINE=i386-redhat-linux
   262 #SVC_MACHINE=sparc-sun-solaris
   263 
   264 # Mucke (mu-calculus model checker)
   265 #MUCKE_HOME=/usr/local/bin
   266 
   267 # Einhoven model checker
   268 #EINDHOVEN_HOME=/usr/local/bin
   269 
   270 # MiniSat 1.14 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   271 #MINISAT_HOME=/usr/local/bin
   272 
   273 # zChaff (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   274 #ZCHAFF_HOME=/usr/local/bin
   275 #ZCHAFF_VERSION=2004.5.13
   276 #ZCHAFF_VERSION=2004.11.15
   277 
   278 # BerkMin561 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   279 #BERKMIN_HOME=/usr/local/bin
   280 #BERKMIN_EXE=BerkMin561-linux
   281 #BERKMIN_EXE=BerkMin561-solaris
   282 
   283 # Jerusat 1.3 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   284 #JERUSAT_HOME=/usr/local/bin
   285 
   286 # For configuring HOL/Matrix/cplex
   287 # LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver.
   288 # First option: use the commercial cplex solver
   289 #LP_SOLVER=CPLEX
   290 #CPLEX_PATH=cplex
   291 # Second option: use the open source glpk solver
   292 #LP_SOLVER=GLPK
   293 #GLPK_PATH=glpsol