etc/settings
author wenzelm
Tue Mar 08 18:15:16 2016 +0100 (2016-03-08 ago)
changeset 62559 83e815849a91
parent 62354 fdd6989cc8a0
child 62562 905a5db3932d
permissions -rw-r--r--
isabelle console is based on Isabelle/Scala;
     1 # -*- shell-script -*- :mode=shellscript:
     2 #
     3 # Isabelle system settings.
     4 #
     5 # Important notes:
     6 #   * See the "system" manual for explanations on Isabelle settings
     7 #   * User settings go into $ISABELLE_HOME_USER/etc/settings
     8 #   * DO NOT EDIT the repository copy of this file!
     9 #   * DO NOT COPY this file into the $ISABELLE_HOME_USER directory!
    10 
    11 ###
    12 ### Isabelle/Scala
    13 ###
    14 
    15 ISABELLE_SCALA_BUILD_OPTIONS="-encoding UTF-8 -nowarn -target:jvm-1.7 -Xmax-classfile-name 130"
    16 
    17 ISABELLE_JAVA_SYSTEM_OPTIONS="-server -Dfile.encoding=UTF-8 -Disabelle.threads=0"
    18 
    19 classpath "$ISABELLE_HOME/lib/classes/Pure.jar"
    20 
    21 #paranoia settings -- avoid intrusion of alien options
    22 unset "_JAVA_OPTIONS"
    23 unset "JAVA_TOOL_OPTIONS"
    24 
    25 #paranoia settings -- avoid problems of Java/Swing versus XIM/IBus etc.
    26 unset XMODIFIERS
    27 
    28 
    29 ###
    30 ### Batch sessions (cf. isabelle build)
    31 ###
    32 
    33 ISABELLE_BUILD_OPTIONS=""
    34 
    35 ISABELLE_BUILD_JAVA_OPTIONS32="-Djava.awt.headless=true -Xms128m -Xmx1024m -Xss1m"
    36 ISABELLE_BUILD_JAVA_OPTIONS64="-Djava.awt.headless=true -Xms512m -Xmx2560m -Xss4m"
    37 
    38 
    39 ###
    40 ### Document preparation (cf. isabelle latex/document)
    41 ###
    42 
    43 ISABELLE_LATEX="latex"
    44 ISABELLE_PDFLATEX="pdflatex"
    45 ISABELLE_BIBTEX="bibtex"
    46 ISABELLE_MAKEINDEX="makeindex"
    47 ISABELLE_EPSTOPDF="epstopdf"
    48 
    49 
    50 ###
    51 ### Misc path settings
    52 ###
    53 
    54 ISABELLE_COMPONENT_REPOSITORY="http://isabelle.in.tum.de/components"
    55 
    56 # The place for user configuration, heap files, etc.
    57 if [ -z "$ISABELLE_IDENTIFIER" ]; then
    58   ISABELLE_HOME_USER="$USER_HOME/.isabelle"
    59 else
    60   ISABELLE_HOME_USER="$USER_HOME/.isabelle/$ISABELLE_IDENTIFIER"
    61 fi
    62 
    63 # Where to look for isabelle tools (multiple dirs separated by ':').
    64 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
    65 
    66 # Location for temporary files (should be on a local file system).
    67 ISABELLE_TMP_PREFIX="${TMPDIR:-/tmp}/isabelle-$USER"
    68 
    69 # Heap input locations. ML system identifier is included in lookup.
    70 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
    71 
    72 # Heap output location. ML system identifier is appended automatically later on.
    73 ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
    74 ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
    75 
    76 # Site settings check -- just to make it a little bit harder to copy this file verbatim!
    77 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
    78   { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
    79 ISABELLE_SITE_SETTINGS_PRESENT=true
    80 
    81 
    82 ###
    83 ### Default logic
    84 ###
    85 
    86 ISABELLE_LOGIC=HOL
    87 
    88 
    89 ###
    90 ### Docs
    91 ###
    92 
    93 # Where to look for docs (multiple dirs separated by ':').
    94 ISABELLE_DOCS="$ISABELLE_HOME/doc"
    95 
    96 ISABELLE_DOCS_RELEASE_NOTES="ANNOUNCE:README:NEWS:COPYRIGHT:CONTRIBUTORS:contrib/README:src/Tools/jEdit/README:README_REPOSITORY"
    97 ISABELLE_DOCS_EXAMPLES="src/HOL/ex/Seq.thy:src/HOL/ex/ML.thy:src/HOL/Unix/Unix.thy:src/HOL/Isar_Examples/Drinker.thy:src/Tools/SML/Examples.thy"
    98 
    99 # "open" within desktop environment (potentially asynchronous)
   100 case "$ISABELLE_PLATFORM_FAMILY" in
   101   linux)
   102     ISABELLE_OPEN="xdg-open"
   103     ;;
   104   macos)
   105     ISABELLE_OPEN="open"
   106     ;;
   107   windows)
   108     ISABELLE_OPEN="cygstart"
   109     ;;
   110 esac
   111 
   112 PDF_VIEWER="$ISABELLE_OPEN"
   113 DVI_VIEWER="$ISABELLE_OPEN"
   114 
   115 
   116 ###
   117 ### Symbol rendering and abbreviations
   118 ###
   119 
   120 ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols"
   121 ISABELLE_ABBREVS="$ISABELLE_HOME/etc/abbrevs:$ISABELLE_HOME_USER/etc/abbrevs"
   122 
   123 
   124 ###
   125 ### Misc settings
   126 ###
   127 
   128 #ISABELLE_GHC="/usr/bin/ghc"
   129 #ISABELLE_OCAML="/usr/bin/ocaml"
   130 #ISABELLE_SWIPL="/usr/bin/swipl"