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