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