etc/settings
author kleing
Fri Oct 31 06:54:22 2003 +0100 (2003-10-31)
changeset 14253 91a64a93bdb4
parent 14252 650d9a02add9
child 14344 0f0a2148a099
permissions -rw-r--r--
fixed
     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 # Poly/ML 3.x, 4.0, 4.1, 4.1.1, 4.1.2
    18 if [ -e /usr/bin/poly -a -e /usr/lib/poly ]; then
    19   #maybe a shrink-wrapped polyml-4.1.2 on x86-linux ...
    20   ML_SYSTEM=polyml-4.1.2
    21   ML_PLATFORM=x86-linux
    22   ML_HOME=/usr/bin
    23   ML_DBASE=/usr/lib/poly/ML_dbase
    24   ML_OPTIONS="-h 15000"
    25 else
    26   #... or rather a self-contained multi-platform installation
    27   POLYML_HOME=$(choosefrom \
    28     "$ISABELLE_HOME/contrib/polyml" \
    29     "$ISABELLE_HOME/../polyml" \
    30     "/usr/share/polyml" \
    31     "/usr/local/polyml" \
    32     "/opt/polyml")
    33   ML_SYSTEM=$("$POLYML_HOME/bin/polyml-version" 2>/dev/null || echo polyml)
    34   ML_PLATFORM=$("$POLYML_HOME/bin/polyml-platform" 2>/dev/null || echo unknown-platform)
    35   ML_HOME="$POLYML_HOME/$ML_PLATFORM"
    36   ML_OPTIONS="-h 15000"
    37 fi
    38 
    39 # Standard ML of New Jersey 110 or later
    40 #ML_SYSTEM=smlnj-110
    41 #ML_HOME="$ISABELLE_HOME/../smlnj/bin"
    42 #ML_OPTIONS="@SMLdebug=/dev/null"
    43 #ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
    44 
    45 # MLWorks 2.0
    46 #ML_SYSTEM=mlworks
    47 #ML_HOME="$ISABELLE_HOME/../mlworks/bin"
    48 #ML_OPTIONS=""
    49 #ML_PLATFORM=""
    50 
    51 # Moscow ML 2.00 or later (experimental!)
    52 #ML_SYSTEM=mosml
    53 #ML_HOME="$ISABELLE_HOME/../mosml/bin"
    54 #ML_PLATFORM=""
    55 #ML_OPTIONS=""
    56 
    57 # Standard ML of New Jersey 0.93
    58 #ML_SYSTEM=smlnj-0.93
    59 #ML_HOME=/usr/local/ldist/DIR/sml-0.93/src
    60 #ML_OPTIONS=""
    61 #ML_PLATFORM=""
    62 
    63 
    64 ###
    65 ### Compilation options for isatool usedir
    66 ### (as on command line)
    67 ###
    68 
    69 ISABELLE_USEDIR_OPTIONS="-v true"
    70 
    71 # for overriding proof objects in HOL image
    72 HOL_PROOF_OBJECTS=""
    73 
    74 
    75 ###
    76 ### Document preparation
    77 ###
    78 
    79 # latex command for isatool latex/document
    80 ISABELLE_LATEX="latex"
    81 
    82 # pdflatex command for isatool latex/document
    83 ISABELLE_PDFLATEX="pdflatex"
    84 
    85 # bibtex command for isatool latex/document
    86 ISABELLE_BIBTEX="bibtex"
    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 
   157 ###
   158 ### Interfaces
   159 ###
   160 
   161 # ISABELLE_INTERFACE is the program which is run by the Isabelle command
   162 
   163 # Fallback: the null interface (pass-through to raw isabelle process).
   164 ISABELLE_INTERFACE=none
   165 
   166 # Emacs running (obsolete) Isamode.
   167 #ISABELLE_INTERFACE=emacs
   168 ISAMODE_HOME="$ISABELLE_HOME/contrib/Isamode"
   169 ISAMODE_OPTIONS=""
   170 
   171 # Proof General path, look in a variety of places
   172 ISABELLE_INTERFACE=$(choosefrom \
   173   "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
   174   "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
   175   "/usr/share/ProofGeneral/isar/interface" \
   176   "/usr/local/ProofGeneral/isar/interface" \
   177   "/opt/ProofGeneral/isar/interface" \
   178   "/usr/share/emacs/ProofGeneral/isar/interface" \
   179   "$ISABELLE_INTERFACE")
   180 
   181 # Options to pass to Isabelle command when PG is selected as interface
   182 PROOFGENERAL_OPTIONS=""
   183 #PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true"
   184 
   185 # try xemacs first, else emacs
   186 type -path xemacs >/dev/null || PROOFGENERAL_OPTIONS="-p emacs $PROOFGENERAL_OPTIONS"
   187 
   188 
   189 # X-Symbol installation location (for Proof General, obsolete for PG >= 3.5)
   190 XSYMBOL_HOME=$(choosefrom \
   191   "$ISABELLE_HOME/contrib/x-symbol" \
   192   "$ISABELLE_HOME/../x-symbol" \
   193   "/usr/share/x-symbol" \
   194   "/usr/local/x-symbol" \
   195   "/opt/x-symbol" \
   196   "")
   197 
   198 # Executed before xemacs with ProofGeneral is called.
   199 # Required for remote fonts only.
   200 #XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
   201 
   202 
   203 ###
   204 ### External reasoning tools
   205 ###
   206 
   207 ## Set HOME only for tools you have installed!
   208 
   209 # SVC (Stanford Validity Checker)
   210 #SVC_HOME=
   211 #SVC_MACHINE=i386-redhat-linux
   212 #SVC_MACHINE=sparc-sun-solaris
   213 
   214 # Mucke (mu-calculus model checker)
   215 #MUCKE_HOME=/usr/local/bin
   216 
   217 # Einhoven model checker
   218 #EINDHOVEN_HOME=/usr/local/bin