etc/settings
author wenzelm
Tue Jul 24 11:39:22 2012 +0200 (2012-07-24 ago)
changeset 48466 3b2fb20df17d
parent 48449 2d987dad7c3e
child 48553 a4893c509aa2
permissions -rw-r--r--
further imitation of ISABELLE_USEDIR_OPTIONS via options;
     1 # -*- shell-script -*- :mode=shellscript:
     2 #
     3 # Isabelle settings -- distribution 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 ~/.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 default (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.1
    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.1
    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=1024"
    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 ISABELLE_SCALA_BUILD_OPTIONS="-nowarn -target:jvm-1.5"
    58 
    59 
    60 ###
    61 ### Interactive sessions (cf. isabelle tty)
    62 ###
    63 
    64 ISABELLE_LINE_EDITOR=""
    65 [ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)"
    66 [ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)"
    67 
    68 
    69 ###
    70 ### Batch sessions
    71 ###
    72 
    73 #cf. isabelle usedir
    74 ISABELLE_USEDIR_OPTIONS="-M max -p 1 -q 2 -v true -V outline=/proof,/ML"
    75 
    76 #cf. isabelle build
    77 ISABELLE_BUILD_OPTIONS=""
    78 
    79 
    80 ###
    81 ### Document preparation (cf. isabelle latex/document)
    82 ###
    83 
    84 ISABELLE_LATEX="latex"
    85 ISABELLE_PDFLATEX="pdflatex"
    86 ISABELLE_BIBTEX="bibtex"
    87 ISABELLE_MAKEINDEX="makeindex"
    88 ISABELLE_DVIPS="dvips -D 600"
    89 ISABELLE_EPSTOPDF="epstopdf"
    90 
    91 # Paranoia setting for strange latex installations ...
    92 #unset TEXMF
    93 
    94 
    95 ###
    96 ### Misc path settings
    97 ###
    98 
    99 # The place for user configuration, heap files, etc.
   100 if [ -z "ISABELLE_IDENTIFIER" ]; then
   101   ISABELLE_HOME_USER="$USER_HOME/.isabelle"
   102 else
   103   ISABELLE_HOME_USER="$USER_HOME/.isabelle/$ISABELLE_IDENTIFIER"
   104 fi
   105 
   106 # Where to look for isabelle tools (multiple dirs separated by ':').
   107 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
   108 
   109 # Location for temporary files (should be on a local file system).
   110 ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
   111 
   112 # Heap input locations. ML system identifier is included in lookup.
   113 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
   114 
   115 # Heap output location. ML system identifier is appended automatically later on.
   116 ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
   117 ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
   118 
   119 # Site settings check -- just to make it a little bit harder to copy this file verbatim!
   120 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
   121   { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
   122 ISABELLE_SITE_SETTINGS_PRESENT=true
   123 
   124 
   125 ###
   126 ### Default logic
   127 ###
   128 
   129 ISABELLE_LOGIC=HOL
   130 
   131 
   132 ###
   133 ### Docs
   134 ###
   135 
   136 # Where to look for docs (multiple dirs separated by ':').
   137 ISABELLE_DOCS="$ISABELLE_HOME/doc"
   138 
   139 # Preferred document format
   140 ISABELLE_DOC_FORMAT=pdf
   141 
   142 # The dvi file viewer
   143 DVI_VIEWER=xdvi
   144 #DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
   145 #DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
   146 #DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
   147 #DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
   148 
   149 # The pdf file viewer
   150 case "$ISABELLE_PLATFORM" in
   151   *-linux)
   152     PDF_VIEWER="xdg-open"
   153     ;;
   154   *-darwin)
   155     PDF_VIEWER="open -W -n"
   156     ;;
   157   *-cygwin)
   158     PDF_VIEWER="cygstart"
   159     ;;
   160 esac
   161 
   162 
   163 # Printer spool command for PS files
   164 PRINT_COMMAND=lp
   165 
   166 
   167 ###
   168 ### Proof General / Emacs
   169 ###
   170 
   171 # Proof General home, look in a variety of places
   172 PROOFGENERAL_HOME="$(choosefrom \
   173   "$ISABELLE_HOME/contrib/ProofGeneral" \
   174   "$ISABELLE_HOME/../ProofGeneral" \
   175   "/usr/local/ProofGeneral" \
   176   "/usr/share/ProofGeneral" \
   177   "/opt/ProofGeneral" \
   178   "")"
   179 
   180 PROOFGENERAL_OPTIONS=""
   181 #PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets"
   182 
   183 
   184 ###
   185 ### Rendering information
   186 ###
   187 
   188 ISABELLE_FONTS="$ISABELLE_HOME/lib/fonts/IsabelleText.ttf:$ISABELLE_HOME/lib/fonts/IsabelleTextBold.ttf"
   189 ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols"
   190 
   191 
   192 ###
   193 ### Old-style settings for some external tools
   194 ###
   195 
   196 ## Set HOME only for tools you have installed!
   197 
   198 # SVC (Stanford Validity Checker)
   199 #SVC_HOME=
   200 #SVC_MACHINE=i386-redhat-linux
   201 #SVC_MACHINE=sparc-sun-solaris
   202 
   203 # MiniSat 1.14 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
   204 #MINISAT_HOME=/usr/local/bin
   205 
   206 # zChaff (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
   207 #ZCHAFF_HOME=/usr/local/bin
   208 
   209 # BerkMin561 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
   210 #BERKMIN_HOME=/usr/local/bin
   211 #BERKMIN_EXE=BerkMin561-linux
   212 #BERKMIN_EXE=BerkMin561-solaris
   213 
   214 # Jerusat 1.3 (SAT Solver, cf. src/HOL/Tools/sat_solver.ML)
   215 #JERUSAT_HOME=/usr/local/bin
   216 
   217 # For configuring HOL/Matrix/cplex
   218 # LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver.
   219 # First option: use the commercial cplex solver
   220 #LP_SOLVER=CPLEX
   221 #CPLEX_PATH=cplex
   222 # Second option: use the open source glpk solver
   223 #LP_SOLVER=GLPK
   224 #GLPK_PATH=glpsol
   225 
   226 # Misc programming languages
   227 #ISABELLE_GHC="/usr/bin/ghc"
   228 #ISABELLE_OCAML="/usr/bin/ocaml"
   229 #ISABELLE_SWIPL="/usr/bin/swipl"