etc/settings
author blanchet
Mon, 25 Jul 2011 14:10:12 +0200
changeset 44834 78c723cc3d99
parent 44401 d477b92109b8
child 45822 3aa3aeb4980f
permissions -rw-r--r--
tuning
     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 32 bit (automated settings)
    19 ML_PLATFORM="$ISABELLE_PLATFORM"
    20 ML_HOME="$(choosefrom \
    21   "$ISABELLE_HOME/contrib/polyml/$ML_PLATFORM" \
    22   "$ISABELLE_HOME/../polyml/$ML_PLATFORM" \
    23   "/usr/local/polyml/$ML_PLATFORM" \
    24   "/usr/share/polyml/$ML_PLATFORM" \
    25   "/opt/polyml/$ML_PLATFORM" \
    26   "")"
    27 ML_SYSTEM=$("$ISABELLE_HOME/lib/scripts/polyml-version")
    28 ML_OPTIONS="-H 200"
    29 ML_SOURCES="$ML_HOME/../src"
    30 
    31 # Poly/ML 32 bit (manual settings)
    32 #ML_SYSTEM=polyml-5.4.0
    33 #ML_PLATFORM="$ISABELLE_PLATFORM"
    34 #ML_HOME="$ISABELLE_HOME/contrib/$ML_SYSTEM/$ML_PLATFORM"
    35 #ML_OPTIONS="-H 500"
    36 #ML_SOURCES="$ML_HOME/../src"
    37 
    38 # Poly/ML 64 bit (manual settings)
    39 #ML_SYSTEM=polyml-5.4.0
    40 #ML_PLATFORM="${ISABELLE_PLATFORM64:-$ISABELLE_PLATFORM}"
    41 #ML_HOME="$ISABELLE_HOME/contrib/$ML_SYSTEM/$ML_PLATFORM"
    42 #ML_OPTIONS="-H 1000"
    43 #ML_SOURCES="$ML_HOME/../src"
    44 
    45 # Standard ML of New Jersey (slow!)
    46 #ML_SYSTEM=smlnj-110
    47 #ML_HOME="/usr/local/smlnj/bin"
    48 #ML_OPTIONS="@SMLdebug=/dev/null @SMLalloc=256"
    49 #ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
    50 #SMLNJ_CYGWIN_RUNTIME=1
    51 
    52 
    53 ###
    54 ### JVM components (Scala or Java)
    55 ###
    56 
    57 if [ -n "$JAVA_HOME" ]; then
    58   ISABELLE_JAVA="$JAVA_HOME/bin/java"
    59 elif [ -x /usr/libexec/java_home ]; then
    60   ISABELLE_JAVA="$(/usr/libexec/java_home -v 1.6)"/bin/java
    61 else
    62   ISABELLE_JAVA="java"
    63 fi
    64 
    65 
    66 ###
    67 ### Interactive sessions (cf. isabelle tty)
    68 ###
    69 
    70 ISABELLE_LINE_EDITOR=""
    71 [ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)"
    72 [ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)"
    73 
    74 
    75 ###
    76 ### Batch sessions (cf. isabelle usedir)
    77 ###
    78 
    79 ISABELLE_USEDIR_OPTIONS="-M max -p 1 -q 2 -v true -V outline=/proof,/ML"
    80 
    81 
    82 ###
    83 ### Document preparation (cf. isabelle latex/document)
    84 ###
    85 
    86 ISABELLE_LATEX="latex"
    87 ISABELLE_PDFLATEX="pdflatex"
    88 ISABELLE_BIBTEX="bibtex"
    89 ISABELLE_MAKEINDEX="makeindex"
    90 ISABELLE_DVIPS="dvips -D 600"
    91 ISABELLE_EPSTOPDF="epstopdf"
    92 
    93 # Paranoia setting for strange latex installations ...
    94 #unset TEXMF
    95 
    96 
    97 ###
    98 ### Misc path settings
    99 ###
   100 
   101 # The place for user configuration, heap files, etc.
   102 ISABELLE_HOME_USER="$HOME/.isabelle/$ISABELLE_IDENTIFIER"
   103 
   104 # Where to look for isabelle tools (multiple dirs separated by ':').
   105 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
   106 
   107 # Location for temporary files (should be on a local file system).
   108 ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
   109 
   110 # Heap input locations. ML system identifier is included in lookup.
   111 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
   112 
   113 # Heap output location. ML system identifier is appended automatically later on.
   114 ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
   115 ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
   116 
   117 # Site settings check -- just to make it a little bit harder to copy this file verbatim!
   118 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
   119   { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
   120 ISABELLE_SITE_SETTINGS_PRESENT=true
   121 
   122 
   123 ###
   124 ### Default logic
   125 ###
   126 
   127 ISABELLE_LOGIC=HOL
   128 
   129 
   130 ###
   131 ### Docs
   132 ###
   133 
   134 # Where to look for docs (multiple dirs separated by ':').
   135 ISABELLE_DOCS="$ISABELLE_HOME/doc"
   136 
   137 # Preferred document format
   138 ISABELLE_DOC_FORMAT=pdf
   139 
   140 # The dvi file viewer
   141 DVI_VIEWER=xdvi
   142 #DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
   143 #DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
   144 #DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
   145 #DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
   146 
   147 # The pdf file viewer
   148 case "$ISABELLE_PLATFORM" in
   149   *-darwin)
   150     PDF_VIEWER="open -W -n"
   151     ;;
   152   *)
   153     PDF_VIEWER=xpdf
   154     ;;
   155 esac
   156 #PDF_VIEWER=acroread
   157 #PDF_VIEWER=evince
   158 
   159 
   160 # Printer spool command for PS files
   161 PRINT_COMMAND=lp
   162 
   163 
   164 ###
   165 ### Proof General / Emacs
   166 ###
   167 
   168 # Proof General home, look in a variety of places
   169 PROOFGENERAL_HOME="$(choosefrom \
   170   "$ISABELLE_HOME/contrib/ProofGeneral" \
   171   "$ISABELLE_HOME/../ProofGeneral" \
   172   "/usr/local/ProofGeneral" \
   173   "/usr/share/ProofGeneral" \
   174   "/opt/ProofGeneral" \
   175   "")"
   176 
   177 PROOFGENERAL_OPTIONS=""
   178 #PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets"
   179 
   180 # Automatic setup of remote fonts
   181 #XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
   182 XSYMBOL_INSTALLFONTS=""
   183 
   184 
   185 ###
   186 ### Rendering information
   187 ###
   188 
   189 ISABELLE_FONTS="$ISABELLE_HOME/lib/fonts/IsabelleText.ttf:$ISABELLE_HOME/lib/fonts/IsabelleTextBold.ttf"
   190 ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols"
   191 
   192 
   193 ###
   194 ### Old-style settings for some external tools
   195 ###
   196 
   197 ## Set HOME only for tools you have installed!
   198 
   199 # HOL4 proof objects (cf. src/HOL/Import)
   200 #HOL4_PROOFS="$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs"
   201 
   202 # SVC (Stanford Validity Checker)
   203 #SVC_HOME=
   204 #SVC_MACHINE=i386-redhat-linux
   205 #SVC_MACHINE=sparc-sun-solaris
   206 
   207 # MiniSat 1.14 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
   208 #MINISAT_HOME=/usr/local/bin
   209 
   210 # zChaff (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
   211 #ZCHAFF_HOME=/usr/local/bin
   212 
   213 # BerkMin561 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
   214 #BERKMIN_HOME=/usr/local/bin
   215 #BERKMIN_EXE=BerkMin561-linux
   216 #BERKMIN_EXE=BerkMin561-solaris
   217 
   218 # Jerusat 1.3 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
   219 #JERUSAT_HOME=/usr/local/bin
   220 
   221 # For configuring HOL/Matrix/cplex
   222 # LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver.
   223 # First option: use the commercial cplex solver
   224 #LP_SOLVER=CPLEX
   225 #CPLEX_PATH=cplex
   226 # Second option: use the open source glpk solver
   227 #LP_SOLVER=GLPK
   228 #GLPK_PATH=glpsol
   229 
   230 # Misc programming languages
   231 #ISABELLE_GHC="/usr/local/ghc/$ISABELLE_PLATFORM/ghc"
   232 #ISABELLE_OCAML="/usr/local/ocaml/$ISABELLE_PLATFORM/ocaml"
   233 #ISABELLE_SWIPL="/usr/local/swipl/$ISABELLE_PLATFORM/swipl"