etc/settings
author haftmann
Wed, 29 Jul 2009 16:42:47 +0200
changeset 32273 3c395fc7ec5e
parent 32061 11f8ee55662d
child 32292 ceb7190d7a52
permissions -rw-r--r--
abstractions: desymbolize name hint
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
24211
213215a8640a added jEdit mode spec;
wenzelm
parents: 23917
diff changeset
     1
# -*- shell-script -*- :mode=shellscript:
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
     2
#
2309
390c1b6baaa5 added ISAMODE_HOME;
wenzelm
parents: 2294
diff changeset
     3
# Isabelle settings -- site defaults.
16875
c62bdfbf6a2a retract accidental user commit;
wenzelm
parents: 16873
diff changeset
     4
#
c62bdfbf6a2a retract accidental user commit;
wenzelm
parents: 16873
diff changeset
     5
# Important notes:
c62bdfbf6a2a retract accidental user commit;
wenzelm
parents: 16873
diff changeset
     6
#   * See the system manual for explanations on Isabelle settings
c62bdfbf6a2a retract accidental user commit;
wenzelm
parents: 16873
diff changeset
     7
#   * DO NOT EDIT the repository copy of this file!
c62bdfbf6a2a retract accidental user commit;
wenzelm
parents: 16873
diff changeset
     8
#   * DO NOT COPY this file into your personal isabelle directory!
2309
390c1b6baaa5 added ISAMODE_HOME;
wenzelm
parents: 2294
diff changeset
     9
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
    10
###
3177
3c1448b9b0ee tuned comments;
wenzelm
parents: 3158
diff changeset
    11
### ML compiler settings (ESSENTIAL!)
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
    12
###
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
    13
16968
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
    14
# ML_HOME specifies the location of the actual compiler binaries.  Do
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
    15
# not invent new ML system names unless you know what you are doing.
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
    16
# Only one of the sections below should be activated.
14447
5b61dc4eab24 include more explanation of variables
kleing
parents: 14344
diff changeset
    17
31308
3fd52453ae81 discontinued support for Poly/ML 4.x versions;
wenzelm
parents: 30889
diff changeset
    18
# Poly/ML 5.x (automated settings)
16968
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
    19
POLY_HOME="$(type -p poly)"; [ -n "$POLY_HOME" ] && POLY_HOME="$(dirname "$POLY_HOME")"
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
    20
ML_PLATFORM=$("$ISABELLE_HOME/lib/scripts/polyml-platform")
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
    21
ML_HOME=$(choosefrom \
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
    22
  "$ISABELLE_HOME/contrib/polyml/$ML_PLATFORM" \
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
    23
  "$ISABELLE_HOME/../polyml/$ML_PLATFORM" \
17119
wenzelm
parents: 17048
diff changeset
    24
  "/usr/local/polyml/$ML_PLATFORM" \
16968
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
    25
  "/usr/share/polyml/$ML_PLATFORM" \
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
    26
  "/opt/polyml/$ML_PLATFORM" \
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
    27
  $POLY_HOME)
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
    28
ML_SYSTEM=$("$ISABELLE_HOME/lib/scripts/polyml-version")
25500
7a284dc85326 polyml: default heap size is back to -H 200 (people are still using
wenzelm
parents: 25347
diff changeset
    29
ML_OPTIONS="-H 200"
31436
dde1b4d1c95b retrieve ML source files;
wenzelm
parents: 31423
diff changeset
    30
ML_SOURCES="$ML_HOME/../src"
8345
e708af969264 new Poly/ML setup made default;
wenzelm
parents: 7873
diff changeset
    31
31309
be0c4236fe44 updated example settings;
wenzelm
parents: 31308
diff changeset
    32
# Poly/ML 5.2.1
25347
297e2520ee82 tuned comments;
wenzelm
parents: 25115
diff changeset
    33
#ML_PLATFORM=x86-linux
297e2520ee82 tuned comments;
wenzelm
parents: 25115
diff changeset
    34
#ML_HOME=/usr/local/polyml/x86-linux
31309
be0c4236fe44 updated example settings;
wenzelm
parents: 31308
diff changeset
    35
#ML_SYSTEM=polyml-5.2.1
25347
297e2520ee82 tuned comments;
wenzelm
parents: 25115
diff changeset
    36
#ML_OPTIONS="-H 500"
297e2520ee82 tuned comments;
wenzelm
parents: 25115
diff changeset
    37
31309
be0c4236fe44 updated example settings;
wenzelm
parents: 31308
diff changeset
    38
# Poly/ML 5.2.1 (64 bit)
20764
4aa5c89b933e added Poly/ML 4.9.1 (experimental!);
wenzelm
parents: 20033
diff changeset
    39
#ML_PLATFORM=x86_64-linux
4aa5c89b933e added Poly/ML 4.9.1 (experimental!);
wenzelm
parents: 20033
diff changeset
    40
#ML_HOME=/usr/local/polyml/x86_64-linux
31309
be0c4236fe44 updated example settings;
wenzelm
parents: 31308
diff changeset
    41
#ML_SYSTEM=polyml-5.2.1
24479
b272d7998193 added POLYML_LINK_OPTIONS, which is required for unusual platforms (notably cygwin);
wenzelm
parents: 24439
diff changeset
    42
#ML_OPTIONS="-H 1000"
b272d7998193 added POLYML_LINK_OPTIONS, which is required for unusual platforms (notably cygwin);
wenzelm
parents: 24439
diff changeset
    43
31444
4fa98c1df7ba example settings for Poly/ML 5.3 (experimental);
wenzelm
parents: 31436
diff changeset
    44
# Poly/ML 5.3 (experimental)
4fa98c1df7ba example settings for Poly/ML 5.3 (experimental);
wenzelm
parents: 31436
diff changeset
    45
#ML_PLATFORM=x86-linux
4fa98c1df7ba example settings for Poly/ML 5.3 (experimental);
wenzelm
parents: 31436
diff changeset
    46
#ML_HOME=/usr/local/polyml/x86-linux
4fa98c1df7ba example settings for Poly/ML 5.3 (experimental);
wenzelm
parents: 31436
diff changeset
    47
#ML_SYSTEM=polyml-experimental
4fa98c1df7ba example settings for Poly/ML 5.3 (experimental);
wenzelm
parents: 31436
diff changeset
    48
#ML_OPTIONS="-H 500"
4fa98c1df7ba example settings for Poly/ML 5.3 (experimental);
wenzelm
parents: 31436
diff changeset
    49
#ML_SOURCES="$ML_HOME/../src"
4fa98c1df7ba example settings for Poly/ML 5.3 (experimental);
wenzelm
parents: 31436
diff changeset
    50
25347
297e2520ee82 tuned comments;
wenzelm
parents: 25115
diff changeset
    51
# Standard ML of New Jersey (slow!)
8345
e708af969264 new Poly/ML setup made default;
wenzelm
parents: 7873
diff changeset
    52
#ML_SYSTEM=smlnj-110
25347
297e2520ee82 tuned comments;
wenzelm
parents: 25115
diff changeset
    53
#ML_HOME="/usr/local/smlnj/bin"
8345
e708af969264 new Poly/ML setup made default;
wenzelm
parents: 7873
diff changeset
    54
#ML_OPTIONS="@SMLdebug=/dev/null"
9787
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
    55
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
25347
297e2520ee82 tuned comments;
wenzelm
parents: 25115
diff changeset
    56
#SMLNJ_CYGWIN_RUNTIME=1
5708
fb09ab6a447f dropped support for SML/NJ 109.x;
wenzelm
parents: 5659
diff changeset
    57
25347
297e2520ee82 tuned comments;
wenzelm
parents: 25115
diff changeset
    58
# Moscow ML 2.00 (experimental!)
9252
83060e826e02 Moscow ML 2.00 or later (experimental!);
wenzelm
parents: 9236
diff changeset
    59
#ML_SYSTEM=mosml
25347
297e2520ee82 tuned comments;
wenzelm
parents: 25115
diff changeset
    60
#ML_HOME="/usr/local/mosml/bin"
297e2520ee82 tuned comments;
wenzelm
parents: 25115
diff changeset
    61
#ML_OPTIONS=""
297e2520ee82 tuned comments;
wenzelm
parents: 25115
diff changeset
    62
#ML_PLATFORM=""
297e2520ee82 tuned comments;
wenzelm
parents: 25115
diff changeset
    63
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
    64
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
    65
###
27906
df49b4da8903 added JVM components (Scala or Java);
wenzelm
parents: 27202
diff changeset
    66
### JVM components (Scala or Java)
df49b4da8903 added JVM components (Scala or Java);
wenzelm
parents: 27202
diff changeset
    67
###
df49b4da8903 added JVM components (Scala or Java);
wenzelm
parents: 27202
diff changeset
    68
31918
60d573a5d061 observe SCALA_HOME, if available;
wenzelm
parents: 31630
diff changeset
    69
ISABELLE_JAVA="java"
27912
ffb69afdd4b4 added ISABELLE_SCALA, ISABELLE_JAVA;
wenzelm
parents: 27906
diff changeset
    70
ISABELLE_SCALA="scala"
ffb69afdd4b4 added ISABELLE_SCALA, ISABELLE_JAVA;
wenzelm
parents: 27906
diff changeset
    71
31918
60d573a5d061 observe SCALA_HOME, if available;
wenzelm
parents: 31630
diff changeset
    72
[ -z "$SCALA_HOME" ] && SCALA_HOME=$(choosefrom \
31923
d6cd15601d8a SCALA_HOME: proper line escapes for choosefrom;
wenzelm
parents: 31918
diff changeset
    73
  "$ISABELLE_HOME/contrib/scala" \
d6cd15601d8a SCALA_HOME: proper line escapes for choosefrom;
wenzelm
parents: 31918
diff changeset
    74
  "$ISABELLE_HOME/../scala" \
31918
60d573a5d061 observe SCALA_HOME, if available;
wenzelm
parents: 31630
diff changeset
    75
  "")
31923
d6cd15601d8a SCALA_HOME: proper line escapes for choosefrom;
wenzelm
parents: 31918
diff changeset
    76
31918
60d573a5d061 observe SCALA_HOME, if available;
wenzelm
parents: 31630
diff changeset
    77
[ -n "$SCALA_HOME" ] && ISABELLE_SCALA="$SCALA_HOME/bin/scala"
27921
25818c7907f3 add scala-library.jar if available;
wenzelm
parents: 27912
diff changeset
    78
27906
df49b4da8903 added JVM components (Scala or Java);
wenzelm
parents: 27202
diff changeset
    79
classpath "$ISABELLE_HOME/lib/classes/Pure.jar"
df49b4da8903 added JVM components (Scala or Java);
wenzelm
parents: 27202
diff changeset
    80
df49b4da8903 added JVM components (Scala or Java);
wenzelm
parents: 27202
diff changeset
    81
df49b4da8903 added JVM components (Scala or Java);
wenzelm
parents: 27202
diff changeset
    82
###
28504
7ad7d7d6df47 simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents: 28474
diff changeset
    83
### Interactive sessions (cf. isabelle tty)
25627
7726fbf5f81f added ISABELLE_LINE_EDITOR;
wenzelm
parents: 25500
diff changeset
    84
###
7726fbf5f81f added ISABELLE_LINE_EDITOR;
wenzelm
parents: 25500
diff changeset
    85
7726fbf5f81f added ISABELLE_LINE_EDITOR;
wenzelm
parents: 25500
diff changeset
    86
ISABELLE_LINE_EDITOR=""
26205
499f08293680 ISABELLE_LINE_EDITOR: prefer rlwrap, which passes interrupts properly;
wenzelm
parents: 25970
diff changeset
    87
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)"
25627
7726fbf5f81f added ISABELLE_LINE_EDITOR;
wenzelm
parents: 25500
diff changeset
    88
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)"
7726fbf5f81f added ISABELLE_LINE_EDITOR;
wenzelm
parents: 25500
diff changeset
    89
7726fbf5f81f added ISABELLE_LINE_EDITOR;
wenzelm
parents: 25500
diff changeset
    90
7726fbf5f81f added ISABELLE_LINE_EDITOR;
wenzelm
parents: 25500
diff changeset
    91
###
28504
7ad7d7d6df47 simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents: 28474
diff changeset
    92
### Batch sessions (cf. isabelle usedir)
2435
750a73406623 added ISABELLE_HTML;
wenzelm
parents: 2426
diff changeset
    93
###
750a73406623 added ISABELLE_HTML;
wenzelm
parents: 2426
diff changeset
    94
31630
2f8ed0dca3bd back to default -M max, with more robust interpretation of corresponding max_threads value;
wenzelm
parents: 31444
diff changeset
    95
ISABELLE_USEDIR_OPTIONS="-M max -p 1 -v true -V outline=/proof,/ML"
11569
06d6f1ea6021 updated;
wenzelm
parents: 11552
diff changeset
    96
16186
6eb74e2cec7e renamed HOL_PROOF_OBJECTS to HOL_USEDIR_OPTIONS;
wenzelm
parents: 15982
diff changeset
    97
# Specifically for the HOL image
24439
f52709e5230e HOL_USEDIR_OPTIONS: no special -M setting (now works with multithreaded);
wenzelm
parents: 24212
diff changeset
    98
HOL_USEDIR_OPTIONS=""
32061
11f8ee55662d parallel_proofs: more fine-grained control with optional parallel checking of nested Isar proofs;
wenzelm
parents: 31923
diff changeset
    99
#HOL_USEDIR_OPTIONS="-p 2 -q 1"
14044
bbd2f7b00736 set HOL_PROOF_OBJECTS in settings, not makefile (makes override in user settings possible)
kleing
parents: 13920
diff changeset
   100
23837
55b89b14d871 added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents: 23138
diff changeset
   101
#Source file identification (default: full name + date stamp)
55b89b14d871 added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents: 23138
diff changeset
   102
ISABELLE_FILE_IDENT=""
55b89b14d871 added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents: 23138
diff changeset
   103
#ISABELLE_FILE_IDENT="md5"
55b89b14d871 added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents: 23138
diff changeset
   104
#ISABELLE_FILE_IDENT="md5sum"
55b89b14d871 added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents: 23138
diff changeset
   105
#ISABELLE_FILE_IDENT="sha1sum"
55b89b14d871 added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents: 23138
diff changeset
   106
#ISABELLE_FILE_IDENT="openssl dgst -sha1"
55b89b14d871 added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents: 23138
diff changeset
   107
2435
750a73406623 added ISABELLE_HTML;
wenzelm
parents: 2426
diff changeset
   108
750a73406623 added ISABELLE_HTML;
wenzelm
parents: 2426
diff changeset
   109
###
28504
7ad7d7d6df47 simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents: 28474
diff changeset
   110
### Document preparation (cf. isabelle latex/document)
7773
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
   111
###
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
   112
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
   113
ISABELLE_LATEX="latex"
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
   114
ISABELLE_PDFLATEX="pdflatex"
7813
4412debd3004 added ISABELLE_BIBTEX;
wenzelm
parents: 7776
diff changeset
   115
ISABELLE_BIBTEX="bibtex"
14344
0f0a2148a099 run makeindex if necessary
kleing
parents: 14253
diff changeset
   116
ISABELLE_MAKEINDEX="makeindex"
7773
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
   117
ISABELLE_DVIPS="dvips -D 600"
11800
5f84c687ba06 ISABELLE_EPSTOPDF="epstopdf";
wenzelm
parents: 11569
diff changeset
   118
ISABELLE_EPSTOPDF="epstopdf"
7773
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
   119
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   120
# Paranoia setting for strange latex installations ...
11062
wenzelm
parents: 10503
diff changeset
   121
#unset TEXMF
wenzelm
parents: 10503
diff changeset
   122
7773
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
   123
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
   124
###
2968
8ba30b031f31 eliminated PLATFORM;
wenzelm
parents: 2915
diff changeset
   125
### Misc path settings
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   126
###
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
   127
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   128
# The place for user configuration, heap files, etc.
28914
f993cbffc42a default for ISABELLE_HOME_USER is now ~/.isabelle instead of ~/isabelle;
wenzelm
parents: 28659
diff changeset
   129
ISABELLE_HOME_USER=~/.isabelle
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
   130
3177
3c1448b9b0ee tuned comments;
wenzelm
parents: 3158
diff changeset
   131
# Where to look for isabelle tools (multiple dirs separated by ':').
9787
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
   132
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
2786
b36ca42c409a tuned comments;
wenzelm
parents: 2780
diff changeset
   133
4334
e567f3425267 ISABELLE_TMP_PREFIX;
wenzelm
parents: 3689
diff changeset
   134
# Location for temporary files (should be on a local file system).
9787
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
   135
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
4334
e567f3425267 ISABELLE_TMP_PREFIX;
wenzelm
parents: 3689
diff changeset
   136
9787
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
   137
# Heap input locations. ML system identifier is included in lookup.
21489
4ce7425c8372 ISABELLE_PATH/OUTPUT: append ISABELLE_IDENTIFIER if derived from ISABELLE_HOME_USER;
wenzelm
parents: 21171
diff changeset
   138
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER:$ISABELLE_HOME/heaps"
2780
1dc77f6d83e1 added THIS_IS_ISABELLE_BUILD discrimination;
wenzelm
parents: 2742
diff changeset
   139
9787
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
   140
# Heap output location. ML system identifier is appended automatically later on.
26212
225b40bf36a7 removed obsolete THIS_IS_ISABELLE_BUILD feature;
wenzelm
parents: 26205
diff changeset
   141
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER"
225b40bf36a7 removed obsolete THIS_IS_ISABELLE_BUILD feature;
wenzelm
parents: 26205
diff changeset
   142
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
2780
1dc77f6d83e1 added THIS_IS_ISABELLE_BUILD discrimination;
wenzelm
parents: 2742
diff changeset
   143
16186
6eb74e2cec7e renamed HOL_PROOF_OBJECTS to HOL_USEDIR_OPTIONS;
wenzelm
parents: 15982
diff changeset
   144
# Site settings check -- just to make it a little bit harder to copy this file verbatim!
9225
4772656ddbbc added site settings check;
wenzelm
parents: 8880
diff changeset
   145
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
4772656ddbbc added site settings check;
wenzelm
parents: 8880
diff changeset
   146
  { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
4772656ddbbc added site settings check;
wenzelm
parents: 8880
diff changeset
   147
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   148
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   149
###
28651
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   150
### Default logic
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   151
###
16186
6eb74e2cec7e renamed HOL_PROOF_OBJECTS to HOL_USEDIR_OPTIONS;
wenzelm
parents: 15982
diff changeset
   152
3184
4e0bbfb113d5 renamed DEFAULT_LOGIC to ISABELLE_LOGIC;
wenzelm
parents: 3182
diff changeset
   153
ISABELLE_LOGIC=HOL
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
   154
2786
b36ca42c409a tuned comments;
wenzelm
parents: 2780
diff changeset
   155
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   156
###
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   157
### Docs
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   158
###
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
   159
16186
6eb74e2cec7e renamed HOL_PROOF_OBJECTS to HOL_USEDIR_OPTIONS;
wenzelm
parents: 15982
diff changeset
   160
# Where to look for docs (multiple dirs separated by ':').
9787
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
   161
ISABELLE_DOCS="$ISABELLE_HOME/doc"
2345
8e45991e3601 added ISABELLE_DOCS;
wenzelm
parents: 2309
diff changeset
   162
16186
6eb74e2cec7e renamed HOL_PROOF_OBJECTS to HOL_USEDIR_OPTIONS;
wenzelm
parents: 15982
diff changeset
   163
# Preferred document format
15703
727ef1b8b3ee *** empty log message ***
wenzelm
parents: 15574
diff changeset
   164
ISABELLE_DOC_FORMAT=pdf
727ef1b8b3ee *** empty log message ***
wenzelm
parents: 15574
diff changeset
   165
16186
6eb74e2cec7e renamed HOL_PROOF_OBJECTS to HOL_USEDIR_OPTIONS;
wenzelm
parents: 15982
diff changeset
   166
# The dvi file viewer
3062
be354f68d340 improved DVI_VIEWER default;
wenzelm
parents: 3009
diff changeset
   167
DVI_VIEWER=xdvi
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   168
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
11103
wenzelm
parents: 11062
diff changeset
   169
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
2476
dae7f8ca5001 added dvi viewer alternative;
wenzelm
parents: 2466
diff changeset
   170
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
3062
be354f68d340 improved DVI_VIEWER default;
wenzelm
parents: 3009
diff changeset
   171
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
2345
8e45991e3601 added ISABELLE_DOCS;
wenzelm
parents: 2309
diff changeset
   172
16186
6eb74e2cec7e renamed HOL_PROOF_OBJECTS to HOL_USEDIR_OPTIONS;
wenzelm
parents: 15982
diff changeset
   173
# The pdf file viewer
23138
6852373aae8a tuned USEDIR_OPTIONS;
wenzelm
parents: 22148
diff changeset
   174
if [ $(uname -s) = Darwin ]; then
6852373aae8a tuned USEDIR_OPTIONS;
wenzelm
parents: 22148
diff changeset
   175
  PDF_VIEWER=open
6852373aae8a tuned USEDIR_OPTIONS;
wenzelm
parents: 22148
diff changeset
   176
else
6852373aae8a tuned USEDIR_OPTIONS;
wenzelm
parents: 22148
diff changeset
   177
  PDF_VIEWER=xpdf
6852373aae8a tuned USEDIR_OPTIONS;
wenzelm
parents: 22148
diff changeset
   178
fi
6852373aae8a tuned USEDIR_OPTIONS;
wenzelm
parents: 22148
diff changeset
   179
#PDF_VIEWER=acroread
6852373aae8a tuned USEDIR_OPTIONS;
wenzelm
parents: 22148
diff changeset
   180
#PDF_VIEWER=evince
6852373aae8a tuned USEDIR_OPTIONS;
wenzelm
parents: 22148
diff changeset
   181
15218
39747a9e3c37 display pdf as well as dvi
kleing
parents: 14981
diff changeset
   182
16186
6eb74e2cec7e renamed HOL_PROOF_OBJECTS to HOL_USEDIR_OPTIONS;
wenzelm
parents: 15982
diff changeset
   183
# Printer spool command for PS files
14933
3fd8c03e3ee6 added PRINT_COMMAND setting
wenzelm
parents: 14871
diff changeset
   184
PRINT_COMMAND=lp
3fd8c03e3ee6 added PRINT_COMMAND setting
wenzelm
parents: 14871
diff changeset
   185
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
   186
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   187
###
28651
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   188
### Proof General / Emacs
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   189
###
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   190
28249
5440452371e9 added PROOFGENERAL_HOME;
wenzelm
parents: 27921
diff changeset
   191
# Proof General home, look in a variety of places
5440452371e9 added PROOFGENERAL_HOME;
wenzelm
parents: 27921
diff changeset
   192
PROOFGENERAL_HOME=$(choosefrom \
5440452371e9 added PROOFGENERAL_HOME;
wenzelm
parents: 27921
diff changeset
   193
  "$ISABELLE_HOME/contrib/ProofGeneral" \
5440452371e9 added PROOFGENERAL_HOME;
wenzelm
parents: 27921
diff changeset
   194
  "$ISABELLE_HOME/../ProofGeneral" \
5440452371e9 added PROOFGENERAL_HOME;
wenzelm
parents: 27921
diff changeset
   195
  "/usr/local/ProofGeneral" \
5440452371e9 added PROOFGENERAL_HOME;
wenzelm
parents: 27921
diff changeset
   196
  "/usr/share/ProofGeneral" \
5440452371e9 added PROOFGENERAL_HOME;
wenzelm
parents: 27921
diff changeset
   197
  "/opt/ProofGeneral" \
5440452371e9 added PROOFGENERAL_HOME;
wenzelm
parents: 27921
diff changeset
   198
  "")
5440452371e9 added PROOFGENERAL_HOME;
wenzelm
parents: 27921
diff changeset
   199
29149
eae45c2a6811 more sophisticated MacOS interface script (mostly for Carbon Emacs);
wenzelm
parents: 29145
diff changeset
   200
PROOFGENERAL_OPTIONS=""
eae45c2a6811 more sophisticated MacOS interface script (mostly for Carbon Emacs);
wenzelm
parents: 29145
diff changeset
   201
#PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets"
17574
aa9d8483cabc PROOFGENERAL_OPTIONS: smart fall-back on plain emacs (back again);
wenzelm
parents: 17522
diff changeset
   202
17383
3eb21fb8c2ec no longer prefer xemacs, which fails more often than GNU emacs;
wenzelm
parents: 17119
diff changeset
   203
# Automatic setup of remote fonts
9994
b06f6d2eef5f XSYMBOL_INSTALLFONTS is back;
wenzelm
parents: 9989
diff changeset
   204
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
28249
5440452371e9 added PROOFGENERAL_HOME;
wenzelm
parents: 27921
diff changeset
   205
XSYMBOL_INSTALLFONTS=""
7185
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   206
28651
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   207
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   208
###
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   209
### jEdit
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   210
###
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   211
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   212
JEDIT_HOME=$(choosefrom \
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   213
  "$ISABELLE_HOME/contrib/jedit" \
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   214
  "$ISABELLE_HOME/../jedit" \
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   215
  "/usr/local/jedit" \
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   216
  "/usr/share/jedit" \
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   217
  "/opt/jedit" \
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   218
  "")
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   219
28659
b4fd14ae8b8a less ambitious default for JEDIT_JAVA_OPTIONS;
wenzelm
parents: 28658
diff changeset
   220
JEDIT_JAVA_OPTIONS=""
b4fd14ae8b8a less ambitious default for JEDIT_JAVA_OPTIONS;
wenzelm
parents: 28658
diff changeset
   221
#JEDIT_JAVA_OPTIONS="-server -Xms128m -Xmx512m"
28658
a03ae929d9c0 JEDIT_OPTIONS: moved -settings to interface script (more robust);
wenzelm
parents: 28657
diff changeset
   222
JEDIT_OPTIONS="-reuseview -noserver -nobackground"
28651
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   223
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   224
7185
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   225
###
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   226
### External reasoning tools
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   227
###
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   228
7194
wenzelm
parents: 7185
diff changeset
   229
## Set HOME only for tools you have installed!
7185
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   230
26212
225b40bf36a7 removed obsolete THIS_IS_ISABELLE_BUILD feature;
wenzelm
parents: 26205
diff changeset
   231
# External provers
28995
d59b8124f1f5 uniform treatment of ISABELLE_HOME/contrib vs. ISABELLE_HOME/..;
wenzelm
parents: 28915
diff changeset
   232
E_HOME=$(choosefrom \
d59b8124f1f5 uniform treatment of ISABELLE_HOME/contrib vs. ISABELLE_HOME/..;
wenzelm
parents: 28915
diff changeset
   233
  "$ISABELLE_HOME/contrib/E/$ML_PLATFORM" \
d59b8124f1f5 uniform treatment of ISABELLE_HOME/contrib vs. ISABELLE_HOME/..;
wenzelm
parents: 28915
diff changeset
   234
  "$ISABELLE_HOME/../E/$ML_PLATFORM" \
31423
79e707bb0d6b uniform default settings for E, Vampire, SPASS;
wenzelm
parents: 31309
diff changeset
   235
  "/usr/local/E/$ML_PLATFORM" \
28995
d59b8124f1f5 uniform treatment of ISABELLE_HOME/contrib vs. ISABELLE_HOME/..;
wenzelm
parents: 28915
diff changeset
   236
  "")
d59b8124f1f5 uniform treatment of ISABELLE_HOME/contrib vs. ISABELLE_HOME/..;
wenzelm
parents: 28915
diff changeset
   237
VAMPIRE_HOME=$(choosefrom \
d59b8124f1f5 uniform treatment of ISABELLE_HOME/contrib vs. ISABELLE_HOME/..;
wenzelm
parents: 28915
diff changeset
   238
  "$ISABELLE_HOME/contrib/vampire/$ML_PLATFORM" \
d59b8124f1f5 uniform treatment of ISABELLE_HOME/contrib vs. ISABELLE_HOME/..;
wenzelm
parents: 28915
diff changeset
   239
  "$ISABELLE_HOME/../vampire/$ML_PLATFORM" \
31423
79e707bb0d6b uniform default settings for E, Vampire, SPASS;
wenzelm
parents: 31309
diff changeset
   240
  "/usr/local/vampire/$ML_PLATFORM" \
28995
d59b8124f1f5 uniform treatment of ISABELLE_HOME/contrib vs. ISABELLE_HOME/..;
wenzelm
parents: 28915
diff changeset
   241
  "")
d59b8124f1f5 uniform treatment of ISABELLE_HOME/contrib vs. ISABELLE_HOME/..;
wenzelm
parents: 28915
diff changeset
   242
SPASS_HOME=$(choosefrom \
d59b8124f1f5 uniform treatment of ISABELLE_HOME/contrib vs. ISABELLE_HOME/..;
wenzelm
parents: 28915
diff changeset
   243
  "$ISABELLE_HOME/contrib/spass/$ML_PLATFORM/bin" \
d59b8124f1f5 uniform treatment of ISABELLE_HOME/contrib vs. ISABELLE_HOME/..;
wenzelm
parents: 28915
diff changeset
   244
  "$ISABELLE_HOME/../spass/$ML_PLATFORM/bin" \
31423
79e707bb0d6b uniform default settings for E, Vampire, SPASS;
wenzelm
parents: 31309
diff changeset
   245
  "/usr/local/spass/$ML_PLATFORM" \
28995
d59b8124f1f5 uniform treatment of ISABELLE_HOME/contrib vs. ISABELLE_HOME/..;
wenzelm
parents: 28915
diff changeset
   246
  "")
26212
225b40bf36a7 removed obsolete THIS_IS_ISABELLE_BUILD feature;
wenzelm
parents: 26205
diff changeset
   247
17001
wenzelm
parents: 16968
diff changeset
   248
# HOL4 proof objects (cf. Isabelle/src/HOL/Import)
26212
225b40bf36a7 removed obsolete THIS_IS_ISABELLE_BUILD feature;
wenzelm
parents: 26205
diff changeset
   249
#HOL4_PROOFS="$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs"
17001
wenzelm
parents: 16968
diff changeset
   250
7185
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   251
# SVC (Stanford Validity Checker)
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   252
#SVC_HOME=
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   253
#SVC_MACHINE=i386-redhat-linux
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   254
#SVC_MACHINE=sparc-sun-solaris
7296
81286f228b2d Mucke, Einhoven;
wenzelm
parents: 7194
diff changeset
   255
81286f228b2d Mucke, Einhoven;
wenzelm
parents: 7194
diff changeset
   256
# Mucke (mu-calculus model checker)
81286f228b2d Mucke, Einhoven;
wenzelm
parents: 7194
diff changeset
   257
#MUCKE_HOME=/usr/local/bin
81286f228b2d Mucke, Einhoven;
wenzelm
parents: 7194
diff changeset
   258
81286f228b2d Mucke, Einhoven;
wenzelm
parents: 7194
diff changeset
   259
# Einhoven model checker
81286f228b2d Mucke, Einhoven;
wenzelm
parents: 7194
diff changeset
   260
#EINDHOVEN_HOME=/usr/local/bin
14451
2253d273d944 ZCHAFF_HOME variable added
webertj
parents: 14447
diff changeset
   261
20033
2b8dbb637792 added support for MiniSat 1.14
webertj
parents: 19312
diff changeset
   262
# MiniSat 1.14 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
2b8dbb637792 added support for MiniSat 1.14
webertj
parents: 19312
diff changeset
   263
#MINISAT_HOME=/usr/local/bin
2b8dbb637792 added support for MiniSat 1.14
webertj
parents: 19312
diff changeset
   264
17522
8d25bb07d8ed pointers to src/HOL/Tools/sat_solver.ML added in comments
webertj
parents: 17383
diff changeset
   265
# zChaff (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
15284
f14c6c057172 *** empty log message ***
webertj
parents: 15283
diff changeset
   266
#ZCHAFF_HOME=/usr/local/bin
14942
78ddcbebace1 entries for ZChaff and BerkMin added/modified
webertj
parents: 14933
diff changeset
   267
17522
8d25bb07d8ed pointers to src/HOL/Tools/sat_solver.ML added in comments
webertj
parents: 17383
diff changeset
   268
# BerkMin561 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
14942
78ddcbebace1 entries for ZChaff and BerkMin added/modified
webertj
parents: 14933
diff changeset
   269
#BERKMIN_HOME=/usr/local/bin
78ddcbebace1 entries for ZChaff and BerkMin added/modified
webertj
parents: 14933
diff changeset
   270
#BERKMIN_EXE=BerkMin561-linux
78ddcbebace1 entries for ZChaff and BerkMin added/modified
webertj
parents: 14933
diff changeset
   271
#BERKMIN_EXE=BerkMin561-solaris
14943
ffdb22cf6f67 Jerusat settings added
webertj
parents: 14942
diff changeset
   272
17522
8d25bb07d8ed pointers to src/HOL/Tools/sat_solver.ML added in comments
webertj
parents: 17383
diff changeset
   273
# Jerusat 1.3 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
14943
ffdb22cf6f67 Jerusat settings added
webertj
parents: 14942
diff changeset
   274
#JERUSAT_HOME=/usr/local/bin
16419
0c3db621bbbd updated;
wenzelm
parents: 16250
diff changeset
   275
16873
9ed940a1bebb proving bounds for real linear programs
obua
parents: 16775
diff changeset
   276
# For configuring HOL/Matrix/cplex
16966
37e34f315057 1. changed configuration variables for linear programming (Cplex_tools):
obua
parents: 16875
diff changeset
   277
# LP_SOLVER is the default solver. It can be changed during runtime via Cplex.set_solver.
16873
9ed940a1bebb proving bounds for real linear programs
obua
parents: 16775
diff changeset
   278
# First option: use the commercial cplex solver
16968
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
   279
#LP_SOLVER=CPLEX
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
   280
#CPLEX_PATH=cplex
16873
9ed940a1bebb proving bounds for real linear programs
obua
parents: 16775
diff changeset
   281
# Second option: use the open source glpk solver
16968
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
   282
#LP_SOLVER=GLPK
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
   283
#GLPK_PATH=glpsol