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