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