etc/settings
author webertj
Tue Jun 15 00:50:10 2004 +0200 (2004-06-15)
changeset 14943 ffdb22cf6f67
parent 14942 78ddcbebace1
child 14981 e73f8140af78
permissions -rw-r--r--
Jerusat settings 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 
    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 # Moscow ML 2.00 or later (experimental!)
    55 #ML_SYSTEM=mosml
    56 #ML_HOME="$ISABELLE_HOME/../mosml/bin"
    57 #ML_PLATFORM=""
    58 #ML_OPTIONS=""
    59 
    60 
    61 ###
    62 ### Compilation options for isatool usedir
    63 ### (as on command line)
    64 ###
    65 
    66 ISABELLE_USEDIR_OPTIONS="-v true"
    67 
    68 # for overriding proof objects in HOL image
    69 HOL_PROOF_OBJECTS=""
    70 
    71 
    72 ###
    73 ### Document preparation
    74 ###
    75 
    76 # latex command for isatool latex/document
    77 ISABELLE_LATEX="latex"
    78 
    79 # pdflatex command for isatool latex/document
    80 ISABELLE_PDFLATEX="pdflatex"
    81 
    82 # bibtex command for isatool latex/document
    83 ISABELLE_BIBTEX="bibtex"
    84 
    85 # makeindex command for isatool latex/document
    86 ISABELLE_MAKEINDEX="makeindex"
    87 
    88 # dvips command for isatool latex/document
    89 ISABELLE_DVIPS="dvips -D 600"
    90 
    91 # epstopdf command for isatool latex/document
    92 ISABELLE_EPSTOPDF="epstopdf"
    93 
    94 # Paranoia setting for strange latex installations ...
    95 #unset TEXMF
    96 
    97 # If ISABELLE_THUMBPDF is set, isatool tries to
    98 # generate thumbnails for proof documents
    99 #
   100 # probably not generally available ...
   101 #type -path thumbpdf >/dev/null && ISABELLE_THUMBPDF="thumbpdf"
   102 
   103 
   104 ###
   105 ### Misc path settings
   106 ###
   107 
   108 # The place for user configuration, heap files, etc.
   109 ISABELLE_HOME_USER=~/isabelle
   110 
   111 # Where to look for isabelle tools (multiple dirs separated by ':').
   112 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
   113 
   114 # Location for temporary files (should be on a local file system).
   115 ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
   116 
   117 
   118 # Heap input locations. ML system identifier is included in lookup.
   119 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
   120 
   121 # Heap output location. ML system identifier is appended automatically later on.
   122 if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then
   123   #Isabelle build tells us to store heaps etc. within the distribution.
   124   ISABELLE_OUTPUT="$ISABELLE_HOME/heaps"
   125   ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info"
   126 else
   127   ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
   128   ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
   129 fi
   130 
   131 # Site settings check -- just to make it a little bit harder to copy this file!
   132 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
   133   { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
   134 
   135 
   136 ###
   137 ### default logic, users may want to override this.
   138 ###
   139 ISABELLE_LOGIC=HOL
   140 
   141 
   142 ###
   143 ### Docs
   144 ###
   145 
   146 #Where to look for docs (multiple dirs separated by ':').
   147 ISABELLE_DOCS="$ISABELLE_HOME/doc"
   148 
   149 #The dvi file viewer
   150 DVI_VIEWER=xdvi
   151 #DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
   152 #DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
   153 #DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
   154 #DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
   155 
   156 #Printer spool command for PS files
   157 PRINT_COMMAND=lp
   158 
   159 
   160 ###
   161 ### Interfaces
   162 ###
   163 
   164 # ISABELLE_INTERFACE is the program which is run by the Isabelle command
   165 
   166 # Fallback: the null interface (pass-through to raw isabelle process).
   167 ISABELLE_INTERFACE=none
   168 
   169 # Emacs running (obsolete) Isamode.
   170 #ISABELLE_INTERFACE=emacs
   171 ISAMODE_HOME="$ISABELLE_HOME/contrib/Isamode"
   172 ISAMODE_OPTIONS=""
   173 
   174 # Proof General path, look in a variety of places
   175 ISABELLE_INTERFACE=$(choosefrom \
   176   "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
   177   "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
   178   "/usr/share/ProofGeneral/isar/interface" \
   179   "/usr/local/ProofGeneral/isar/interface" \
   180   "/opt/ProofGeneral/isar/interface" \
   181   "/usr/share/emacs/ProofGeneral/isar/interface" \
   182   "$ISABELLE_INTERFACE")
   183 
   184 # Options to pass to Isabelle command when PG is selected as interface
   185 PROOFGENERAL_OPTIONS=""
   186 #PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true"
   187 
   188 # try xemacs first, else emacs
   189 type -path xemacs >/dev/null || PROOFGENERAL_OPTIONS="-p emacs $PROOFGENERAL_OPTIONS"
   190 
   191 
   192 # X-Symbol installation location (for Proof General, obsolete for PG >= 3.5)
   193 XSYMBOL_HOME=$(choosefrom \
   194   "$ISABELLE_HOME/contrib/x-symbol" \
   195   "$ISABELLE_HOME/../x-symbol" \
   196   "/usr/share/x-symbol" \
   197   "/usr/local/x-symbol" \
   198   "/opt/x-symbol" \
   199   "")
   200 
   201 # Executed before xemacs with ProofGeneral is called.
   202 # Required for remote fonts only.
   203 #XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
   204 
   205 
   206 ###
   207 ### External reasoning tools
   208 ###
   209 
   210 ## Set HOME only for tools you have installed!
   211 
   212 # SVC (Stanford Validity Checker)
   213 #SVC_HOME=
   214 #SVC_MACHINE=i386-redhat-linux
   215 #SVC_MACHINE=sparc-sun-solaris
   216 
   217 # Mucke (mu-calculus model checker)
   218 #MUCKE_HOME=/usr/local/bin
   219 
   220 # Einhoven model checker
   221 #EINDHOVEN_HOME=/usr/local/bin
   222 
   223 # ZChaff, Version 2003.12.04 (SAT Solver)
   224 #ZCHAFF_HOME=/usr/local/bin
   225 
   226 # BerkMin561 (SAT Solver)
   227 #BERKMIN_HOME=/usr/local/bin
   228 #BERKMIN_EXE=BerkMin561-linux
   229 #BERKMIN_EXE=BerkMin561-solaris
   230 
   231 # Jerusat 1.3 (SAT Solver)
   232 #JERUSAT_HOME=/usr/local/bin