etc/settings
author wenzelm
Wed, 11 Oct 2006 22:56:10 +0200
changeset 20987 d1674119d0f9
parent 20764 4aa5c89b933e
child 21171 7b4fb2a2c75e
permissions -rw-r--r--
increased heap size for polyml-4.9.1;
     1 # -*- shell-script -*-
     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 (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 80"
    31 ML_DBASE=""
    32 
    33 # Poly/ML 4.2.0 (manual settings)
    34 #ML_PLATFORM=x86-linux
    35 #ML_HOME=/usr/local/polyml/x86-linux
    36 #ML_SYSTEM=polyml-4.2.0
    37 #ML_OPTIONS="-H 80"
    38 
    39 # Poly/ML 4.9.1 (experimental!)
    40 #ML_PLATFORM=x86_64-linux
    41 #ML_HOME=/usr/local/polyml/x86_64-linux
    42 #ML_SYSTEM=polyml-4.9.1
    43 #ML_OPTIONS="-H 500"
    44 
    45 # Standard ML of New Jersey 110 or later
    46 #SMLNJ_CYGWIN_RUNTIME=1
    47 #ML_SYSTEM=smlnj-110
    48 #ML_HOME="$ISABELLE_HOME/contrib/smlnj/bin"
    49 #ML_OPTIONS="@SMLdebug=/dev/null"
    50 #ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
    51 
    52 # Moscow ML 2.00 or later (experimental!)
    53 #ML_SYSTEM=mosml
    54 #ML_HOME="$ISABELLE_HOME/contrib/mosml/bin"
    55 #ML_OPTIONS=""
    56 #ML_PLATFORM=""
    57 
    58 # Poplog/PML version 15.6/2.1 (experimental!)
    59 #ML_SYSTEM=poplogml
    60 #ML_HOME="/usr/local/poplog/current-poplog/bin"
    61 #ML_OPTIONS="-noinit"
    62 #ML_SUFFIX=".psv"
    63 #ML_PLATFORM=""
    64 
    65 
    66 ###
    67 ### Compilation options (cf. isatool usedir)
    68 ###
    69 
    70 ISABELLE_USEDIR_OPTIONS="-v true -V outline=/proof,/ML"
    71 
    72 # Specifically for the HOL image
    73 HOL_USEDIR_OPTIONS=""
    74 
    75 
    76 ###
    77 ### Document preparation (cf. isatool latex/document)
    78 ###
    79 
    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"
    86 
    87 # Paranoia setting for strange latex installations ...
    88 #unset TEXMF
    89 
    90 # If ISABELLE_THUMBPDF is set, isatool tries to
    91 # generate thumbnails for proof documents
    92 #type -path thumbpdf >/dev/null && ISABELLE_THUMBPDF="thumbpdf"
    93 
    94 
    95 ###
    96 ### Misc path settings
    97 ###
    98 
    99 # The place for user configuration, heap files, etc.
   100 ISABELLE_HOME_USER=~/isabelle
   101 
   102 # Where to look for isabelle tools (multiple dirs separated by ':').
   103 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
   104 
   105 # Location for temporary files (should be on a local file system).
   106 ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
   107 
   108 # Heap input locations. ML system identifier is included in lookup.
   109 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
   110 
   111 # Heap output location. ML system identifier is appended automatically later on.
   112 if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then
   113   #Isabelle build tells us to store heaps etc. within the distribution.
   114   ISABELLE_OUTPUT="$ISABELLE_HOME/heaps"
   115   ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info"
   116 else
   117   ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
   118   ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
   119 fi
   120 
   121 # Site settings check -- just to make it a little bit harder to copy this file verbatim!
   122 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
   123   { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
   124 
   125 
   126 ###
   127 ### default logic
   128 ###
   129 
   130 ISABELLE_LOGIC=HOL
   131 
   132 
   133 ###
   134 ### Docs
   135 ###
   136 
   137 # Where to look for docs (multiple dirs separated by ':').
   138 ISABELLE_DOCS="$ISABELLE_HOME/doc"
   139 
   140 # Preferred document format
   141 ISABELLE_DOC_FORMAT=pdf
   142 
   143 # The dvi file viewer
   144 DVI_VIEWER=xdvi
   145 #DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
   146 #DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
   147 #DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
   148 #DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
   149 
   150 # The pdf file viewer
   151 PDF_VIEWER=acroread
   152 #PDF_VIEWER=xpdf
   153 #PDF_VIEWER=open  #best for Mac users: will open in default PDF viewer
   154 
   155 # Printer spool command for PS files
   156 PRINT_COMMAND=lp
   157 
   158 
   159 ###
   160 ### Interfaces
   161 ###
   162 
   163 # Fallback: the null interface (pass-through to raw isabelle process).
   164 ISABELLE_INTERFACE=none
   165 
   166 # Proof General path, look in a variety of places
   167 ISABELLE_INTERFACE=$(choosefrom \
   168   "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
   169   "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
   170   "/usr/local/ProofGeneral/isar/interface" \
   171   "/usr/share/ProofGeneral/isar/interface" \
   172   "/opt/ProofGeneral/isar/interface" \
   173   "/usr/share/emacs/ProofGeneral/isar/interface" \
   174   "$ISABELLE_INTERFACE")
   175 
   176 PROOFGENERAL_OPTIONS=""
   177 #PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true -p xemacs"
   178 
   179 type -path xemacs >/dev/null || \
   180   PROOFGENERAL_OPTIONS="-p emacs $PROOFGENERAL_OPTIONS"
   181 
   182 # Automatic setup of remote fonts
   183 #XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
   184 
   185 
   186 ###
   187 ### External reasoning tools
   188 ###
   189 
   190 ## Set HOME only for tools you have installed!
   191 
   192 # HOL4 proof objects (cf. Isabelle/src/HOL/Import)
   193 HOL4_PROOFS="$PROOF_DIRS:$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs"
   194 
   195 # SVC (Stanford Validity Checker)
   196 #SVC_HOME=
   197 #SVC_MACHINE=i386-redhat-linux
   198 #SVC_MACHINE=sparc-sun-solaris
   199 
   200 # Mucke (mu-calculus model checker)
   201 #MUCKE_HOME=/usr/local/bin
   202 
   203 # Einhoven model checker
   204 #EINDHOVEN_HOME=/usr/local/bin
   205 
   206 # MiniSat 1.14 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   207 #MINISAT_HOME=/usr/local/bin
   208 
   209 # zChaff (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   210 #ZCHAFF_HOME=/usr/local/bin
   211 #ZCHAFF_VERSION=2004.5.13
   212 #ZCHAFF_VERSION=2004.11.15
   213 
   214 # BerkMin561 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   215 #BERKMIN_HOME=/usr/local/bin
   216 #BERKMIN_EXE=BerkMin561-linux
   217 #BERKMIN_EXE=BerkMin561-solaris
   218 
   219 # Jerusat 1.3 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   220 #JERUSAT_HOME=/usr/local/bin
   221 
   222 # For configuring HOL/Matrix/cplex
   223 # LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver.
   224 # First option: use the commercial cplex solver
   225 #LP_SOLVER=CPLEX
   226 #CPLEX_PATH=cplex
   227 # Second option: use the open source glpk solver
   228 #LP_SOLVER=GLPK
   229 #GLPK_PATH=glpsol
   230 
   231 # External provers
   232 #VAMPIRE_HOME=/usr/local/Vampire
   233 #E_HOME=/usr/local/E