etc/settings
author kleing
Mon Jun 21 10:25:57 2004 +0200 (2004-06-21)
changeset 14981 e73f8140af78
parent 14943 ffdb22cf6f67
child 15218 39747a9e3c37
permissions -rw-r--r--
Merged in license change from Isabelle2004
     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 #Printer spool command for PS files
   156 PRINT_COMMAND=lp
   157 
   158 
   159 ###
   160 ### Interfaces
   161 ###
   162 
   163 # ISABELLE_INTERFACE is the program which is run by the Isabelle command
   164 
   165 # Fallback: the null interface (pass-through to raw isabelle process).
   166 ISABELLE_INTERFACE=none
   167 
   168 # Emacs running (obsolete) Isamode.
   169 #ISABELLE_INTERFACE=emacs
   170 ISAMODE_HOME="$ISABELLE_HOME/contrib/Isamode"
   171 ISAMODE_OPTIONS=""
   172 
   173 # Proof General path, look in a variety of places
   174 ISABELLE_INTERFACE=$(choosefrom \
   175   "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
   176   "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
   177   "/usr/share/ProofGeneral/isar/interface" \
   178   "/usr/local/ProofGeneral/isar/interface" \
   179   "/opt/ProofGeneral/isar/interface" \
   180   "/usr/share/emacs/ProofGeneral/isar/interface" \
   181   "$ISABELLE_INTERFACE")
   182 
   183 # Options to pass to Isabelle command when PG is selected as interface
   184 PROOFGENERAL_OPTIONS=""
   185 #PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true"
   186 
   187 # try xemacs first, else emacs
   188 type -path xemacs >/dev/null || PROOFGENERAL_OPTIONS="-p emacs $PROOFGENERAL_OPTIONS"
   189 
   190 
   191 # X-Symbol installation location (for Proof General, obsolete for PG >= 3.5)
   192 XSYMBOL_HOME=$(choosefrom \
   193   "$ISABELLE_HOME/contrib/x-symbol" \
   194   "$ISABELLE_HOME/../x-symbol" \
   195   "/usr/share/x-symbol" \
   196   "/usr/local/x-symbol" \
   197   "/opt/x-symbol" \
   198   "")
   199 
   200 # Executed before xemacs with ProofGeneral is called.
   201 # Required for remote fonts only.
   202 #XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
   203 
   204 
   205 ###
   206 ### External reasoning tools
   207 ###
   208 
   209 ## Set HOME only for tools you have installed!
   210 
   211 # SVC (Stanford Validity Checker)
   212 #SVC_HOME=
   213 #SVC_MACHINE=i386-redhat-linux
   214 #SVC_MACHINE=sparc-sun-solaris
   215 
   216 # Mucke (mu-calculus model checker)
   217 #MUCKE_HOME=/usr/local/bin
   218 
   219 # Einhoven model checker
   220 #EINDHOVEN_HOME=/usr/local/bin
   221 
   222 # ZChaff, Version 2003.12.04 (SAT Solver)
   223 #ZCHAFF_HOME=/usr/local/bin
   224 
   225 # BerkMin561 (SAT Solver)
   226 #BERKMIN_HOME=/usr/local/bin
   227 #BERKMIN_EXE=BerkMin561-linux
   228 #BERKMIN_EXE=BerkMin561-solaris
   229 
   230 # Jerusat 1.3 (SAT Solver)
   231 #JERUSAT_HOME=/usr/local/bin