etc/settings
author webertj
Wed Mar 10 20:21:08 2004 +0100 (2004-03-10)
changeset 14451 2253d273d944
parent 14447 5b61dc4eab24
child 14461 fab539f843d9
permissions -rw-r--r--
ZCHAFF_HOME variable added
     1 # -*- shell-script -*-
     2 # $Id$
     3 # Author: Markus Wenzel, TU Muenchen
     4 # License: GPL (GNU GENERAL PUBLIC LICENSE)
     5 #
     6 # Isabelle settings -- site defaults.
     7 # Do *NOT* copy this file into your personal isabelle directory!!!
     8 
     9 ###
    10 ### ML compiler settings (ESSENTIAL!)
    11 ###
    12 
    13 # Note that ML_HOME specifies the location of the actual compiler
    14 # binaries.  Do not invent new ML system names unless you know what
    15 # you are doing.  Only one of the sections below should be activated.
    16 
    17 # Poly/ML 3.x, 4.0, 4.1, 4.1.1, 4.1.2
    18 if [ -e /usr/bin/poly -a -e /usr/lib/poly ]; then
    19   #maybe a shrink-wrapped polyml on x86-linux ...
    20 
    21   # include version number, needed for choosing right options
    22   ML_SYSTEM=polyml-4.1.3    
    23   # processor/OS type
    24   ML_PLATFORM=x86-linux
    25   # where to find binaries
    26   ML_HOME=/usr/bin
    27   # where to find the standard database
    28   ML_DBASE=/usr/lib/poly/ML_dbase
    29   # options to pass to poly
    30   ML_OPTIONS="-h 15000"
    31 else
    32   #... or rather a self-contained multi-platform installation
    33   POLYML_HOME=$(choosefrom \
    34     "$ISABELLE_HOME/contrib/polyml" \
    35     "$ISABELLE_HOME/../polyml" \
    36     "/usr/share/polyml" \
    37     "/usr/local/polyml" \
    38     "/opt/polyml")
    39   ML_SYSTEM=$("$POLYML_HOME/bin/polyml-version" 2>/dev/null || echo polyml)
    40   ML_PLATFORM=$("$POLYML_HOME/bin/polyml-platform" 2>/dev/null || echo unknown-platform)
    41   ML_HOME="$POLYML_HOME/$ML_PLATFORM"
    42   ML_OPTIONS="-h 15000"
    43 fi
    44 
    45 # Standard ML of New Jersey 110 or later
    46 #ML_SYSTEM=smlnj-110
    47 #ML_HOME="$ISABELLE_HOME/../smlnj/bin"
    48 #ML_OPTIONS="@SMLdebug=/dev/null"
    49 #ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
    50 
    51 # MLWorks 2.0
    52 #ML_SYSTEM=mlworks
    53 #ML_HOME="$ISABELLE_HOME/../mlworks/bin"
    54 #ML_OPTIONS=""
    55 #ML_PLATFORM=""
    56 
    57 # Moscow ML 2.00 or later (experimental!)
    58 #ML_SYSTEM=mosml
    59 #ML_HOME="$ISABELLE_HOME/../mosml/bin"
    60 #ML_PLATFORM=""
    61 #ML_OPTIONS=""
    62 
    63 # Standard ML of New Jersey 0.93
    64 #ML_SYSTEM=smlnj-0.93
    65 #ML_HOME=/usr/local/ldist/DIR/sml-0.93/src
    66 #ML_OPTIONS=""
    67 #ML_PLATFORM=""
    68 
    69 
    70 ###
    71 ### Compilation options for isatool usedir
    72 ### (as on command line)
    73 ###
    74 
    75 ISABELLE_USEDIR_OPTIONS="-v true"
    76 
    77 # for overriding proof objects in HOL image
    78 HOL_PROOF_OBJECTS=""
    79 
    80 
    81 ###
    82 ### Document preparation
    83 ###
    84 
    85 # latex command for isatool latex/document
    86 ISABELLE_LATEX="latex"
    87 
    88 # pdflatex command for isatool latex/document
    89 ISABELLE_PDFLATEX="pdflatex"
    90 
    91 # bibtex command for isatool latex/document
    92 ISABELLE_BIBTEX="bibtex"
    93 
    94 # makeindex command for isatool latex/document
    95 ISABELLE_MAKEINDEX="makeindex"
    96 
    97 # dvips command for isatool latex/document
    98 ISABELLE_DVIPS="dvips -D 600"
    99 
   100 # epstopdf command for isatool latex/document
   101 ISABELLE_EPSTOPDF="epstopdf"
   102 
   103 # Paranoia setting for strange latex installations ...
   104 #unset TEXMF
   105 
   106 # If ISABELLE_THUMBPDF is set, isatool tries to
   107 # generate thumbnails for proof documents
   108 #
   109 # probably not generally available ...
   110 #type -path thumbpdf >/dev/null && ISABELLE_THUMBPDF="thumbpdf"
   111 
   112 
   113 ###
   114 ### Misc path settings
   115 ###
   116 
   117 # The place for user configuration, heap files, etc.
   118 ISABELLE_HOME_USER=~/isabelle
   119 
   120 # Where to look for isabelle tools (multiple dirs separated by ':').
   121 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
   122 
   123 # Location for temporary files (should be on a local file system).
   124 ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
   125 
   126 
   127 # Heap input locations. ML system identifier is included in lookup.
   128 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
   129 
   130 # Heap output location. ML system identifier is appended automatically later on.
   131 if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then
   132   #Isabelle build tells us to store heaps etc. within the distribution.
   133   ISABELLE_OUTPUT="$ISABELLE_HOME/heaps"
   134   ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info"
   135 else
   136   ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
   137   ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
   138 fi
   139 
   140 # Site settings check -- just to make it a little bit harder to copy this file!
   141 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
   142   { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
   143 
   144 
   145 ###
   146 ### default logic, users may want to override this.
   147 ###
   148 ISABELLE_LOGIC=HOL
   149 
   150 
   151 ###
   152 ### Docs
   153 ###
   154 
   155 #Where to look for docs (multiple dirs separated by ':').
   156 ISABELLE_DOCS="$ISABELLE_HOME/doc"
   157 
   158 #The dvi file viewer
   159 DVI_VIEWER=xdvi
   160 #DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
   161 #DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
   162 #DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
   163 #DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
   164 
   165 
   166 ###
   167 ### Interfaces
   168 ###
   169 
   170 # ISABELLE_INTERFACE is the program which is run by the Isabelle command
   171 
   172 # Fallback: the null interface (pass-through to raw isabelle process).
   173 ISABELLE_INTERFACE=none
   174 
   175 # Emacs running (obsolete) Isamode.
   176 #ISABELLE_INTERFACE=emacs
   177 ISAMODE_HOME="$ISABELLE_HOME/contrib/Isamode"
   178 ISAMODE_OPTIONS=""
   179 
   180 # Proof General path, look in a variety of places
   181 ISABELLE_INTERFACE=$(choosefrom \
   182   "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
   183   "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
   184   "/usr/share/ProofGeneral/isar/interface" \
   185   "/usr/local/ProofGeneral/isar/interface" \
   186   "/opt/ProofGeneral/isar/interface" \
   187   "/usr/share/emacs/ProofGeneral/isar/interface" \
   188   "$ISABELLE_INTERFACE")
   189 
   190 # Options to pass to Isabelle command when PG is selected as interface
   191 PROOFGENERAL_OPTIONS=""
   192 #PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true"
   193 
   194 # try xemacs first, else emacs
   195 type -path xemacs >/dev/null || PROOFGENERAL_OPTIONS="-p emacs $PROOFGENERAL_OPTIONS"
   196 
   197 
   198 # X-Symbol installation location (for Proof General, obsolete for PG >= 3.5)
   199 XSYMBOL_HOME=$(choosefrom \
   200   "$ISABELLE_HOME/contrib/x-symbol" \
   201   "$ISABELLE_HOME/../x-symbol" \
   202   "/usr/share/x-symbol" \
   203   "/usr/local/x-symbol" \
   204   "/opt/x-symbol" \
   205   "")
   206 
   207 # Executed before xemacs with ProofGeneral is called.
   208 # Required for remote fonts only.
   209 #XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
   210 
   211 
   212 ###
   213 ### External reasoning tools
   214 ###
   215 
   216 ## Set HOME only for tools you have installed!
   217 
   218 # SVC (Stanford Validity Checker)
   219 #SVC_HOME=
   220 #SVC_MACHINE=i386-redhat-linux
   221 #SVC_MACHINE=sparc-sun-solaris
   222 
   223 # Mucke (mu-calculus model checker)
   224 #MUCKE_HOME=/usr/local/bin
   225 
   226 # Einhoven model checker
   227 #EINDHOVEN_HOME=/usr/local/bin
   228 
   229 # ZChaff SAT solver
   230 #ZCHAFF_HOME=/usr/local/bin