etc/settings
author webertj
Sun, 14 Nov 2004 01:56:58 +0100
changeset 15284 f14c6c057172
parent 15283 f21466450330
child 15331 3e85549f25f5
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="$ISABELLE_HOME/../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 #The dvi file viewer
   149 DVI_VIEWER=xdvi
   150 #DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
   151 #DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
   152 #DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
   153 #DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
   154 
   155 #The pdf file viewer
   156 PDF_VIEWER=acroread
   157 #PDF_VIEWER=xpdf
   158 #PDF_VIEWER=xpdf    ##best for Mac users: will open in preferred PDF app.
   159 
   160 #Printer spool command for PS files
   161 PRINT_COMMAND=lp
   162 
   163 
   164 ###
   165 ### Interfaces
   166 ###
   167 
   168 # ISABELLE_INTERFACE is the program which is run by the Isabelle command
   169 
   170 # Fallback: the null interface (pass-through to raw isabelle process).
   171 ISABELLE_INTERFACE=none
   172 
   173 # Emacs running (obsolete) Isamode.
   174 #ISABELLE_INTERFACE=emacs
   175 ISAMODE_HOME="$ISABELLE_HOME/contrib/Isamode"
   176 ISAMODE_OPTIONS=""
   177 
   178 # Proof General path, look in a variety of places
   179 ISABELLE_INTERFACE=$(choosefrom \
   180   "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
   181   "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
   182   "/usr/share/ProofGeneral/isar/interface" \
   183   "/usr/local/ProofGeneral/isar/interface" \
   184   "/opt/ProofGeneral/isar/interface" \
   185   "/usr/share/emacs/ProofGeneral/isar/interface" \
   186   "$ISABELLE_INTERFACE")
   187 
   188 # Options to pass to Isabelle command when PG is selected as interface
   189 PROOFGENERAL_OPTIONS=""
   190 #PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true"
   191 
   192 # try xemacs first, else emacs
   193 type -path xemacs >/dev/null || PROOFGENERAL_OPTIONS="-p emacs $PROOFGENERAL_OPTIONS"
   194 
   195 
   196 # X-Symbol installation location (for Proof General, obsolete for PG >= 3.5)
   197 XSYMBOL_HOME=$(choosefrom \
   198   "$ISABELLE_HOME/contrib/x-symbol" \
   199   "$ISABELLE_HOME/../x-symbol" \
   200   "/usr/share/x-symbol" \
   201   "/usr/local/x-symbol" \
   202   "/opt/x-symbol" \
   203   "")
   204 
   205 # Executed before xemacs with ProofGeneral is called.
   206 # Required for remote fonts only.
   207 #XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
   208 
   209 
   210 ###
   211 ### External reasoning tools
   212 ###
   213 
   214 ## Set HOME only for tools you have installed!
   215 
   216 # SVC (Stanford Validity Checker)
   217 #SVC_HOME=
   218 #SVC_MACHINE=i386-redhat-linux
   219 #SVC_MACHINE=sparc-sun-solaris
   220 
   221 # Mucke (mu-calculus model checker)
   222 #MUCKE_HOME=/usr/local/bin
   223 
   224 # Einhoven model checker
   225 #EINDHOVEN_HOME=/usr/local/bin
   226 
   227 # ZChaff, Version 2004.05.13 (SAT Solver)
   228 #ZCHAFF_HOME=/usr/local/bin
   229 
   230 # BerkMin561 (SAT Solver)
   231 #BERKMIN_HOME=/usr/local/bin
   232 #BERKMIN_EXE=BerkMin561-linux
   233 #BERKMIN_EXE=BerkMin561-solaris
   234 
   235 # Jerusat 1.3 (SAT Solver)
   236 #JERUSAT_HOME=/usr/local/bin