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