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;
wenzelm@24211
     1
# -*- shell-script -*- :mode=shellscript:
wenzelm@2294
     2
#
wenzelm@54937
     3
# Isabelle system settings.
wenzelm@16875
     4
#
wenzelm@16875
     5
# Important notes:
wenzelm@47173
     6
#   * See the "system" manual for explanations on Isabelle settings
wenzelm@54937
     7
#   * User settings go into $ISABELLE_HOME_USER/etc/settings
wenzelm@16875
     8
#   * DO NOT EDIT the repository copy of this file!
wenzelm@54937
     9
#   * DO NOT COPY this file into the $ISABELLE_HOME_USER directory!
wenzelm@2309
    10
wenzelm@2426
    11
###
wenzelm@52790
    12
### Isabelle/Scala
wenzelm@27906
    13
###
wenzelm@27906
    14
wenzelm@56665
    15
ISABELLE_SCALA_BUILD_OPTIONS="-encoding UTF-8 -nowarn -target:jvm-1.7 -Xmax-classfile-name 130"
wenzelm@47009
    16
wenzelm@62233
    17
ISABELLE_JAVA_SYSTEM_OPTIONS="-server -Dfile.encoding=UTF-8 -Disabelle.threads=0"
wenzelm@53346
    18
wenzelm@53577
    19
classpath "$ISABELLE_HOME/lib/classes/Pure.jar"
wenzelm@53576
    20
wenzelm@60200
    21
#paranoia settings -- avoid intrusion of alien options
wenzelm@60200
    22
unset "_JAVA_OPTIONS"
wenzelm@60200
    23
unset "JAVA_TOOL_OPTIONS"
wenzelm@60200
    24
wenzelm@60200
    25
#paranoia settings -- avoid problems of Java/Swing versus XIM/IBus etc.
wenzelm@54037
    26
unset XMODIFIERS
wenzelm@54037
    27
wenzelm@27906
    28
wenzelm@27906
    29
###
wenzelm@52052
    30
### Batch sessions (cf. isabelle build)
wenzelm@2435
    31
###
wenzelm@2435
    32
wenzelm@48466
    33
ISABELLE_BUILD_OPTIONS=""
wenzelm@61131
    34
wenzelm@61135
    35
ISABELLE_BUILD_JAVA_OPTIONS32="-Djava.awt.headless=true -Xms128m -Xmx1024m -Xss1m"
wenzelm@61148
    36
ISABELLE_BUILD_JAVA_OPTIONS64="-Djava.awt.headless=true -Xms512m -Xmx2560m -Xss4m"
wenzelm@48466
    37
wenzelm@2435
    38
wenzelm@2435
    39
###
wenzelm@28504
    40
### Document preparation (cf. isabelle latex/document)
wenzelm@7773
    41
###
wenzelm@7773
    42
wenzelm@7773
    43
ISABELLE_LATEX="latex"
wenzelm@7773
    44
ISABELLE_PDFLATEX="pdflatex"
wenzelm@7813
    45
ISABELLE_BIBTEX="bibtex"
kleing@14344
    46
ISABELLE_MAKEINDEX="makeindex"
wenzelm@11800
    47
ISABELLE_EPSTOPDF="epstopdf"
wenzelm@7773
    48
wenzelm@7773
    49
wenzelm@7773
    50
###
wenzelm@2968
    51
### Misc path settings
wenzelm@2426
    52
###
wenzelm@2294
    53
wenzelm@48840
    54
ISABELLE_COMPONENT_REPOSITORY="http://isabelle.in.tum.de/components"
wenzelm@48840
    55
wenzelm@2426
    56
# The place for user configuration, heap files, etc.
wenzelm@48553
    57
if [ -z "$ISABELLE_IDENTIFIER" ]; then
wenzelm@48449
    58
  ISABELLE_HOME_USER="$USER_HOME/.isabelle"
wenzelm@48449
    59
else
wenzelm@48449
    60
  ISABELLE_HOME_USER="$USER_HOME/.isabelle/$ISABELLE_IDENTIFIER"
wenzelm@48449
    61
fi
wenzelm@2294
    62
wenzelm@3177
    63
# Where to look for isabelle tools (multiple dirs separated by ':').
wenzelm@9787
    64
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
wenzelm@2786
    65
wenzelm@4334
    66
# Location for temporary files (should be on a local file system).
wenzelm@58639
    67
ISABELLE_TMP_PREFIX="${TMPDIR:-/tmp}/isabelle-$USER"
wenzelm@4334
    68
wenzelm@9787
    69
# Heap input locations. ML system identifier is included in lookup.
wenzelm@40387
    70
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
wenzelm@2780
    71
wenzelm@9787
    72
# Heap output location. ML system identifier is appended automatically later on.
wenzelm@40387
    73
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
wenzelm@26212
    74
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
wenzelm@2780
    75
wenzelm@16186
    76
# Site settings check -- just to make it a little bit harder to copy this file verbatim!
wenzelm@9225
    77
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
wenzelm@9225
    78
  { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
wenzelm@32305
    79
ISABELLE_SITE_SETTINGS_PRESENT=true
wenzelm@9225
    80
kleing@13920
    81
kleing@13920
    82
###
wenzelm@28651
    83
### Default logic
kleing@13920
    84
###
wenzelm@16186
    85
wenzelm@3184
    86
ISABELLE_LOGIC=HOL
wenzelm@2294
    87
wenzelm@2786
    88
kleing@13920
    89
###
kleing@13920
    90
### Docs
kleing@13920
    91
###
wenzelm@2294
    92
wenzelm@16186
    93
# Where to look for docs (multiple dirs separated by ':').
wenzelm@9787
    94
ISABELLE_DOCS="$ISABELLE_HOME/doc"
wenzelm@2345
    95
wenzelm@57451
    96
ISABELLE_DOCS_RELEASE_NOTES="ANNOUNCE:README:NEWS:COPYRIGHT:CONTRIBUTORS:contrib/README:src/Tools/jEdit/README:README_REPOSITORY"
wenzelm@56424
    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"
wenzelm@56424
    98
wenzelm@54685
    99
# "open" within desktop environment (potentially asynchronous)
wenzelm@50197
   100
case "$ISABELLE_PLATFORM_FAMILY" in
wenzelm@50197
   101
  linux)
wenzelm@54685
   102
    ISABELLE_OPEN="xdg-open"
wenzelm@50197
   103
    ;;
wenzelm@50197
   104
  macos)
wenzelm@54685
   105
    ISABELLE_OPEN="open"
wenzelm@50197
   106
    ;;
wenzelm@50197
   107
  windows)
wenzelm@54685
   108
    ISABELLE_OPEN="cygstart"
wenzelm@50197
   109
    ;;
wenzelm@50197
   110
esac
wenzelm@50197
   111
wenzelm@54685
   112
PDF_VIEWER="$ISABELLE_OPEN"
wenzelm@54685
   113
DVI_VIEWER="$ISABELLE_OPEN"
wenzelm@2345
   114
kleing@15218
   115
wenzelm@2426
   116
###
wenzelm@61960
   117
### Symbol rendering and abbreviations
wenzelm@37058
   118
###
wenzelm@37058
   119
wenzelm@37058
   120
ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols"
wenzelm@61960
   121
ISABELLE_ABBREVS="$ISABELLE_HOME/etc/abbrevs:$ISABELLE_HOME_USER/etc/abbrevs"
wenzelm@37058
   122
wenzelm@37058
   123
wenzelm@37058
   124
###
wenzelm@62354
   125
### Misc settings
wenzelm@7185
   126
###
wenzelm@7185
   127
wenzelm@48187
   128
#ISABELLE_GHC="/usr/bin/ghc"
wenzelm@48187
   129
#ISABELLE_OCAML="/usr/bin/ocaml"
wenzelm@48187
   130
#ISABELLE_SWIPL="/usr/bin/swipl"