etc/settings
author blanchet
Tue Nov 07 15:16:42 2017 +0100 (18 months ago)
changeset 67022 49309fe530fd
parent 66906 03a96b8c7c06
child 67173 e746db6db903
permissions -rw-r--r--
more robust parsing for THF proofs (esp. polymorphic Leo-III proofs)
     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_SCALAC_OPTIONS="-encoding UTF-8 -nowarn -target:jvm-1.8 -Xmax-classfile-name 130 -J-Xms128m -J-Xmx1024m -J-Xss2m"
    16 
    17 ISABELLE_JAVA_SYSTEM_OPTIONS="-server -Dfile.encoding=UTF-8 -Disabelle.threads=0"
    18 
    19 ISABELLE_TOOL_JAVA_OPTIONS="-Djava.awt.headless=true -Xms512m -Xmx2560m -Xss4m"
    20 
    21 classpath "$ISABELLE_HOME/lib/classes/Pure.jar"
    22 
    23 #paranoia settings -- avoid intrusion of alien options
    24 unset "_JAVA_OPTIONS"
    25 unset "JAVA_TOOL_OPTIONS"
    26 
    27 #paranoia settings -- avoid problems of Java/Swing versus XIM/IBus etc.
    28 unset XMODIFIERS
    29 
    30 
    31 ###
    32 ### Interactive sessions (cf. isabelle console)
    33 ###
    34 
    35 ISABELLE_LINE_EDITOR="rlwrap"
    36 
    37 
    38 ###
    39 ### Batch sessions (cf. isabelle build)
    40 ###
    41 
    42 ISABELLE_BUILD_OPTIONS=""
    43 
    44 
    45 ###
    46 ### Document preparation (cf. isabelle latex/document)
    47 ###
    48 
    49 ISABELLE_LATEX="latex"
    50 ISABELLE_PDFLATEX="pdflatex"
    51 ISABELLE_BIBTEX="bibtex"
    52 ISABELLE_MAKEINDEX="makeindex"
    53 ISABELLE_EPSTOPDF="epstopdf"
    54 
    55 
    56 ###
    57 ### Misc path settings
    58 ###
    59 
    60 ISABELLE_COMPONENT_REPOSITORY="https://isabelle.in.tum.de/components"
    61 
    62 # The place for user configuration, heap files, etc.
    63 if [ -z "$ISABELLE_IDENTIFIER" ]; then
    64   ISABELLE_HOME_USER="$USER_HOME/.isabelle"
    65 else
    66   ISABELLE_HOME_USER="$USER_HOME/.isabelle/$ISABELLE_IDENTIFIER"
    67 fi
    68 
    69 # Where to look for isabelle tools (multiple dirs separated by ':').
    70 ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
    71 
    72 # Location for temporary files (should be on a local file system).
    73 ISABELLE_TMP_PREFIX="${TMPDIR:-/tmp}/isabelle-$USER"
    74 
    75 # Heap input locations. ML system identifier is included in lookup.
    76 ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
    77 
    78 # Heap output location. ML system identifier is appended automatically later on.
    79 ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
    80 ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
    81 
    82 # Site settings check -- just to make it a little bit harder to copy this file verbatim!
    83 [ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
    84   { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
    85 ISABELLE_SITE_SETTINGS_PRESENT=true
    86 
    87 
    88 ###
    89 ### Default logic
    90 ###
    91 
    92 ISABELLE_LOGIC=HOL
    93 
    94 
    95 ###
    96 ### Docs
    97 ###
    98 
    99 # Where to look for docs (multiple dirs separated by ':').
   100 ISABELLE_DOCS="$ISABELLE_HOME/doc"
   101 
   102 ISABELLE_DOCS_RELEASE_NOTES="ANNOUNCE:README:NEWS:COPYRIGHT:CONTRIBUTORS:contrib/README:src/Tools/jEdit/README:README_REPOSITORY"
   103 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"
   104 
   105 # "open" within desktop environment (potentially asynchronous)
   106 case "$ISABELLE_PLATFORM_FAMILY" in
   107   linux)
   108     ISABELLE_OPEN="xdg-open"
   109     ;;
   110   macos)
   111     ISABELLE_OPEN="open"
   112     ;;
   113   windows)
   114     ISABELLE_OPEN="cygstart"
   115     ;;
   116 esac
   117 
   118 PDF_VIEWER="$ISABELLE_OPEN"
   119 DVI_VIEWER="$ISABELLE_OPEN"
   120 
   121 
   122 ###
   123 ### Symbol rendering
   124 ###
   125 
   126 ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols"
   127 
   128 
   129 ###
   130 ### Misc settings
   131 ###
   132 
   133 ISABELLE_GNUPLOT="gnuplot"
   134 
   135 #ISABELLE_GHC="/usr/bin/ghc"
   136 #ISABELLE_OCAML="/usr/bin/ocaml"
   137 #ISABELLE_SWIPL="/usr/bin/swipl"