etc/settings
author wenzelm
Sat, 06 Feb 2010 22:54:53 +0100
changeset 35017 603d976d8cab
parent 34238 b28be884edda
child 36193 067a01827fca
permissions -rw-r--r--
removed ever experimental support for Moscow ML -- hardly works anymore;
     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_HOME/lib/scripts/polyml-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 ISABELLE_SCALA="scala"
    60 
    61 [ -z "$SCALA_HOME" ] && SCALA_HOME=$(choosefrom \
    62   "$ISABELLE_HOME/contrib/scala" \
    63   "$ISABELLE_HOME/../scala" \
    64   "")
    65 
    66 [ -n "$SCALA_HOME" ] && ISABELLE_SCALA="$SCALA_HOME/bin/scala"
    67 
    68 classpath "$ISABELLE_HOME/lib/classes/Pure.jar"
    69 
    70 
    71 ###
    72 ### Interactive sessions (cf. isabelle tty)
    73 ###
    74 
    75 ISABELLE_LINE_EDITOR=""
    76 [ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)"
    77 [ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)"
    78 
    79 
    80 ###
    81 ### Batch sessions (cf. isabelle usedir)
    82 ###
    83 
    84 ISABELLE_USEDIR_OPTIONS="-M max -p 1 -q 2 -v true -V outline=/proof,/ML"
    85 
    86 #Source file identification (default: full name + date stamp)
    87 ISABELLE_FILE_IDENT=""
    88 #ISABELLE_FILE_IDENT="md5"
    89 #ISABELLE_FILE_IDENT="md5sum"
    90 #ISABELLE_FILE_IDENT="sha1sum"
    91 #ISABELLE_FILE_IDENT="openssl dgst -sha1"
    92 
    93 
    94 ###
    95 ### Document preparation (cf. isabelle latex/document)
    96 ###
    97 
    98 ISABELLE_LATEX="latex"
    99 ISABELLE_PDFLATEX="pdflatex"
   100 ISABELLE_BIBTEX="bibtex"
   101 ISABELLE_MAKEINDEX="makeindex"
   102 ISABELLE_DVIPS="dvips -D 600"
   103 ISABELLE_EPSTOPDF="epstopdf"
   104 
   105 # Paranoia setting for strange latex installations ...
   106 #unset TEXMF
   107 
   108 
   109 ###
   110 ### Misc path settings
   111 ###
   112 
   113 # The place for user configuration, heap files, etc.
   114 ISABELLE_HOME_USER=~/.isabelle
   115 
   116 # Where to look for isabelle tools (multiple dirs separated by ':').
   117 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
   118 
   119 # Location for temporary files (should be on a local file system).
   120 ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
   121 
   122 # Heap input locations. ML system identifier is included in lookup.
   123 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER:$ISABELLE_HOME/heaps"
   124 
   125 # Heap output location. ML system identifier is appended automatically later on.
   126 ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER"
   127 ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
   128 
   129 # Site settings check -- just to make it a little bit harder to copy this file verbatim!
   130 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
   131   { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
   132 ISABELLE_SITE_SETTINGS_PRESENT=true
   133 
   134 
   135 ###
   136 ### Default logic
   137 ###
   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 # Preferred document format
   150 ISABELLE_DOC_FORMAT=pdf
   151 
   152 # The dvi file viewer
   153 DVI_VIEWER=xdvi
   154 #DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
   155 #DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
   156 #DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
   157 #DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
   158 
   159 # The pdf file viewer
   160 if [ $(uname -s) = Darwin ]; then
   161   PDF_VIEWER="open -W -n"
   162 else
   163   PDF_VIEWER=xpdf
   164 fi
   165 #PDF_VIEWER=acroread
   166 #PDF_VIEWER=evince
   167 
   168 
   169 # Printer spool command for PS files
   170 PRINT_COMMAND=lp
   171 
   172 
   173 ###
   174 ### Proof General / Emacs
   175 ###
   176 
   177 # Proof General home, look in a variety of places
   178 PROOFGENERAL_HOME=$(choosefrom \
   179   "$ISABELLE_HOME/contrib/ProofGeneral" \
   180   "$ISABELLE_HOME/../ProofGeneral" \
   181   "/usr/local/ProofGeneral" \
   182   "/usr/share/ProofGeneral" \
   183   "/opt/ProofGeneral" \
   184   "")
   185 
   186 PROOFGENERAL_OPTIONS=""
   187 #PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets"
   188 
   189 # Automatic setup of remote fonts
   190 #XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
   191 XSYMBOL_INSTALLFONTS=""
   192 
   193 
   194 ###
   195 ### External reasoning tools
   196 ###
   197 
   198 ## Set HOME only for tools you have installed!
   199 
   200 # External provers
   201 #E_HOME=/usr/local/bin
   202 #SPASS_HOME=/usr/local/bin
   203 #VAMPIRE_HOME=/usr/local/bin
   204 
   205 # HOL4 proof objects (cf. Isabelle/src/HOL/Import)
   206 #HOL4_PROOFS="$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs"
   207 
   208 # SVC (Stanford Validity Checker)
   209 #SVC_HOME=
   210 #SVC_MACHINE=i386-redhat-linux
   211 #SVC_MACHINE=sparc-sun-solaris
   212 
   213 # Mucke (mu-calculus model checker)
   214 #MUCKE_HOME=/usr/local/bin
   215 
   216 # Einhoven model checker
   217 #EINDHOVEN_HOME=/usr/local/bin
   218 
   219 # MiniSat 1.14 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   220 #MINISAT_HOME=/usr/local/bin
   221 
   222 # zChaff (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   223 #ZCHAFF_HOME=/usr/local/bin
   224 
   225 # BerkMin561 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   226 #BERKMIN_HOME=/usr/local/bin
   227 #BERKMIN_EXE=BerkMin561-linux
   228 #BERKMIN_EXE=BerkMin561-solaris
   229 
   230 # Jerusat 1.3 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
   231 #JERUSAT_HOME=/usr/local/bin
   232 
   233 # CSDP (SDP Solver, cf. Isabelle/src/HOL/Library/Sum_of_Squares/sos_wrapper.ML)
   234 #CSDP_EXE=csdp
   235 
   236 # For configuring HOL/Matrix/cplex
   237 # LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver.
   238 # First option: use the commercial cplex solver
   239 #LP_SOLVER=CPLEX
   240 #CPLEX_PATH=cplex
   241 # Second option: use the open source glpk solver
   242 #LP_SOLVER=GLPK
   243 #GLPK_PATH=glpsol