etc/settings
author Walther Neuper <neuper@ist.tugraz.at>
Thu, 12 Aug 2010 15:03:34 +0200
branchisac-from-Isabelle2009-2
changeset 37913 20e3616b2d9c
parent 37175 6feaab4fc27d
child 40633 e4c9e0dad473
permissions -rw-r--r--
prepare reactivation of isac-update-Isa09-2
     1 # -*- shell-script -*- :mode=shellscript:
     2 #
     3 # Isabelle settings -- site defaults.
     4 #
     5 # Important notes:
     6 #   * See the system manual for explanations on Isabelle settings
     7 #   * DO NOT EDIT the repository copy of this file!
     8 #   * DO NOT COPY this file into your personal isabelle directory!
     9 
    10 ###
    11 ### ML compiler settings (ESSENTIAL!)
    12 ###
    13 
    14 # ML_HOME specifies the location of the actual compiler binaries.  Do
    15 # not invent new ML system names unless you know what you are doing.
    16 # Only one of the sections below should be activated.
    17 
    18 # Poly/ML 5.x (automated settings)
    19 POLY_HOME="$(type -p poly)"; [ -n "$POLY_HOME" ] && POLY_HOME="$(dirname "$POLY_HOME")"
    20 ML_PLATFORM="$ISABELLE_PLATFORM"
    21 ML_HOME=$(choosefrom \
    22   "$ISABELLE_HOME/contrib/polyml/$ML_PLATFORM" \
    23   "$ISABELLE_HOME/../polyml/$ML_PLATFORM" \
    24   "/usr/local/polyml/$ML_PLATFORM" \
    25   "/usr/share/polyml/$ML_PLATFORM" \
    26   "/opt/polyml/$ML_PLATFORM" \
    27   $POLY_HOME)
    28 ML_SYSTEM=$("$ISABELLE_HOME/lib/scripts/polyml-version")
    29 ML_OPTIONS="-H 200"
    30 ML_SOURCES="$ML_HOME/../src"
    31 
    32 # Poly/ML 5.3.0
    33 #ML_PLATFORM=x86-linux
    34 #ML_HOME=/usr/local/polyml/x86-linux
    35 #ML_SYSTEM=polyml-5.3.0
    36 #ML_OPTIONS="-H 500"
    37 #ML_SOURCES="$ML_HOME/../src"
    38 
    39 # Poly/ML 5.3.0 (64 bit)
    40 #ML_PLATFORM=x86_64-linux
    41 #ML_HOME=/usr/local/polyml/x86_64-linux
    42 #ML_SYSTEM=polyml-5.3.0
    43 #ML_OPTIONS="-H 1000"
    44 #ML_SOURCES="$ML_HOME/../src"
    45 
    46 # Standard ML of New Jersey (slow!)
    47 #ML_SYSTEM=smlnj-110
    48 #ML_HOME="/usr/local/smlnj/bin"
    49 #ML_OPTIONS="@SMLdebug=/dev/null @SMLalloc=256"
    50 #ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
    51 #SMLNJ_CYGWIN_RUNTIME=1
    52 
    53 
    54 ###
    55 ### JVM components (Scala or Java)
    56 ###
    57 
    58 ISABELLE_JAVA="java"
    59 
    60 classpath "$ISABELLE_HOME/lib/classes/Pure.jar"
    61 
    62 
    63 ###
    64 ### Interactive sessions (cf. isabelle tty)
    65 ###
    66 
    67 ISABELLE_LINE_EDITOR=""
    68 [ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)"
    69 [ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)"
    70 
    71 
    72 ###
    73 ### Batch sessions (cf. isabelle usedir)
    74 ###
    75 
    76 ISABELLE_USEDIR_OPTIONS="-M max -p 1 -q 2 -v true -V outline=/proof,/ML"
    77 
    78 #Source file identification (default: full name + date stamp)
    79 ISABELLE_FILE_IDENT=""
    80 #ISABELLE_FILE_IDENT="md5"
    81 #ISABELLE_FILE_IDENT="md5sum"
    82 #ISABELLE_FILE_IDENT="sha1sum"
    83 #ISABELLE_FILE_IDENT="openssl dgst -sha1"
    84 
    85 
    86 ###
    87 ### Document preparation (cf. isabelle latex/document)
    88 ###
    89 
    90 ISABELLE_LATEX="latex"
    91 ISABELLE_PDFLATEX="pdflatex"
    92 ISABELLE_BIBTEX="bibtex"
    93 ISABELLE_MAKEINDEX="makeindex"
    94 ISABELLE_DVIPS="dvips -D 600"
    95 ISABELLE_EPSTOPDF="epstopdf"
    96 
    97 # Paranoia setting for strange latex installations ...
    98 #unset TEXMF
    99 
   100 
   101 ###
   102 ### Misc path settings
   103 ###
   104 
   105 # The place for user configuration, heap files, etc.
   106 ISABELLE_HOME_USER=~/.isabelle
   107 
   108 # Where to look for isabelle tools (multiple dirs separated by ':').
   109 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
   110 
   111 # Location for temporary files (should be on a local file system).
   112 ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
   113 
   114 # Heap input locations. ML system identifier is included in lookup.
   115 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER:$ISABELLE_HOME/heaps"
   116 
   117 # Heap output location. ML system identifier is appended automatically later on.
   118 ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER"
   119 ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
   120 
   121 # Site settings check -- just to make it a little bit harder to copy this file verbatim!
   122 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
   123   { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
   124 ISABELLE_SITE_SETTINGS_PRESENT=true
   125 
   126 
   127 ###
   128 ### Default logic
   129 ###
   130 
   131 ISABELLE_LOGIC=HOL
   132 
   133 
   134 ###
   135 ### Docs
   136 ###
   137 
   138 # Where to look for docs (multiple dirs separated by ':').
   139 ISABELLE_DOCS="$ISABELLE_HOME/doc"
   140 
   141 # Preferred document format
   142 ISABELLE_DOC_FORMAT=pdf
   143 
   144 # The dvi file viewer
   145 DVI_VIEWER=xdvi
   146 #DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
   147 #DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
   148 #DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
   149 #DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
   150 
   151 # The pdf file viewer
   152 case "$ISABELLE_PLATFORM" in
   153   *-darwin)
   154     PDF_VIEWER="open -W -n"
   155     ;;
   156   *)
   157     PDF_VIEWER=xpdf
   158     ;;
   159 esac
   160 #PDF_VIEWER=acroread
   161 #PDF_VIEWER=evince
   162 
   163 
   164 # Printer spool command for PS files
   165 PRINT_COMMAND=lp
   166 
   167 
   168 ###
   169 ### Proof General / Emacs
   170 ###
   171 
   172 # Proof General home, look in a variety of places
   173 PROOFGENERAL_HOME=$(choosefrom \
   174   "$ISABELLE_HOME/contrib/ProofGeneral" \
   175   "$ISABELLE_HOME/../ProofGeneral" \
   176   "/usr/local/ProofGeneral" \
   177   "/usr/share/ProofGeneral" \
   178   "/opt/ProofGeneral" \
   179   "")
   180 
   181 PROOFGENERAL_OPTIONS=""
   182 #PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets"
   183 
   184 # Automatic setup of remote fonts
   185 #XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
   186 XSYMBOL_INSTALLFONTS=""
   187 
   188 
   189 ###
   190 ### Rendering information
   191 ###
   192 
   193 ISABELLE_FONT_FAMILY="IsabelleText"
   194 ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols"
   195 
   196 
   197 ###
   198 ### External reasoning tools
   199 ###
   200 
   201 ## Set HOME only for tools you have installed!
   202 
   203 # External provers
   204 #E_HOME=/usr/local/bin
   205 #SPASS_HOME=/usr/local/bin
   206 #VAMPIRE_HOME=/usr/local/bin
   207 
   208 # HOL4 proof objects (cf. Isabelle/src/HOL/Import)
   209 #HOL4_PROOFS="$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs"
   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 # MiniSat 1.14 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   223 #MINISAT_HOME=/usr/local/bin
   224 
   225 # zChaff (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   226 #ZCHAFF_HOME=/usr/local/bin
   227 
   228 # BerkMin561 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   229 #BERKMIN_HOME=/usr/local/bin
   230 #BERKMIN_EXE=BerkMin561-linux
   231 #BERKMIN_EXE=BerkMin561-solaris
   232 
   233 # Jerusat 1.3 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   234 #JERUSAT_HOME=/usr/local/bin
   235 
   236 # CSDP (SDP Solver, cf. Isabelle/src/HOL/Library/Sum_of_Squares/sos_wrapper.ML)
   237 #CSDP_EXE=csdp
   238 
   239 # For configuring HOL/Matrix/cplex
   240 # LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver.
   241 # First option: use the commercial cplex solver
   242 #LP_SOLVER=CPLEX
   243 #CPLEX_PATH=cplex
   244 # Second option: use the open source glpk solver
   245 #LP_SOLVER=GLPK
   246 #GLPK_PATH=glpsol