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