etc/settings
author webertj
Wed Mar 10 20:21:08 2004 +0100 (2004-03-10)
changeset 14451 2253d273d944
parent 14447 5b61dc4eab24
child 14461 fab539f843d9
permissions -rw-r--r--
ZCHAFF_HOME variable added
wenzelm@10503
     1
# -*- shell-script -*-
wenzelm@2294
     2
# $Id$
wenzelm@9818
     3
# Author: Markus Wenzel, TU Muenchen
wenzelm@9818
     4
# License: GPL (GNU GENERAL PUBLIC LICENSE)
wenzelm@2294
     5
#
wenzelm@2309
     6
# Isabelle settings -- site defaults.
wenzelm@9225
     7
# Do *NOT* copy this file into your personal isabelle directory!!!
wenzelm@2309
     8
wenzelm@2426
     9
###
wenzelm@3177
    10
### ML compiler settings (ESSENTIAL!)
wenzelm@2426
    11
###
wenzelm@2426
    12
wenzelm@9236
    13
# Note that ML_HOME specifies the location of the actual compiler
wenzelm@9236
    14
# binaries.  Do not invent new ML system names unless you know what
wenzelm@9759
    15
# you are doing.  Only one of the sections below should be activated.
wenzelm@2426
    16
wenzelm@12828
    17
# Poly/ML 3.x, 4.0, 4.1, 4.1.1, 4.1.2
wenzelm@10205
    18
if [ -e /usr/bin/poly -a -e /usr/lib/poly ]; then
kleing@14447
    19
  #maybe a shrink-wrapped polyml on x86-linux ...
kleing@14447
    20
kleing@14447
    21
  # include version number, needed for choosing right options
kleing@14447
    22
  ML_SYSTEM=polyml-4.1.3    
kleing@14447
    23
  # processor/OS type
wenzelm@10205
    24
  ML_PLATFORM=x86-linux
kleing@14447
    25
  # where to find binaries
wenzelm@10205
    26
  ML_HOME=/usr/bin
kleing@14447
    27
  # where to find the standard database
wenzelm@10205
    28
  ML_DBASE=/usr/lib/poly/ML_dbase
kleing@14447
    29
  # options to pass to poly
wenzelm@12752
    30
  ML_OPTIONS="-h 15000"
wenzelm@10205
    31
else
wenzelm@10205
    32
  #... or rather a self-contained multi-platform installation
wenzelm@10205
    33
  POLYML_HOME=$(choosefrom \
wenzelm@10205
    34
    "$ISABELLE_HOME/contrib/polyml" \
wenzelm@10205
    35
    "$ISABELLE_HOME/../polyml" \
wenzelm@10205
    36
    "/usr/share/polyml" \
wenzelm@10205
    37
    "/usr/local/polyml" \
wenzelm@10205
    38
    "/opt/polyml")
wenzelm@10205
    39
  ML_SYSTEM=$("$POLYML_HOME/bin/polyml-version" 2>/dev/null || echo polyml)
wenzelm@10503
    40
  ML_PLATFORM=$("$POLYML_HOME/bin/polyml-platform" 2>/dev/null || echo unknown-platform)
wenzelm@10205
    41
  ML_HOME="$POLYML_HOME/$ML_PLATFORM"
wenzelm@12752
    42
  ML_OPTIONS="-h 15000"
wenzelm@10205
    43
fi
wenzelm@8345
    44
wenzelm@5708
    45
# Standard ML of New Jersey 110 or later
wenzelm@8345
    46
#ML_SYSTEM=smlnj-110
wenzelm@9787
    47
#ML_HOME="$ISABELLE_HOME/../smlnj/bin"
wenzelm@8345
    48
#ML_OPTIONS="@SMLdebug=/dev/null"
wenzelm@9787
    49
#ML_PLATFORM=$(eval $("$ML_HOME/.arch-n-opsys" 2>/dev/null); echo "$HEAP_SUFFIX")
wenzelm@5708
    50
wenzelm@11062
    51
# MLWorks 2.0
wenzelm@11062
    52
#ML_SYSTEM=mlworks
wenzelm@11062
    53
#ML_HOME="$ISABELLE_HOME/../mlworks/bin"
wenzelm@11062
    54
#ML_OPTIONS=""
wenzelm@11062
    55
#ML_PLATFORM=""
wenzelm@11062
    56
wenzelm@9252
    57
# Moscow ML 2.00 or later (experimental!)
wenzelm@9252
    58
#ML_SYSTEM=mosml
wenzelm@9787
    59
#ML_HOME="$ISABELLE_HOME/../mosml/bin"
wenzelm@6413
    60
#ML_PLATFORM=""
wenzelm@9252
    61
#ML_OPTIONS=""
wenzelm@5708
    62
wenzelm@2426
    63
# Standard ML of New Jersey 0.93
wenzelm@2426
    64
#ML_SYSTEM=smlnj-0.93
wenzelm@2426
    65
#ML_HOME=/usr/local/ldist/DIR/sml-0.93/src
wenzelm@2426
    66
#ML_OPTIONS=""
wenzelm@6413
    67
#ML_PLATFORM=""
wenzelm@2426
    68
wenzelm@2294
    69
wenzelm@2426
    70
###
kleing@13920
    71
### Compilation options for isatool usedir
kleing@13920
    72
### (as on command line)
wenzelm@2435
    73
###
wenzelm@2435
    74
kleing@14253
    75
ISABELLE_USEDIR_OPTIONS="-v true"
wenzelm@11569
    76
kleing@14044
    77
# for overriding proof objects in HOL image
kleing@14044
    78
HOL_PROOF_OBJECTS=""
kleing@14044
    79
wenzelm@2435
    80
wenzelm@2435
    81
###
wenzelm@7773
    82
### Document preparation
wenzelm@7773
    83
###
wenzelm@7773
    84
kleing@13920
    85
# latex command for isatool latex/document
wenzelm@7773
    86
ISABELLE_LATEX="latex"
kleing@13920
    87
kleing@13920
    88
# pdflatex command for isatool latex/document
wenzelm@7773
    89
ISABELLE_PDFLATEX="pdflatex"
kleing@13920
    90
kleing@13920
    91
# bibtex command for isatool latex/document
wenzelm@7813
    92
ISABELLE_BIBTEX="bibtex"
kleing@13920
    93
kleing@14344
    94
# makeindex command for isatool latex/document
kleing@14344
    95
ISABELLE_MAKEINDEX="makeindex"
kleing@14344
    96
kleing@13920
    97
# dvips command for isatool latex/document
wenzelm@7773
    98
ISABELLE_DVIPS="dvips -D 600"
kleing@13920
    99
kleing@13920
   100
# epstopdf command for isatool latex/document
wenzelm@11800
   101
ISABELLE_EPSTOPDF="epstopdf"
wenzelm@7773
   102
kleing@13920
   103
# Paranoia setting for strange latex installations ...
wenzelm@11062
   104
#unset TEXMF
wenzelm@11062
   105
kleing@13920
   106
# If ISABELLE_THUMBPDF is set, isatool tries to
kleing@13920
   107
# generate thumbnails for proof documents
kleing@13920
   108
#
kleing@13920
   109
# probably not generally available ...
wenzelm@11062
   110
#type -path thumbpdf >/dev/null && ISABELLE_THUMBPDF="thumbpdf"
wenzelm@7864
   111
wenzelm@7773
   112
wenzelm@7773
   113
###
wenzelm@2968
   114
### Misc path settings
wenzelm@2426
   115
###
wenzelm@2294
   116
wenzelm@2426
   117
# The place for user configuration, heap files, etc.
wenzelm@2426
   118
ISABELLE_HOME_USER=~/isabelle
wenzelm@2294
   119
wenzelm@3177
   120
# Where to look for isabelle tools (multiple dirs separated by ':').
wenzelm@9787
   121
ISABELLE_TOOLS="$ISABELLE_HOME/lib/Tools"
wenzelm@2786
   122
wenzelm@4334
   123
# Location for temporary files (should be on a local file system).
wenzelm@9787
   124
ISABELLE_TMP_PREFIX="/tmp/isabelle-$USER"
wenzelm@4334
   125
wenzelm@2786
   126
wenzelm@9787
   127
# Heap input locations. ML system identifier is included in lookup.
wenzelm@9787
   128
ISABELLE_PATH="$ISABELLE_HOME_USER/heaps:$ISABELLE_HOME/heaps"
wenzelm@2780
   129
wenzelm@9787
   130
# Heap output location. ML system identifier is appended automatically later on.
wenzelm@2780
   131
if [ "$THIS_IS_ISABELLE_BUILD" = true ]; then
wenzelm@9787
   132
  #Isabelle build tells us to store heaps etc. within the distribution.
wenzelm@9787
   133
  ISABELLE_OUTPUT="$ISABELLE_HOME/heaps"
wenzelm@9787
   134
  ISABELLE_BROWSER_INFO="$ISABELLE_HOME/browser_info"
wenzelm@2780
   135
else
wenzelm@9787
   136
  ISABELLE_OUTPUT="$ISABELLE_HOME_USER/heaps"
wenzelm@9787
   137
  ISABELLE_BROWSER_INFO="$ISABELLE_HOME_USER/browser_info"
wenzelm@2780
   138
fi
wenzelm@2780
   139
wenzelm@9225
   140
# Site settings check -- just to make it a little bit harder to copy this file!
wenzelm@9225
   141
[ -n "$ISABELLE_SITE_SETTINGS_PRESENT" ] && \
wenzelm@9225
   142
  { echo >&2 "### Isabelle site settings already present!  Maybe copied etc/settings in full?"; }
wenzelm@9225
   143
kleing@13920
   144
kleing@13920
   145
###
kleing@13920
   146
### default logic, users may want to override this.
kleing@13920
   147
###
wenzelm@3184
   148
ISABELLE_LOGIC=HOL
wenzelm@2294
   149
wenzelm@2786
   150
kleing@13920
   151
###
kleing@13920
   152
### Docs
kleing@13920
   153
###
wenzelm@2294
   154
wenzelm@3177
   155
#Where to look for docs (multiple dirs separated by ':').
wenzelm@9787
   156
ISABELLE_DOCS="$ISABELLE_HOME/doc"
wenzelm@2345
   157
wenzelm@3177
   158
#The dvi file viewer
wenzelm@3062
   159
DVI_VIEWER=xdvi
wenzelm@2426
   160
#DVI_VIEWER="xdvi -geometry 498x704 -expert -s 5"
wenzelm@11103
   161
#DVI_VIEWER="xdvi -geometry 711x1005 -expert -s 7"
wenzelm@2476
   162
#DVI_VIEWER="xdvi -geometry 500x704 -expert -s 10"
wenzelm@3062
   163
#DVI_VIEWER="xdvi -geometry 555x782 -expert -s 9"
wenzelm@2345
   164
wenzelm@2294
   165
wenzelm@2426
   166
###
wenzelm@2426
   167
### Interfaces
wenzelm@2426
   168
###
wenzelm@2426
   169
kleing@13920
   170
# ISABELLE_INTERFACE is the program which is run by the Isabelle command
kleing@13920
   171
kleing@13920
   172
# Fallback: the null interface (pass-through to raw isabelle process).
wenzelm@11552
   173
ISABELLE_INTERFACE=none
wenzelm@2294
   174
kleing@13920
   175
# Emacs running (obsolete) Isamode.
wenzelm@2968
   176
#ISABELLE_INTERFACE=emacs
wenzelm@9787
   177
ISAMODE_HOME="$ISABELLE_HOME/contrib/Isamode"
wenzelm@5964
   178
ISAMODE_OPTIONS=""
wenzelm@5964
   179
kleing@13920
   180
# Proof General path, look in a variety of places
wenzelm@9679
   181
ISABELLE_INTERFACE=$(choosefrom \
wenzelm@9679
   182
  "$ISABELLE_HOME/contrib/ProofGeneral/isar/interface" \
wenzelm@9679
   183
  "$ISABELLE_HOME/../ProofGeneral/isar/interface" \
wenzelm@9787
   184
  "/usr/share/ProofGeneral/isar/interface" \
wenzelm@9948
   185
  "/usr/local/ProofGeneral/isar/interface" \
wenzelm@10070
   186
  "/opt/ProofGeneral/isar/interface" \
wenzelm@9956
   187
  "/usr/share/emacs/ProofGeneral/isar/interface" \
wenzelm@9679
   188
  "$ISABELLE_INTERFACE")
kleing@13920
   189
kleing@13920
   190
# Options to pass to Isabelle command when PG is selected as interface
wenzelm@5964
   191
PROOFGENERAL_OPTIONS=""
wenzelm@11981
   192
#PROOFGENERAL_OPTIONS="-m no_brackets -m no_type_brackets -x true"
wenzelm@7185
   193
kleing@13920
   194
# try xemacs first, else emacs
wenzelm@12476
   195
type -path xemacs >/dev/null || PROOFGENERAL_OPTIONS="-p emacs $PROOFGENERAL_OPTIONS"
wenzelm@12476
   196
wenzelm@12476
   197
kleing@13920
   198
# X-Symbol installation location (for Proof General, obsolete for PG >= 3.5)
wenzelm@9679
   199
XSYMBOL_HOME=$(choosefrom \
wenzelm@9679
   200
  "$ISABELLE_HOME/contrib/x-symbol" \
wenzelm@9679
   201
  "$ISABELLE_HOME/../x-symbol" \
wenzelm@9787
   202
  "/usr/share/x-symbol" \
wenzelm@9948
   203
  "/usr/local/x-symbol" \
wenzelm@10070
   204
  "/opt/x-symbol" \
wenzelm@9679
   205
  "")
kleing@13920
   206
kleing@13920
   207
# Executed before xemacs with ProofGeneral is called.
kleing@13920
   208
# Required for remote fonts only.
wenzelm@9994
   209
#XSYMBOL_INSTALLFONTS="xset fp+ tcp/isafonts.informatik.tu-muenchen.de:7200"
wenzelm@9569
   210
wenzelm@7185
   211
wenzelm@7185
   212
###
wenzelm@7185
   213
### External reasoning tools
wenzelm@7185
   214
###
wenzelm@7185
   215
wenzelm@7194
   216
## Set HOME only for tools you have installed!
wenzelm@7185
   217
wenzelm@7185
   218
# SVC (Stanford Validity Checker)
wenzelm@7185
   219
#SVC_HOME=
wenzelm@7185
   220
#SVC_MACHINE=i386-redhat-linux
wenzelm@7185
   221
#SVC_MACHINE=sparc-sun-solaris
wenzelm@7296
   222
wenzelm@7296
   223
# Mucke (mu-calculus model checker)
wenzelm@7296
   224
#MUCKE_HOME=/usr/local/bin
wenzelm@7296
   225
wenzelm@7296
   226
# Einhoven model checker
wenzelm@7296
   227
#EINDHOVEN_HOME=/usr/local/bin
webertj@14451
   228
webertj@14451
   229
# ZChaff SAT solver
webertj@14451
   230
#ZCHAFF_HOME=/usr/local/bin