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