etc/settings
author wenzelm
Thu Dec 11 23:31:30 2014 +0100 (2014-12-11)
changeset 59136 c2b23cb8a677
parent 58639 1df53737c59b
child 59565 96e860a17b9a
permissions -rw-r--r--
added Par_List in Scala, in accordance to ML version;
system property "isabelle.threads" determines size of Scala thread pool, like system option "threads" for ML;
avoid ".par" framework with its hard-wired thread pool, which also has problems with cancellation;
tuned;
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@59136
    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@54037
    21
#paranoia setting -- avoid problems of Java/Swing versus XIM/IBus etc.
wenzelm@54037
    22
unset XMODIFIERS
wenzelm@54037
    23
wenzelm@27906
    24
wenzelm@27906
    25
###
wenzelm@57441
    26
### Interactive sessions (cf. isabelle console)
wenzelm@25627
    27
###
wenzelm@25627
    28
wenzelm@57439
    29
ISABELLE_LINE_EDITOR="rlwrap"
wenzelm@25627
    30
wenzelm@25627
    31
wenzelm@25627
    32
###
wenzelm@52052
    33
### Batch sessions (cf. isabelle build)
wenzelm@2435
    34
###
wenzelm@2435
    35
wenzelm@48466
    36
ISABELLE_BUILD_OPTIONS=""
wenzelm@51977
    37
ISABELLE_BUILD_JAVA_OPTIONS="-Xmx1024m -Xss1m"
wenzelm@48466
    38
wenzelm@2435
    39
wenzelm@2435
    40
###
wenzelm@28504
    41
### Document preparation (cf. isabelle latex/document)
wenzelm@7773
    42
###
wenzelm@7773
    43
wenzelm@7773
    44
ISABELLE_LATEX="latex"
wenzelm@7773
    45
ISABELLE_PDFLATEX="pdflatex"
wenzelm@7813
    46
ISABELLE_BIBTEX="bibtex"
kleing@14344
    47
ISABELLE_MAKEINDEX="makeindex"
wenzelm@11800
    48
ISABELLE_EPSTOPDF="epstopdf"
wenzelm@7773
    49
wenzelm@7773
    50
wenzelm@7773
    51
###
wenzelm@2968
    52
### Misc path settings
wenzelm@2426
    53
###
wenzelm@2294
    54
wenzelm@48840
    55
ISABELLE_COMPONENT_REPOSITORY="http://isabelle.in.tum.de/components"
wenzelm@48840
    56
wenzelm@2426
    57
# The place for user configuration, heap files, etc.
wenzelm@48553
    58
if [ -z "$ISABELLE_IDENTIFIER" ]; then
wenzelm@48449
    59
  ISABELLE_HOME_USER="$USER_HOME/.isabelle"
wenzelm@48449
    60
else
wenzelm@48449
    61
  ISABELLE_HOME_USER="$USER_HOME/.isabelle/$ISABELLE_IDENTIFIER"
wenzelm@48449
    62
fi
wenzelm@2294
    63
wenzelm@3177
    64
# Where to look for isabelle tools (multiple dirs separated by ':').
wenzelm@9787
    65
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
wenzelm@2786
    66
wenzelm@4334
    67
# Location for temporary files (should be on a local file system).
wenzelm@58639
    68
ISABELLE_TMP_PREFIX="${TMPDIR:-/tmp}/isabelle-$USER"
wenzelm@4334
    69
wenzelm@9787
    70
# Heap input locations. ML system identifier is included in lookup.
wenzelm@40387
    71
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
wenzelm@2780
    72
wenzelm@9787
    73
# Heap output location. ML system identifier is appended automatically later on.
wenzelm@40387
    74
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
wenzelm@26212
    75
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
wenzelm@2780
    76
wenzelm@16186
    77
# Site settings check -- just to make it a little bit harder to copy this file verbatim!
wenzelm@9225
    78
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
wenzelm@9225
    79
  { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
wenzelm@32305
    80
ISABELLE_SITE_SETTINGS_PRESENT=true
wenzelm@9225
    81
kleing@13920
    82
kleing@13920
    83
###
wenzelm@28651
    84
### Default logic
kleing@13920
    85
###
wenzelm@16186
    86
wenzelm@3184
    87
ISABELLE_LOGIC=HOL
wenzelm@2294
    88
wenzelm@2786
    89
kleing@13920
    90
###
kleing@13920
    91
### Docs
kleing@13920
    92
###
wenzelm@2294
    93
wenzelm@16186
    94
# Where to look for docs (multiple dirs separated by ':').
wenzelm@9787
    95
ISABELLE_DOCS="$ISABELLE_HOME/doc"
wenzelm@2345
    96
wenzelm@57451
    97
ISABELLE_DOCS_RELEASE_NOTES="ANNOUNCE:README:NEWS:COPYRIGHT:CONTRIBUTORS:contrib/README:src/Tools/jEdit/README:README_REPOSITORY"
wenzelm@56424
    98
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
    99
wenzelm@54685
   100
# "open" within desktop environment (potentially asynchronous)
wenzelm@50197
   101
case "$ISABELLE_PLATFORM_FAMILY" in
wenzelm@50197
   102
  linux)
wenzelm@54685
   103
    ISABELLE_OPEN="xdg-open"
wenzelm@50197
   104
    ;;
wenzelm@50197
   105
  macos)
wenzelm@54685
   106
    ISABELLE_OPEN="open"
wenzelm@50197
   107
    ;;
wenzelm@50197
   108
  windows)
wenzelm@54685
   109
    ISABELLE_OPEN="cygstart"
wenzelm@50197
   110
    ;;
wenzelm@50197
   111
esac
wenzelm@50197
   112
wenzelm@54685
   113
PDF_VIEWER="$ISABELLE_OPEN"
wenzelm@54685
   114
DVI_VIEWER="$ISABELLE_OPEN"
wenzelm@2345
   115
kleing@15218
   116
wenzelm@2426
   117
###
wenzelm@37058
   118
### Rendering information
wenzelm@37058
   119
###
wenzelm@37058
   120
wenzelm@43484
   121
ISABELLE_FONTS="$ISABELLE_HOME/lib/fonts/IsabelleText.ttf:$ISABELLE_HOME/lib/fonts/IsabelleTextBold.ttf"
wenzelm@37058
   122
ISABELLE_SYMBOLS="$ISABELLE_HOME/etc/symbols:$ISABELLE_HOME_USER/etc/symbols"
wenzelm@37058
   123
wenzelm@37058
   124
wenzelm@37058
   125
###
wenzelm@49000
   126
### Misc old-style settings
wenzelm@7185
   127
###
wenzelm@7185
   128
wenzelm@49000
   129
# Standard ML of New Jersey (slow!)
wenzelm@49000
   130
#ML_SYSTEM=smlnj-110
wenzelm@49000
   131
#ML_HOME="/usr/local/smlnj/bin"
wenzelm@49000
   132
#ML_OPTIONS="@SMLdebug=/dev/null @SMLalloc=1024"
wenzelm@49000
   133
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
wenzelm@49000
   134
#SMLNJ_CYGWIN_RUNTIME=1
wenzelm@49000
   135
wenzelm@41968
   136
# Misc programming languages
wenzelm@48187
   137
#ISABELLE_GHC="/usr/bin/ghc"
wenzelm@48187
   138
#ISABELLE_OCAML="/usr/bin/ocaml"
wenzelm@48187
   139
#ISABELLE_SWIPL="/usr/bin/swipl"