etc/settings
author wenzelm
Tue, 21 Oct 2008 21:59:22 +0200
changeset 28657 16bbb7fabe0e
parent 28651 0e3f899eb6cf
child 28658 a03ae929d9c0
permissions -rw-r--r--
make JEDIT_JAVA_OPTIONS and JEDIT_OPTIONS actually work;
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
# $Id$
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
     3
#
2309
390c1b6baaa5 added ISAMODE_HOME;
wenzelm
parents: 2294
diff changeset
     4
# Isabelle settings -- site defaults.
16875
c62bdfbf6a2a retract accidental user commit;
wenzelm
parents: 16873
diff changeset
     5
#
c62bdfbf6a2a retract accidental user commit;
wenzelm
parents: 16873
diff changeset
     6
# Important notes:
c62bdfbf6a2a retract accidental user commit;
wenzelm
parents: 16873
diff changeset
     7
#   * See the system manual for explanations on Isabelle settings
c62bdfbf6a2a retract accidental user commit;
wenzelm
parents: 16873
diff changeset
     8
#   * DO NOT EDIT the repository copy of this file!
c62bdfbf6a2a retract accidental user commit;
wenzelm
parents: 16873
diff changeset
     9
#   * DO NOT COPY this file into your personal isabelle directory!
2309
390c1b6baaa5 added ISAMODE_HOME;
wenzelm
parents: 2294
diff changeset
    10
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
    11
###
3177
3c1448b9b0ee tuned comments;
wenzelm
parents: 3158
diff changeset
    12
### ML compiler settings (ESSENTIAL!)
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
    13
###
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
    14
16968
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
    15
# 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
    16
# 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
    17
# Only one of the sections below should be activated.
14447
5b61dc4eab24 include more explanation of variables
kleing
parents: 14344
diff changeset
    18
21812
2776dcfd5617 tuned comments;
wenzelm
parents: 21653
diff changeset
    19
# Poly/ML 4.x/5.x (automated settings)
16968
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
    20
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
    21
ML_PLATFORM=$("$ISABELLE_HOME/lib/scripts/polyml-platform")
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
    22
ML_HOME=$(choosefrom \
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
    23
  "$ISABELLE_HOME/contrib/polyml/$ML_PLATFORM" \
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
    24
  "$ISABELLE_HOME/../polyml/$ML_PLATFORM" \
17119
wenzelm
parents: 17048
diff changeset
    25
  "/usr/local/polyml/$ML_PLATFORM" \
16968
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
    26
  "/usr/share/polyml/$ML_PLATFORM" \
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
    27
  "/opt/polyml/$ML_PLATFORM" \
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
    28
  $POLY_HOME)
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
    29
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
    30
ML_OPTIONS="-H 200"
17048
9aa7f0a2bbf5 -V outline=/proof,/ML;
wenzelm
parents: 17005
diff changeset
    31
ML_DBASE=""
8345
e708af969264 new Poly/ML setup made default;
wenzelm
parents: 7873
diff changeset
    32
25347
297e2520ee82 tuned comments;
wenzelm
parents: 25115
diff changeset
    33
# Poly/ML 5.1
297e2520ee82 tuned comments;
wenzelm
parents: 25115
diff changeset
    34
#ML_PLATFORM=x86-linux
297e2520ee82 tuned comments;
wenzelm
parents: 25115
diff changeset
    35
#ML_HOME=/usr/local/polyml/x86-linux
297e2520ee82 tuned comments;
wenzelm
parents: 25115
diff changeset
    36
#ML_SYSTEM=polyml-5.1
297e2520ee82 tuned comments;
wenzelm
parents: 25115
diff changeset
    37
#ML_OPTIONS="-H 500"
297e2520ee82 tuned comments;
wenzelm
parents: 25115
diff changeset
    38
297e2520ee82 tuned comments;
wenzelm
parents: 25115
diff changeset
    39
# Poly/ML 5.1 (64 bit)
20764
4aa5c89b933e added Poly/ML 4.9.1 (experimental!);
wenzelm
parents: 20033
diff changeset
    40
#ML_PLATFORM=x86_64-linux
4aa5c89b933e added Poly/ML 4.9.1 (experimental!);
wenzelm
parents: 20033
diff changeset
    41
#ML_HOME=/usr/local/polyml/x86_64-linux
24479
b272d7998193 added POLYML_LINK_OPTIONS, which is required for unusual platforms (notably cygwin);
wenzelm
parents: 24439
diff changeset
    42
#ML_SYSTEM=polyml-5.1
b272d7998193 added POLYML_LINK_OPTIONS, which is required for unusual platforms (notably cygwin);
wenzelm
parents: 24439
diff changeset
    43
#ML_OPTIONS="-H 1000"
b272d7998193 added POLYML_LINK_OPTIONS, which is required for unusual platforms (notably cygwin);
wenzelm
parents: 24439
diff changeset
    44
21812
2776dcfd5617 tuned comments;
wenzelm
parents: 21653
diff changeset
    45
# Poly/ML 4.2.0
2776dcfd5617 tuned comments;
wenzelm
parents: 21653
diff changeset
    46
#ML_PLATFORM=x86-linux
2776dcfd5617 tuned comments;
wenzelm
parents: 21653
diff changeset
    47
#ML_HOME=/usr/local/polyml/x86-linux
2776dcfd5617 tuned comments;
wenzelm
parents: 21653
diff changeset
    48
#ML_SYSTEM=polyml-4.2.0
2776dcfd5617 tuned comments;
wenzelm
parents: 21653
diff changeset
    49
#ML_OPTIONS="-H 80"
2776dcfd5617 tuned comments;
wenzelm
parents: 21653
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
297e2520ee82 tuned comments;
wenzelm
parents: 25115
diff changeset
    64
# Alice 1.4 (experimental!)
297e2520ee82 tuned comments;
wenzelm
parents: 25115
diff changeset
    65
#ML_SYSTEM=alice
297e2520ee82 tuned comments;
wenzelm
parents: 25115
diff changeset
    66
#ML_HOME="/usr/local/alice/bin"
17825
wenzelm
parents: 17793
diff changeset
    67
#ML_OPTIONS=""
6413
b2f2770ef8d9 ML_PLATFORM;
wenzelm
parents: 5964
diff changeset
    68
#ML_PLATFORM=""
5708
fb09ab6a447f dropped support for SML/NJ 109.x;
wenzelm
parents: 5659
diff changeset
    69
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
    70
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
    71
###
27906
df49b4da8903 added JVM components (Scala or Java);
wenzelm
parents: 27202
diff changeset
    72
### JVM components (Scala or Java)
df49b4da8903 added JVM components (Scala or Java);
wenzelm
parents: 27202
diff changeset
    73
###
df49b4da8903 added JVM components (Scala or Java);
wenzelm
parents: 27202
diff changeset
    74
27912
ffb69afdd4b4 added ISABELLE_SCALA, ISABELLE_JAVA;
wenzelm
parents: 27906
diff changeset
    75
ISABELLE_SCALA="scala"
ffb69afdd4b4 added ISABELLE_SCALA, ISABELLE_JAVA;
wenzelm
parents: 27906
diff changeset
    76
ISABELLE_JAVA="java"
ffb69afdd4b4 added ISABELLE_SCALA, ISABELLE_JAVA;
wenzelm
parents: 27906
diff changeset
    77
27921
25818c7907f3 add scala-library.jar if available;
wenzelm
parents: 27912
diff changeset
    78
[ -e "$ISABELLE_HOME/contrib/scala" ] && \
25818c7907f3 add scala-library.jar if available;
wenzelm
parents: 27912
diff changeset
    79
  classpath "$ISABELLE_HOME/contrib/scala/lib/scala-library.jar"
25818c7907f3 add scala-library.jar if available;
wenzelm
parents: 27912
diff changeset
    80
27906
df49b4da8903 added JVM components (Scala or Java);
wenzelm
parents: 27202
diff changeset
    81
classpath "$ISABELLE_HOME/lib/classes/Pure.jar"
df49b4da8903 added JVM components (Scala or Java);
wenzelm
parents: 27202
diff changeset
    82
df49b4da8903 added JVM components (Scala or Java);
wenzelm
parents: 27202
diff changeset
    83
df49b4da8903 added JVM components (Scala or Java);
wenzelm
parents: 27202
diff changeset
    84
###
28504
7ad7d7d6df47 simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents: 28474
diff changeset
    85
### Interactive sessions (cf. isabelle tty)
25627
7726fbf5f81f added ISABELLE_LINE_EDITOR;
wenzelm
parents: 25500
diff changeset
    86
###
7726fbf5f81f added ISABELLE_LINE_EDITOR;
wenzelm
parents: 25500
diff changeset
    87
7726fbf5f81f added ISABELLE_LINE_EDITOR;
wenzelm
parents: 25500
diff changeset
    88
ISABELLE_LINE_EDITOR=""
26205
499f08293680 ISABELLE_LINE_EDITOR: prefer rlwrap, which passes interrupts properly;
wenzelm
parents: 25970
diff changeset
    89
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p rlwrap)"
25627
7726fbf5f81f added ISABELLE_LINE_EDITOR;
wenzelm
parents: 25500
diff changeset
    90
[ -z "$ISABELLE_LINE_EDITOR" ] && ISABELLE_LINE_EDITOR="$(type -p ledit)"
7726fbf5f81f added ISABELLE_LINE_EDITOR;
wenzelm
parents: 25500
diff changeset
    91
7726fbf5f81f added ISABELLE_LINE_EDITOR;
wenzelm
parents: 25500
diff changeset
    92
7726fbf5f81f added ISABELLE_LINE_EDITOR;
wenzelm
parents: 25500
diff changeset
    93
###
28504
7ad7d7d6df47 simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents: 28474
diff changeset
    94
### Batch sessions (cf. isabelle usedir)
2435
750a73406623 added ISABELLE_HTML;
wenzelm
parents: 2426
diff changeset
    95
###
750a73406623 added ISABELLE_HTML;
wenzelm
parents: 2426
diff changeset
    96
23138
6852373aae8a tuned USEDIR_OPTIONS;
wenzelm
parents: 22148
diff changeset
    97
ISABELLE_USEDIR_OPTIONS="-p 1 -v true -V outline=/proof,/ML"
11569
06d6f1ea6021 updated;
wenzelm
parents: 11552
diff changeset
    98
16186
6eb74e2cec7e renamed HOL_PROOF_OBJECTS to HOL_USEDIR_OPTIONS;
wenzelm
parents: 15982
diff changeset
    99
# Specifically for the HOL image
24439
f52709e5230e HOL_USEDIR_OPTIONS: no special -M setting (now works with multithreaded);
wenzelm
parents: 24212
diff changeset
   100
HOL_USEDIR_OPTIONS=""
f52709e5230e HOL_USEDIR_OPTIONS: no special -M setting (now works with multithreaded);
wenzelm
parents: 24212
diff changeset
   101
#HOL_USEDIR_OPTIONS="-p 2"
14044
bbd2f7b00736 set HOL_PROOF_OBJECTS in settings, not makefile (makes override in user settings possible)
kleing
parents: 13920
diff changeset
   102
23837
55b89b14d871 added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents: 23138
diff changeset
   103
#Source file identification (default: full name + date stamp)
55b89b14d871 added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents: 23138
diff changeset
   104
ISABELLE_FILE_IDENT=""
55b89b14d871 added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents: 23138
diff changeset
   105
#ISABELLE_FILE_IDENT="md5"
55b89b14d871 added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents: 23138
diff changeset
   106
#ISABELLE_FILE_IDENT="md5sum"
55b89b14d871 added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents: 23138
diff changeset
   107
#ISABELLE_FILE_IDENT="sha1sum"
55b89b14d871 added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents: 23138
diff changeset
   108
#ISABELLE_FILE_IDENT="openssl dgst -sha1"
55b89b14d871 added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents: 23138
diff changeset
   109
2435
750a73406623 added ISABELLE_HTML;
wenzelm
parents: 2426
diff changeset
   110
750a73406623 added ISABELLE_HTML;
wenzelm
parents: 2426
diff changeset
   111
###
28504
7ad7d7d6df47 simplified main Isabelle executables: removed Isabelle and isabelle (replaced by isabelle-process), renamed isatool to isabelle;
wenzelm
parents: 28474
diff changeset
   112
### Document preparation (cf. isabelle latex/document)
7773
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
   113
###
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
   114
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
   115
ISABELLE_LATEX="latex"
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
   116
ISABELLE_PDFLATEX="pdflatex"
7813
4412debd3004 added ISABELLE_BIBTEX;
wenzelm
parents: 7776
diff changeset
   117
ISABELLE_BIBTEX="bibtex"
14344
0f0a2148a099 run makeindex if necessary
kleing
parents: 14253
diff changeset
   118
ISABELLE_MAKEINDEX="makeindex"
7773
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
   119
ISABELLE_DVIPS="dvips -D 600"
11800
5f84c687ba06 ISABELLE_EPSTOPDF="epstopdf";
wenzelm
parents: 11569
diff changeset
   120
ISABELLE_EPSTOPDF="epstopdf"
7773
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
   121
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   122
# Paranoia setting for strange latex installations ...
11062
wenzelm
parents: 10503
diff changeset
   123
#unset TEXMF
wenzelm
parents: 10503
diff changeset
   124
7773
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
   125
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
   126
###
2968
8ba30b031f31 eliminated PLATFORM;
wenzelm
parents: 2915
diff changeset
   127
### Misc path settings
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   128
###
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
   129
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   130
# The place for user configuration, heap files, etc.
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   131
ISABELLE_HOME_USER=~/isabelle
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
   132
3177
3c1448b9b0ee tuned comments;
wenzelm
parents: 3158
diff changeset
   133
# 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
   134
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
2786
b36ca42c409a tuned comments;
wenzelm
parents: 2780
diff changeset
   135
4334
e567f3425267 ISABELLE_TMP_PREFIX;
wenzelm
parents: 3689
diff changeset
   136
# 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
   137
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
4334
e567f3425267 ISABELLE_TMP_PREFIX;
wenzelm
parents: 3689
diff changeset
   138
9787
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
   139
# 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
   140
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER:$ISABELLE_HOME/heaps"
2780
1dc77f6d83e1 added THIS_IS_ISABELLE_BUILD discrimination;
wenzelm
parents: 2742
diff changeset
   141
9787
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
   142
# 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
   143
ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER"
225b40bf36a7 removed obsolete THIS_IS_ISABELLE_BUILD feature;
wenzelm
parents: 26205
diff changeset
   144
ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
2780
1dc77f6d83e1 added THIS_IS_ISABELLE_BUILD discrimination;
wenzelm
parents: 2742
diff changeset
   145
16186
6eb74e2cec7e renamed HOL_PROOF_OBJECTS to HOL_USEDIR_OPTIONS;
wenzelm
parents: 15982
diff changeset
   146
# 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
   147
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
4772656ddbbc added site settings check;
wenzelm
parents: 8880
diff changeset
   148
  { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
4772656ddbbc added site settings check;
wenzelm
parents: 8880
diff changeset
   149
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   150
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   151
###
28651
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   152
### Default logic
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   153
###
16186
6eb74e2cec7e renamed HOL_PROOF_OBJECTS to HOL_USEDIR_OPTIONS;
wenzelm
parents: 15982
diff changeset
   154
3184
4e0bbfb113d5 renamed DEFAULT_LOGIC to ISABELLE_LOGIC;
wenzelm
parents: 3182
diff changeset
   155
ISABELLE_LOGIC=HOL
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
   156
2786
b36ca42c409a tuned comments;
wenzelm
parents: 2780
diff changeset
   157
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   158
###
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   159
### Docs
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   160
###
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
   161
16186
6eb74e2cec7e renamed HOL_PROOF_OBJECTS to HOL_USEDIR_OPTIONS;
wenzelm
parents: 15982
diff changeset
   162
# 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
   163
ISABELLE_DOCS="$ISABELLE_HOME/doc"
2345
8e45991e3601 added ISABELLE_DOCS;
wenzelm
parents: 2309
diff changeset
   164
16186
6eb74e2cec7e renamed HOL_PROOF_OBJECTS to HOL_USEDIR_OPTIONS;
wenzelm
parents: 15982
diff changeset
   165
# Preferred document format
15703
727ef1b8b3ee *** empty log message ***
wenzelm
parents: 15574
diff changeset
   166
ISABELLE_DOC_FORMAT=pdf
727ef1b8b3ee *** empty log message ***
wenzelm
parents: 15574
diff changeset
   167
16186
6eb74e2cec7e renamed HOL_PROOF_OBJECTS to HOL_USEDIR_OPTIONS;
wenzelm
parents: 15982
diff changeset
   168
# The dvi file viewer
3062
be354f68d340 improved DVI_VIEWER default;
wenzelm
parents: 3009
diff changeset
   169
DVI_VIEWER=xdvi
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   170
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
11103
wenzelm
parents: 11062
diff changeset
   171
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
2476
dae7f8ca5001 added dvi viewer alternative;
wenzelm
parents: 2466
diff changeset
   172
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
3062
be354f68d340 improved DVI_VIEWER default;
wenzelm
parents: 3009
diff changeset
   173
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
2345
8e45991e3601 added ISABELLE_DOCS;
wenzelm
parents: 2309
diff changeset
   174
16186
6eb74e2cec7e renamed HOL_PROOF_OBJECTS to HOL_USEDIR_OPTIONS;
wenzelm
parents: 15982
diff changeset
   175
# The pdf file viewer
23138
6852373aae8a tuned USEDIR_OPTIONS;
wenzelm
parents: 22148
diff changeset
   176
if [ $(uname -s) = Darwin ]; then
6852373aae8a tuned USEDIR_OPTIONS;
wenzelm
parents: 22148
diff changeset
   177
  PDF_VIEWER=open
6852373aae8a tuned USEDIR_OPTIONS;
wenzelm
parents: 22148
diff changeset
   178
else
6852373aae8a tuned USEDIR_OPTIONS;
wenzelm
parents: 22148
diff changeset
   179
  PDF_VIEWER=xpdf
6852373aae8a tuned USEDIR_OPTIONS;
wenzelm
parents: 22148
diff changeset
   180
fi
6852373aae8a tuned USEDIR_OPTIONS;
wenzelm
parents: 22148
diff changeset
   181
#PDF_VIEWER=acroread
6852373aae8a tuned USEDIR_OPTIONS;
wenzelm
parents: 22148
diff changeset
   182
#PDF_VIEWER=evince
6852373aae8a tuned USEDIR_OPTIONS;
wenzelm
parents: 22148
diff changeset
   183
15218
39747a9e3c37 display pdf as well as dvi
kleing
parents: 14981
diff changeset
   184
16186
6eb74e2cec7e renamed HOL_PROOF_OBJECTS to HOL_USEDIR_OPTIONS;
wenzelm
parents: 15982
diff changeset
   185
# Printer spool command for PS files
14933
3fd8c03e3ee6 added PRINT_COMMAND setting
wenzelm
parents: 14871
diff changeset
   186
PRINT_COMMAND=lp
3fd8c03e3ee6 added PRINT_COMMAND setting
wenzelm
parents: 14871
diff changeset
   187
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
   188
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   189
###
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   190
### Interfaces
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   191
###
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   192
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   193
# Fallback: the null interface (pass-through to raw isabelle process).
11552
aca5398ccd35 ISABELLE_INTERFACE=none by default (cannot expect X11 everywhere);
wenzelm
parents: 11103
diff changeset
   194
ISABELLE_INTERFACE=none
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
   195
17574
aa9d8483cabc PROOFGENERAL_OPTIONS: smart fall-back on plain emacs (back again);
wenzelm
parents: 17522
diff changeset
   196
ISABELLE_INTERFACE=$(choosefrom \
9679
6dca83af209b choosefrom: easy settings;
wenzelm
parents: 9569
diff changeset
   197
  "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
6dca83af209b choosefrom: easy settings;
wenzelm
parents: 9569
diff changeset
   198
  "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
17119
wenzelm
parents: 17048
diff changeset
   199
  "/usr/local/ProofGeneral/isar/interface" \
9787
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
   200
  "/usr/share/ProofGeneral/isar/interface" \
10070
fefb958b52aa tuned auto paths;
wenzelm
parents: 9994
diff changeset
   201
  "/opt/ProofGeneral/isar/interface" \
9956
e75e6a603e71 added /usr/share/emacs/ProofGeneral/isar/interface choice;
wenzelm
parents: 9948
diff changeset
   202
  "/usr/share/emacs/ProofGeneral/isar/interface" \
9679
6dca83af209b choosefrom: easy settings;
wenzelm
parents: 9569
diff changeset
   203
  "$ISABELLE_INTERFACE")
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   204
28651
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   205
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   206
###
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   207
### Proof General / Emacs
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   208
###
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   209
28249
5440452371e9 added PROOFGENERAL_HOME;
wenzelm
parents: 27921
diff changeset
   210
# Proof General home, look in a variety of places
5440452371e9 added PROOFGENERAL_HOME;
wenzelm
parents: 27921
diff changeset
   211
PROOFGENERAL_HOME=$(choosefrom \
5440452371e9 added PROOFGENERAL_HOME;
wenzelm
parents: 27921
diff changeset
   212
  "$ISABELLE_HOME/contrib/ProofGeneral" \
5440452371e9 added PROOFGENERAL_HOME;
wenzelm
parents: 27921
diff changeset
   213
  "$ISABELLE_HOME/../ProofGeneral" \
5440452371e9 added PROOFGENERAL_HOME;
wenzelm
parents: 27921
diff changeset
   214
  "/usr/local/ProofGeneral" \
5440452371e9 added PROOFGENERAL_HOME;
wenzelm
parents: 27921
diff changeset
   215
  "/usr/share/ProofGeneral" \
5440452371e9 added PROOFGENERAL_HOME;
wenzelm
parents: 27921
diff changeset
   216
  "/opt/ProofGeneral" \
5440452371e9 added PROOFGENERAL_HOME;
wenzelm
parents: 27921
diff changeset
   217
  "")
5440452371e9 added PROOFGENERAL_HOME;
wenzelm
parents: 27921
diff changeset
   218
28473
206db9ad527e added PROOFGENERAL_EMACS, with attempt to find Carbon Emacs;
wenzelm
parents: 28249
diff changeset
   219
PROOFGENERAL_EMACS=$(choosefrom /Applications/Emacs.app/Contents/MacOS/Emacs emacs22)
206db9ad527e added PROOFGENERAL_EMACS, with attempt to find Carbon Emacs;
wenzelm
parents: 28249
diff changeset
   220
PROOFGENERAL_OPTIONS="-p $PROOFGENERAL_EMACS"
206db9ad527e added PROOFGENERAL_EMACS, with attempt to find Carbon Emacs;
wenzelm
parents: 28249
diff changeset
   221
#PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true -p $PROOFGENERAL_EMACS"
17574
aa9d8483cabc PROOFGENERAL_OPTIONS: smart fall-back on plain emacs (back again);
wenzelm
parents: 17522
diff changeset
   222
17383
3eb21fb8c2ec no longer prefer xemacs, which fails more often than GNU emacs;
wenzelm
parents: 17119
diff changeset
   223
# Automatic setup of remote fonts
9994
b06f6d2eef5f XSYMBOL_INSTALLFONTS is back;
wenzelm
parents: 9989
diff changeset
   224
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
28249
5440452371e9 added PROOFGENERAL_HOME;
wenzelm
parents: 27921
diff changeset
   225
XSYMBOL_INSTALLFONTS=""
7185
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   226
28651
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   227
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   228
###
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   229
### jEdit
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   230
###
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   231
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   232
JEDIT_HOME=$(choosefrom \
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   233
  "$ISABELLE_HOME/contrib/jedit" \
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   234
  "$ISABELLE_HOME/../jedit" \
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   235
  "/usr/local/jedit" \
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   236
  "/usr/share/jedit" \
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   237
  "/opt/jedit" \
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   238
  "")
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   239
28657
16bbb7fabe0e make JEDIT_JAVA_OPTIONS and JEDIT_OPTIONS actually work;
wenzelm
parents: 28651
diff changeset
   240
JEDIT_JAVA_OPTIONS="-server -Xms128m -Xmx512m"
16bbb7fabe0e make JEDIT_JAVA_OPTIONS and JEDIT_OPTIONS actually work;
wenzelm
parents: 28651
diff changeset
   241
JEDIT_OPTIONS="-reuseview -noserver -nobackground '-settings=$ISABELLE_HOME_USER/jedit'"
28651
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   242
0e3f899eb6cf added jEdit settings;
wenzelm
parents: 28504
diff changeset
   243
7185
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   244
###
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   245
### External reasoning tools
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   246
###
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   247
7194
wenzelm
parents: 7185
diff changeset
   248
## Set HOME only for tools you have installed!
7185
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   249
26212
225b40bf36a7 removed obsolete THIS_IS_ISABELLE_BUILD feature;
wenzelm
parents: 26205
diff changeset
   250
# External provers
225b40bf36a7 removed obsolete THIS_IS_ISABELLE_BUILD feature;
wenzelm
parents: 26205
diff changeset
   251
E_HOME=$(choosefrom "$ISABELLE_HOME/contrib/E/$ML_PLATFORM" "/usr/local/E" "")
28474
d0b8b0a1fca5 Vampire wrapper script for remote SystemOnTPTP service (by Fabian Immler);
wenzelm
parents: 28473
diff changeset
   252
VAMPIRE_HOME=$(choosefrom "$ISABELLE_HOME/contrib/vampire/$ML_PLATFORM" "/usr/local/Vampire" \
d0b8b0a1fca5 Vampire wrapper script for remote SystemOnTPTP service (by Fabian Immler);
wenzelm
parents: 28473
diff changeset
   253
  "$ISABELLE_HOME/contrib/SystemOnTPTP" "")
26212
225b40bf36a7 removed obsolete THIS_IS_ISABELLE_BUILD feature;
wenzelm
parents: 26205
diff changeset
   254
SPASS_HOME=$(choosefrom "$ISABELLE_HOME/contrib/spass/$ML_PLATFORM/bin" "/usr/local/SPASS" "")
225b40bf36a7 removed obsolete THIS_IS_ISABELLE_BUILD feature;
wenzelm
parents: 26205
diff changeset
   255
17001
wenzelm
parents: 16968
diff changeset
   256
# HOL4 proof objects (cf. Isabelle/src/HOL/Import)
26212
225b40bf36a7 removed obsolete THIS_IS_ISABELLE_BUILD feature;
wenzelm
parents: 26205
diff changeset
   257
#HOL4_PROOFS="$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs"
17001
wenzelm
parents: 16968
diff changeset
   258
7185
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   259
# SVC (Stanford Validity Checker)
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   260
#SVC_HOME=
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   261
#SVC_MACHINE=i386-redhat-linux
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   262
#SVC_MACHINE=sparc-sun-solaris
7296
81286f228b2d Mucke, Einhoven;
wenzelm
parents: 7194
diff changeset
   263
81286f228b2d Mucke, Einhoven;
wenzelm
parents: 7194
diff changeset
   264
# Mucke (mu-calculus model checker)
81286f228b2d Mucke, Einhoven;
wenzelm
parents: 7194
diff changeset
   265
#MUCKE_HOME=/usr/local/bin
81286f228b2d Mucke, Einhoven;
wenzelm
parents: 7194
diff changeset
   266
81286f228b2d Mucke, Einhoven;
wenzelm
parents: 7194
diff changeset
   267
# Einhoven model checker
81286f228b2d Mucke, Einhoven;
wenzelm
parents: 7194
diff changeset
   268
#EINDHOVEN_HOME=/usr/local/bin
14451
2253d273d944 ZCHAFF_HOME variable added
webertj
parents: 14447
diff changeset
   269
20033
2b8dbb637792 added support for MiniSat 1.14
webertj
parents: 19312
diff changeset
   270
# 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
   271
#MINISAT_HOME=/usr/local/bin
2b8dbb637792 added support for MiniSat 1.14
webertj
parents: 19312
diff changeset
   272
17522
8d25bb07d8ed pointers to src/HOL/Tools/sat_solver.ML added in comments
webertj
parents: 17383
diff changeset
   273
# zChaff (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
15284
f14c6c057172 *** empty log message ***
webertj
parents: 15283
diff changeset
   274
#ZCHAFF_HOME=/usr/local/bin
15331
3e85549f25f5 added ZCHAFF_VERSION
webertj
parents: 15284
diff changeset
   275
#ZCHAFF_VERSION=2004.5.13
3e85549f25f5 added ZCHAFF_VERSION
webertj
parents: 15284
diff changeset
   276
#ZCHAFF_VERSION=2004.11.15
14942
78ddcbebace1 entries for ZChaff and BerkMin added/modified
webertj
parents: 14933
diff changeset
   277
17522
8d25bb07d8ed pointers to src/HOL/Tools/sat_solver.ML added in comments
webertj
parents: 17383
diff changeset
   278
# 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
   279
#BERKMIN_HOME=/usr/local/bin
78ddcbebace1 entries for ZChaff and BerkMin added/modified
webertj
parents: 14933
diff changeset
   280
#BERKMIN_EXE=BerkMin561-linux
78ddcbebace1 entries for ZChaff and BerkMin added/modified
webertj
parents: 14933
diff changeset
   281
#BERKMIN_EXE=BerkMin561-solaris
14943
ffdb22cf6f67 Jerusat settings added
webertj
parents: 14942
diff changeset
   282
17522
8d25bb07d8ed pointers to src/HOL/Tools/sat_solver.ML added in comments
webertj
parents: 17383
diff changeset
   283
# Jerusat 1.3 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
14943
ffdb22cf6f67 Jerusat settings added
webertj
parents: 14942
diff changeset
   284
#JERUSAT_HOME=/usr/local/bin
16419
0c3db621bbbd updated;
wenzelm
parents: 16250
diff changeset
   285
16873
9ed940a1bebb proving bounds for real linear programs
obua
parents: 16775
diff changeset
   286
# For configuring HOL/Matrix/cplex
16966
37e34f315057 1. changed configuration variables for linear programming (Cplex_tools):
obua
parents: 16875
diff changeset
   287
# 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
   288
# First option: use the commercial cplex solver
16968
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
   289
#LP_SOLVER=CPLEX
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
   290
#CPLEX_PATH=cplex
16873
9ed940a1bebb proving bounds for real linear programs
obua
parents: 16775
diff changeset
   291
# Second option: use the open source glpk solver
16968
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
   292
#LP_SOLVER=GLPK
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
   293
#GLPK_PATH=glpsol