etc/settings
author wenzelm
Thu, 20 Sep 2007 20:56:34 +0200
changeset 24666 9885a86f14a8
parent 24610 14c6a2cc923c
child 25115 ec2498132ac4
permissions -rw-r--r--
tuned signature; moved generic interpretation to interpretation.ML; added abstract at_begin/end wrappers;
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")
23917
8be45ac3bb7b increase default max heap size for poly to -H 500 (this is what isatest uses,
kleing
parents: 23837
diff changeset
    30
ML_OPTIONS="-H 500"
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
24479
b272d7998193 added POLYML_LINK_OPTIONS, which is required for unusual platforms (notably cygwin);
wenzelm
parents: 24439
diff changeset
    33
# Poly/ML 5.1 on 64bit Linux
20764
4aa5c89b933e added Poly/ML 4.9.1 (experimental!);
wenzelm
parents: 20033
diff changeset
    34
#ML_PLATFORM=x86_64-linux
4aa5c89b933e added Poly/ML 4.9.1 (experimental!);
wenzelm
parents: 20033
diff changeset
    35
#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
    36
#ML_SYSTEM=polyml-5.1
b272d7998193 added POLYML_LINK_OPTIONS, which is required for unusual platforms (notably cygwin);
wenzelm
parents: 24439
diff changeset
    37
#ML_OPTIONS="-H 1000"
b272d7998193 added POLYML_LINK_OPTIONS, which is required for unusual platforms (notably cygwin);
wenzelm
parents: 24439
diff changeset
    38
b272d7998193 added POLYML_LINK_OPTIONS, which is required for unusual platforms (notably cygwin);
wenzelm
parents: 24439
diff changeset
    39
# Poly/ML 5.1 on Cygwin
b272d7998193 added POLYML_LINK_OPTIONS, which is required for unusual platforms (notably cygwin);
wenzelm
parents: 24439
diff changeset
    40
#ML_PLATFORM=x86-cygwin
b272d7998193 added POLYML_LINK_OPTIONS, which is required for unusual platforms (notably cygwin);
wenzelm
parents: 24439
diff changeset
    41
#ML_HOME=/usr/local/polyml/x86-cygwin
b272d7998193 added POLYML_LINK_OPTIONS, which is required for unusual platforms (notably cygwin);
wenzelm
parents: 24439
diff changeset
    42
#ML_SYSTEM=polyml-5.1
20987
d1674119d0f9 increased heap size for polyml-4.9.1;
wenzelm
parents: 20764
diff changeset
    43
#ML_OPTIONS="-H 500"
24480
97c0ef49fa8f renamed POLYML_LINK_OPTIONS to POLY_LINK_OPTIONS;
wenzelm
parents: 24479
diff changeset
    44
#POLY_LINK_OPTIONS="-lstdc++"
20764
4aa5c89b933e added Poly/ML 4.9.1 (experimental!);
wenzelm
parents: 20033
diff changeset
    45
21812
2776dcfd5617 tuned comments;
wenzelm
parents: 21653
diff changeset
    46
# Poly/ML 4.2.0
2776dcfd5617 tuned comments;
wenzelm
parents: 21653
diff changeset
    47
#ML_PLATFORM=x86-linux
2776dcfd5617 tuned comments;
wenzelm
parents: 21653
diff changeset
    48
#ML_HOME=/usr/local/polyml/x86-linux
2776dcfd5617 tuned comments;
wenzelm
parents: 21653
diff changeset
    49
#ML_SYSTEM=polyml-4.2.0
2776dcfd5617 tuned comments;
wenzelm
parents: 21653
diff changeset
    50
#ML_OPTIONS="-H 80"
2776dcfd5617 tuned comments;
wenzelm
parents: 21653
diff changeset
    51
5708
fb09ab6a447f dropped support for SML/NJ 109.x;
wenzelm
parents: 5659
diff changeset
    52
# Standard ML of New Jersey 110 or later
16250
1a91cdebd604 #SMLNJ_CYGWIN_RUNTIME=1
wenzelm
parents: 16186
diff changeset
    53
#SMLNJ_CYGWIN_RUNTIME=1
8345
e708af969264 new Poly/ML setup made default;
wenzelm
parents: 7873
diff changeset
    54
#ML_SYSTEM=smlnj-110
15846
6f24b0c36dbd reverted accidental commit of user modification;
wenzelm
parents: 15785
diff changeset
    55
#ML_HOME="$ISABELLE_HOME/contrib/smlnj/bin"
8345
e708af969264 new Poly/ML setup made default;
wenzelm
parents: 7873
diff changeset
    56
#ML_OPTIONS="@SMLdebug=/dev/null"
9787
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
    57
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
5708
fb09ab6a447f dropped support for SML/NJ 109.x;
wenzelm
parents: 5659
diff changeset
    58
9252
83060e826e02 Moscow ML 2.00 or later (experimental!);
wenzelm
parents: 9236
diff changeset
    59
# Moscow ML 2.00 or later (experimental!)
83060e826e02 Moscow ML 2.00 or later (experimental!);
wenzelm
parents: 9236
diff changeset
    60
#ML_SYSTEM=mosml
15846
6f24b0c36dbd reverted accidental commit of user modification;
wenzelm
parents: 15785
diff changeset
    61
#ML_HOME="$ISABELLE_HOME/contrib/mosml/bin"
17825
wenzelm
parents: 17793
diff changeset
    62
#ML_OPTIONS=""
6413
b2f2770ef8d9 ML_PLATFORM;
wenzelm
parents: 5964
diff changeset
    63
#ML_PLATFORM=""
5708
fb09ab6a447f dropped support for SML/NJ 109.x;
wenzelm
parents: 5659
diff changeset
    64
17768
72575258a561 added Poplog/PML version 15.6/2.1 (experimental!);
wenzelm
parents: 17574
diff changeset
    65
# Poplog/PML version 15.6/2.1 (experimental!)
72575258a561 added Poplog/PML version 15.6/2.1 (experimental!);
wenzelm
parents: 17574
diff changeset
    66
#ML_SYSTEM=poplogml
17825
wenzelm
parents: 17793
diff changeset
    67
#ML_HOME="/usr/local/poplog/current-poplog/bin"
17768
72575258a561 added Poplog/PML version 15.6/2.1 (experimental!);
wenzelm
parents: 17574
diff changeset
    68
#ML_OPTIONS="-noinit"
17793
017e57b1f4d0 Poplog/PML: ML_SUFFIX=.psv;
wenzelm
parents: 17768
diff changeset
    69
#ML_SUFFIX=".psv"
17825
wenzelm
parents: 17793
diff changeset
    70
#ML_PLATFORM=""
17768
72575258a561 added Poplog/PML version 15.6/2.1 (experimental!);
wenzelm
parents: 17574
diff changeset
    71
24211
213215a8640a added jEdit mode spec;
wenzelm
parents: 23917
diff changeset
    72
# Alice 1.4 (experimental!)
22148
3b99944136ef tuned comments
wenzelm
parents: 21812
diff changeset
    73
#ML_SYSTEM=alice
3b99944136ef tuned comments
wenzelm
parents: 21812
diff changeset
    74
#ML_HOME="/usr/local/alice/bin"
3b99944136ef tuned comments
wenzelm
parents: 21812
diff changeset
    75
#ML_OPTIONS=""
3b99944136ef tuned comments
wenzelm
parents: 21812
diff changeset
    76
#ML_PLATFORM=""
3b99944136ef tuned comments
wenzelm
parents: 21812
diff changeset
    77
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
    78
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
    79
###
16186
6eb74e2cec7e renamed HOL_PROOF_OBJECTS to HOL_USEDIR_OPTIONS;
wenzelm
parents: 15982
diff changeset
    80
### Compilation options (cf. isatool usedir)
2435
750a73406623 added ISABELLE_HTML;
wenzelm
parents: 2426
diff changeset
    81
###
750a73406623 added ISABELLE_HTML;
wenzelm
parents: 2426
diff changeset
    82
23138
6852373aae8a tuned USEDIR_OPTIONS;
wenzelm
parents: 22148
diff changeset
    83
ISABELLE_USEDIR_OPTIONS="-p 1 -v true -V outline=/proof,/ML"
11569
06d6f1ea6021 updated;
wenzelm
parents: 11552
diff changeset
    84
16186
6eb74e2cec7e renamed HOL_PROOF_OBJECTS to HOL_USEDIR_OPTIONS;
wenzelm
parents: 15982
diff changeset
    85
# Specifically for the HOL image
24439
f52709e5230e HOL_USEDIR_OPTIONS: no special -M setting (now works with multithreaded);
wenzelm
parents: 24212
diff changeset
    86
HOL_USEDIR_OPTIONS=""
f52709e5230e HOL_USEDIR_OPTIONS: no special -M setting (now works with multithreaded);
wenzelm
parents: 24212
diff changeset
    87
#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
    88
23837
55b89b14d871 added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents: 23138
diff changeset
    89
#Source file identification (default: full name + date stamp)
55b89b14d871 added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents: 23138
diff changeset
    90
ISABELLE_FILE_IDENT=""
55b89b14d871 added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents: 23138
diff changeset
    91
#ISABELLE_FILE_IDENT="md5"
55b89b14d871 added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents: 23138
diff changeset
    92
#ISABELLE_FILE_IDENT="md5sum"
55b89b14d871 added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents: 23138
diff changeset
    93
#ISABELLE_FILE_IDENT="sha1sum"
55b89b14d871 added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents: 23138
diff changeset
    94
#ISABELLE_FILE_IDENT="openssl dgst -sha1"
55b89b14d871 added ISABELLE_FILE_IDENT (command line for source file identification);
wenzelm
parents: 23138
diff changeset
    95
2435
750a73406623 added ISABELLE_HTML;
wenzelm
parents: 2426
diff changeset
    96
750a73406623 added ISABELLE_HTML;
wenzelm
parents: 2426
diff changeset
    97
###
16186
6eb74e2cec7e renamed HOL_PROOF_OBJECTS to HOL_USEDIR_OPTIONS;
wenzelm
parents: 15982
diff changeset
    98
### Document preparation (cf. isatool latex/document)
7773
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
    99
###
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
   100
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
   101
ISABELLE_LATEX="latex"
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
   102
ISABELLE_PDFLATEX="pdflatex"
7813
4412debd3004 added ISABELLE_BIBTEX;
wenzelm
parents: 7776
diff changeset
   103
ISABELLE_BIBTEX="bibtex"
14344
0f0a2148a099 run makeindex if necessary
kleing
parents: 14253
diff changeset
   104
ISABELLE_MAKEINDEX="makeindex"
7773
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
   105
ISABELLE_DVIPS="dvips -D 600"
11800
5f84c687ba06 ISABELLE_EPSTOPDF="epstopdf";
wenzelm
parents: 11569
diff changeset
   106
ISABELLE_EPSTOPDF="epstopdf"
7773
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
   107
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   108
# Paranoia setting for strange latex installations ...
11062
wenzelm
parents: 10503
diff changeset
   109
#unset TEXMF
wenzelm
parents: 10503
diff changeset
   110
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   111
# If ISABELLE_THUMBPDF is set, isatool tries to
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   112
# generate thumbnails for proof documents
11062
wenzelm
parents: 10503
diff changeset
   113
#type -path thumbpdf >/dev/null && ISABELLE_THUMBPDF="thumbpdf"
7864
5cd5a27f5c93 thumbpdf (disabled by default);
wenzelm
parents: 7813
diff changeset
   114
7773
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
   115
ce86227f29d0 Document preparation setup;
wenzelm
parents: 7762
diff changeset
   116
###
2968
8ba30b031f31 eliminated PLATFORM;
wenzelm
parents: 2915
diff changeset
   117
### Misc path settings
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   118
###
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
   119
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   120
# The place for user configuration, heap files, etc.
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   121
ISABELLE_HOME_USER=~/isabelle
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
   122
3177
3c1448b9b0ee tuned comments;
wenzelm
parents: 3158
diff changeset
   123
# 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
   124
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
2786
b36ca42c409a tuned comments;
wenzelm
parents: 2780
diff changeset
   125
4334
e567f3425267 ISABELLE_TMP_PREFIX;
wenzelm
parents: 3689
diff changeset
   126
# 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
   127
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
4334
e567f3425267 ISABELLE_TMP_PREFIX;
wenzelm
parents: 3689
diff changeset
   128
9787
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
   129
# 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
   130
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER:$ISABELLE_HOME/heaps"
2780
1dc77f6d83e1 added THIS_IS_ISABELLE_BUILD discrimination;
wenzelm
parents: 2742
diff changeset
   131
9787
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
   132
# Heap output location. ML system identifier is appended automatically later on.
15846
6f24b0c36dbd reverted accidental commit of user modification;
wenzelm
parents: 15785
diff changeset
   133
if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then
6f24b0c36dbd reverted accidental commit of user modification;
wenzelm
parents: 15785
diff changeset
   134
  #Isabelle build tells us to store heaps etc. within the distribution.
6f24b0c36dbd reverted accidental commit of user modification;
wenzelm
parents: 15785
diff changeset
   135
  ISABELLE_OUTPUT="$ISABELLE_HOME/heaps"
6f24b0c36dbd reverted accidental commit of user modification;
wenzelm
parents: 15785
diff changeset
   136
  ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info"
6f24b0c36dbd reverted accidental commit of user modification;
wenzelm
parents: 15785
diff changeset
   137
else
21489
4ce7425c8372 ISABELLE_PATH/OUTPUT: append ISABELLE_IDENTIFIER if derived from ISABELLE_HOME_USER;
wenzelm
parents: 21171
diff changeset
   138
  ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps/$ISABELLE_IDENTIFIER"
9787
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
   139
  ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
15846
6f24b0c36dbd reverted accidental commit of user modification;
wenzelm
parents: 15785
diff changeset
   140
fi
2780
1dc77f6d83e1 added THIS_IS_ISABELLE_BUILD discrimination;
wenzelm
parents: 2742
diff changeset
   141
16186
6eb74e2cec7e renamed HOL_PROOF_OBJECTS to HOL_USEDIR_OPTIONS;
wenzelm
parents: 15982
diff changeset
   142
# 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
   143
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
4772656ddbbc added site settings check;
wenzelm
parents: 8880
diff changeset
   144
  { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
4772656ddbbc added site settings check;
wenzelm
parents: 8880
diff changeset
   145
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   146
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   147
###
16875
c62bdfbf6a2a retract accidental user commit;
wenzelm
parents: 16873
diff changeset
   148
### default logic
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   149
###
16186
6eb74e2cec7e renamed HOL_PROOF_OBJECTS to HOL_USEDIR_OPTIONS;
wenzelm
parents: 15982
diff changeset
   150
3184
4e0bbfb113d5 renamed DEFAULT_LOGIC to ISABELLE_LOGIC;
wenzelm
parents: 3182
diff changeset
   151
ISABELLE_LOGIC=HOL
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
   152
2786
b36ca42c409a tuned comments;
wenzelm
parents: 2780
diff changeset
   153
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   154
###
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   155
### Docs
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   156
###
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
   157
16186
6eb74e2cec7e renamed HOL_PROOF_OBJECTS to HOL_USEDIR_OPTIONS;
wenzelm
parents: 15982
diff changeset
   158
# 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
   159
ISABELLE_DOCS="$ISABELLE_HOME/doc"
2345
8e45991e3601 added ISABELLE_DOCS;
wenzelm
parents: 2309
diff changeset
   160
16186
6eb74e2cec7e renamed HOL_PROOF_OBJECTS to HOL_USEDIR_OPTIONS;
wenzelm
parents: 15982
diff changeset
   161
# Preferred document format
15703
727ef1b8b3ee *** empty log message ***
wenzelm
parents: 15574
diff changeset
   162
ISABELLE_DOC_FORMAT=pdf
727ef1b8b3ee *** empty log message ***
wenzelm
parents: 15574
diff changeset
   163
16186
6eb74e2cec7e renamed HOL_PROOF_OBJECTS to HOL_USEDIR_OPTIONS;
wenzelm
parents: 15982
diff changeset
   164
# The dvi file viewer
3062
be354f68d340 improved DVI_VIEWER default;
wenzelm
parents: 3009
diff changeset
   165
DVI_VIEWER=xdvi
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   166
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
11103
wenzelm
parents: 11062
diff changeset
   167
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
2476
dae7f8ca5001 added dvi viewer alternative;
wenzelm
parents: 2466
diff changeset
   168
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
3062
be354f68d340 improved DVI_VIEWER default;
wenzelm
parents: 3009
diff changeset
   169
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
2345
8e45991e3601 added ISABELLE_DOCS;
wenzelm
parents: 2309
diff changeset
   170
16186
6eb74e2cec7e renamed HOL_PROOF_OBJECTS to HOL_USEDIR_OPTIONS;
wenzelm
parents: 15982
diff changeset
   171
# The pdf file viewer
23138
6852373aae8a tuned USEDIR_OPTIONS;
wenzelm
parents: 22148
diff changeset
   172
if [ $(uname -s) = Darwin ]; then
6852373aae8a tuned USEDIR_OPTIONS;
wenzelm
parents: 22148
diff changeset
   173
  PDF_VIEWER=open
6852373aae8a tuned USEDIR_OPTIONS;
wenzelm
parents: 22148
diff changeset
   174
else
6852373aae8a tuned USEDIR_OPTIONS;
wenzelm
parents: 22148
diff changeset
   175
  PDF_VIEWER=xpdf
6852373aae8a tuned USEDIR_OPTIONS;
wenzelm
parents: 22148
diff changeset
   176
fi
6852373aae8a tuned USEDIR_OPTIONS;
wenzelm
parents: 22148
diff changeset
   177
#PDF_VIEWER=acroread
6852373aae8a tuned USEDIR_OPTIONS;
wenzelm
parents: 22148
diff changeset
   178
#PDF_VIEWER=evince
6852373aae8a tuned USEDIR_OPTIONS;
wenzelm
parents: 22148
diff changeset
   179
15218
39747a9e3c37 display pdf as well as dvi
kleing
parents: 14981
diff changeset
   180
16186
6eb74e2cec7e renamed HOL_PROOF_OBJECTS to HOL_USEDIR_OPTIONS;
wenzelm
parents: 15982
diff changeset
   181
# Printer spool command for PS files
14933
3fd8c03e3ee6 added PRINT_COMMAND setting
wenzelm
parents: 14871
diff changeset
   182
PRINT_COMMAND=lp
3fd8c03e3ee6 added PRINT_COMMAND setting
wenzelm
parents: 14871
diff changeset
   183
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
   184
2426
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   185
###
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   186
### Interfaces
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   187
###
dc9dcdb43b4f major cleanup;
wenzelm
parents: 2410
diff changeset
   188
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   189
# 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
   190
ISABELLE_INTERFACE=none
2294
a67343c87db4 settings: Isabelle settings -- site defaults.
wenzelm
parents:
diff changeset
   191
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   192
# Proof General path, look in a variety of places
17574
aa9d8483cabc PROOFGENERAL_OPTIONS: smart fall-back on plain emacs (back again);
wenzelm
parents: 17522
diff changeset
   193
ISABELLE_INTERFACE=$(choosefrom \
9679
6dca83af209b choosefrom: easy settings;
wenzelm
parents: 9569
diff changeset
   194
  "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
6dca83af209b choosefrom: easy settings;
wenzelm
parents: 9569
diff changeset
   195
  "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
17119
wenzelm
parents: 17048
diff changeset
   196
  "/usr/local/ProofGeneral/isar/interface" \
9787
fb8c5a66dbe8 more robust handling of spaces in args / file names;
wenzelm
parents: 9759
diff changeset
   197
  "/usr/share/ProofGeneral/isar/interface" \
10070
fefb958b52aa tuned auto paths;
wenzelm
parents: 9994
diff changeset
   198
  "/opt/ProofGeneral/isar/interface" \
9956
e75e6a603e71 added /usr/share/emacs/ProofGeneral/isar/interface choice;
wenzelm
parents: 9948
diff changeset
   199
  "/usr/share/emacs/ProofGeneral/isar/interface" \
9679
6dca83af209b choosefrom: easy settings;
wenzelm
parents: 9569
diff changeset
   200
  "$ISABELLE_INTERFACE")
13920
9d542c96e855 more documentation
kleing
parents: 12998
diff changeset
   201
5964
a825c5929f4f improved comment;
wenzelm
parents: 5770
diff changeset
   202
PROOFGENERAL_OPTIONS=""
17383
3eb21fb8c2ec no longer prefer xemacs, which fails more often than GNU emacs;
wenzelm
parents: 17119
diff changeset
   203
#PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true -p xemacs"
7185
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   204
17574
aa9d8483cabc PROOFGENERAL_OPTIONS: smart fall-back on plain emacs (back again);
wenzelm
parents: 17522
diff changeset
   205
type -path xemacs >/dev/null || \
aa9d8483cabc PROOFGENERAL_OPTIONS: smart fall-back on plain emacs (back again);
wenzelm
parents: 17522
diff changeset
   206
  PROOFGENERAL_OPTIONS="-p emacs $PROOFGENERAL_OPTIONS"
aa9d8483cabc PROOFGENERAL_OPTIONS: smart fall-back on plain emacs (back again);
wenzelm
parents: 17522
diff changeset
   207
17383
3eb21fb8c2ec no longer prefer xemacs, which fails more often than GNU emacs;
wenzelm
parents: 17119
diff changeset
   208
# Automatic setup of remote fonts
9994
b06f6d2eef5f XSYMBOL_INSTALLFONTS is back;
wenzelm
parents: 9989
diff changeset
   209
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
9569
68400ff46b09 X-Symbol mode -- look in canonical place;
wenzelm
parents: 9252
diff changeset
   210
7185
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   211
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   212
###
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   213
### External reasoning tools
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   214
###
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   215
7194
wenzelm
parents: 7185
diff changeset
   216
## Set HOME only for tools you have installed!
7185
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   217
17001
wenzelm
parents: 16968
diff changeset
   218
# HOL4 proof objects (cf. Isabelle/src/HOL/Import)
wenzelm
parents: 16968
diff changeset
   219
HOL4_PROOFS="$PROOF_DIRS:$ISABELLE_HOME_USER/proofs:$ISABELLE_HOME/proofs"
wenzelm
parents: 16968
diff changeset
   220
7185
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   221
# SVC (Stanford Validity Checker)
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   222
#SVC_HOME=
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   223
#SVC_MACHINE=i386-redhat-linux
19672499bab6 External reasoning tools;
wenzelm
parents: 7184
diff changeset
   224
#SVC_MACHINE=sparc-sun-solaris
7296
81286f228b2d Mucke, Einhoven;
wenzelm
parents: 7194
diff changeset
   225
81286f228b2d Mucke, Einhoven;
wenzelm
parents: 7194
diff changeset
   226
# Mucke (mu-calculus model checker)
81286f228b2d Mucke, Einhoven;
wenzelm
parents: 7194
diff changeset
   227
#MUCKE_HOME=/usr/local/bin
81286f228b2d Mucke, Einhoven;
wenzelm
parents: 7194
diff changeset
   228
81286f228b2d Mucke, Einhoven;
wenzelm
parents: 7194
diff changeset
   229
# Einhoven model checker
81286f228b2d Mucke, Einhoven;
wenzelm
parents: 7194
diff changeset
   230
#EINDHOVEN_HOME=/usr/local/bin
14451
2253d273d944 ZCHAFF_HOME variable added
webertj
parents: 14447
diff changeset
   231
20033
2b8dbb637792 added support for MiniSat 1.14
webertj
parents: 19312
diff changeset
   232
# 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
   233
#MINISAT_HOME=/usr/local/bin
2b8dbb637792 added support for MiniSat 1.14
webertj
parents: 19312
diff changeset
   234
17522
8d25bb07d8ed pointers to src/HOL/Tools/sat_solver.ML added in comments
webertj
parents: 17383
diff changeset
   235
# zChaff (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
15284
f14c6c057172 *** empty log message ***
webertj
parents: 15283
diff changeset
   236
#ZCHAFF_HOME=/usr/local/bin
15331
3e85549f25f5 added ZCHAFF_VERSION
webertj
parents: 15284
diff changeset
   237
#ZCHAFF_VERSION=2004.5.13
3e85549f25f5 added ZCHAFF_VERSION
webertj
parents: 15284
diff changeset
   238
#ZCHAFF_VERSION=2004.11.15
14942
78ddcbebace1 entries for ZChaff and BerkMin added/modified
webertj
parents: 14933
diff changeset
   239
17522
8d25bb07d8ed pointers to src/HOL/Tools/sat_solver.ML added in comments
webertj
parents: 17383
diff changeset
   240
# 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
   241
#BERKMIN_HOME=/usr/local/bin
78ddcbebace1 entries for ZChaff and BerkMin added/modified
webertj
parents: 14933
diff changeset
   242
#BERKMIN_EXE=BerkMin561-linux
78ddcbebace1 entries for ZChaff and BerkMin added/modified
webertj
parents: 14933
diff changeset
   243
#BERKMIN_EXE=BerkMin561-solaris
14943
ffdb22cf6f67 Jerusat settings added
webertj
parents: 14942
diff changeset
   244
17522
8d25bb07d8ed pointers to src/HOL/Tools/sat_solver.ML added in comments
webertj
parents: 17383
diff changeset
   245
# Jerusat 1.3 (SAT Solver, cf. Isabelle/src/HOL/Tools/sat_solver.ML)
14943
ffdb22cf6f67 Jerusat settings added
webertj
parents: 14942
diff changeset
   246
#JERUSAT_HOME=/usr/local/bin
16419
0c3db621bbbd updated;
wenzelm
parents: 16250
diff changeset
   247
16873
9ed940a1bebb proving bounds for real linear programs
obua
parents: 16775
diff changeset
   248
# For configuring HOL/Matrix/cplex
16966
37e34f315057 1. changed configuration variables for linear programming (Cplex_tools):
obua
parents: 16875
diff changeset
   249
# 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
   250
# First option: use the commercial cplex solver
16968
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
   251
#LP_SOLVER=CPLEX
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
   252
#CPLEX_PATH=cplex
16873
9ed940a1bebb proving bounds for real linear programs
obua
parents: 16775
diff changeset
   253
# Second option: use the open source glpk solver
16968
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
   254
#LP_SOLVER=GLPK
5cb40c8b1f10 polyml: use polyml-platform/version from Isabelle distribution;
wenzelm
parents: 16966
diff changeset
   255
#GLPK_PATH=glpsol
17909
7540483e9228 moved VAMPIRE_HOME, E_HOME to section "External reasoning tools" -- commented out by default!
wenzelm
parents: 17905
diff changeset
   256
7540483e9228 moved VAMPIRE_HOME, E_HOME to section "External reasoning tools" -- commented out by default!
wenzelm
parents: 17905
diff changeset
   257
# External provers
24610
14c6a2cc923c platform-sensitive default location for ATP provers
haftmann
parents: 24548
diff changeset
   258
E_HOME=$(choosefrom \
14c6a2cc923c platform-sensitive default location for ATP provers
haftmann
parents: 24548
diff changeset
   259
  "$ISABELLE_HOME/contrib/E/$ML_PLATFORM" \
14c6a2cc923c platform-sensitive default location for ATP provers
haftmann
parents: 24548
diff changeset
   260
  "/usr/local/E" \
14c6a2cc923c platform-sensitive default location for ATP provers
haftmann
parents: 24548
diff changeset
   261
  "")
14c6a2cc923c platform-sensitive default location for ATP provers
haftmann
parents: 24548
diff changeset
   262
24548
10111a1d6a6b Auto-config of E_HOME, SPASS_HOME, VAMPIRE_HOME
paulson
parents: 24480
diff changeset
   263
VAMPIRE_HOME=$(choosefrom \
24610
14c6a2cc923c platform-sensitive default location for ATP provers
haftmann
parents: 24548
diff changeset
   264
  "$ISABELLE_HOME/contrib/vampire/$ML_PLATFORM" \
24548
10111a1d6a6b Auto-config of E_HOME, SPASS_HOME, VAMPIRE_HOME
paulson
parents: 24480
diff changeset
   265
  "/usr/local/Vampire" \
10111a1d6a6b Auto-config of E_HOME, SPASS_HOME, VAMPIRE_HOME
paulson
parents: 24480
diff changeset
   266
  "")
10111a1d6a6b Auto-config of E_HOME, SPASS_HOME, VAMPIRE_HOME
paulson
parents: 24480
diff changeset
   267
10111a1d6a6b Auto-config of E_HOME, SPASS_HOME, VAMPIRE_HOME
paulson
parents: 24480
diff changeset
   268
SPASS_HOME=$(choosefrom \
24610
14c6a2cc923c platform-sensitive default location for ATP provers
haftmann
parents: 24548
diff changeset
   269
  "$ISABELLE_HOME/contrib/spass/$ML_PLATFORM/bin" \
24548
10111a1d6a6b Auto-config of E_HOME, SPASS_HOME, VAMPIRE_HOME
paulson
parents: 24480
diff changeset
   270
  "/usr/local/SPASS" \
10111a1d6a6b Auto-config of E_HOME, SPASS_HOME, VAMPIRE_HOME
paulson
parents: 24480
diff changeset
   271
  "")