author | wenzelm |
Tue, 04 Sep 2012 20:45:43 +0200 | |
changeset 49131 | aa1e2ba3c697 |
parent 48985 | 5386df44a037 |
child 50406 | c28753665b8e |
permissions | -rw-r--r-- |
48578 | 1 |
theory Sessions |
2 |
imports Base |
|
3 |
begin |
|
4 |
||
48584 | 5 |
chapter {* Isabelle sessions and build management \label{ch:session} *} |
6 |
||
7 |
text {* An Isabelle \emph{session} consists of a collection of related |
|
48604 | 8 |
theories that may be associated with formal documents (see also |
9 |
\chref{ch:present}). There is also a notion of \emph{persistent |
|
10 |
heap} image to capture the state of a session, similar to |
|
11 |
object-code in compiled programming languages. Thus the concept of |
|
12 |
session resembles that of a ``project'' in common IDE environments, |
|
13 |
but the specific name emphasizes the connection to interactive |
|
14 |
theorem proving: the session wraps-up the results of |
|
15 |
user-interaction with the prover in a persistent form. |
|
48584 | 16 |
|
48604 | 17 |
Application sessions are built on a given parent session, which may |
18 |
be built recursively on other parents. Following this path in the |
|
19 |
hierarchy eventually leads to some major object-logic session like |
|
20 |
@{text "HOL"}, which itself is based on @{text "Pure"} as the common |
|
21 |
root of all sessions. |
|
48584 | 22 |
|
48604 | 23 |
Processing sessions may take considerable time. Isabelle build |
24 |
management helps to organize this efficiently. This includes |
|
25 |
support for parallel build jobs, in addition to the multithreaded |
|
26 |
theory and proof checking that is already provided by the prover |
|
27 |
process itself. *} |
|
28 |
||
48578 | 29 |
|
30 |
section {* Session ROOT specifications \label{sec:session-root} *} |
|
31 |
||
48579 | 32 |
text {* Session specifications reside in files called @{verbatim ROOT} |
33 |
within certain directories, such as the home locations of registered |
|
34 |
Isabelle components or additional project directories given by the |
|
35 |
user. |
|
36 |
||
37 |
The ROOT file format follows the lexical conventions of the |
|
38 |
\emph{outer syntax} of Isabelle/Isar, see also |
|
39 |
\cite{isabelle-isar-ref}. This defines common forms like |
|
40 |
identifiers, names, quoted strings, verbatim text, nested comments |
|
41 |
etc. The grammar for a single @{syntax session_entry} is given as |
|
42 |
syntax diagram below; each ROOT file may contain multiple session |
|
43 |
specifications like this. |
|
44 |
||
48582 | 45 |
Isabelle/jEdit (\secref{sec:tool-jedit}) includes a simple editing |
46 |
mode @{verbatim "isabelle-root"} for session ROOT files. |
|
48579 | 47 |
|
48 |
@{rail " |
|
49 |
@{syntax_def session_entry}: @'session' spec '=' (@{syntax name} '+')? body |
|
50 |
; |
|
48916 | 51 |
body: description? options? ( theories + ) files? |
48579 | 52 |
; |
48738
f8c1a5b9488f
simplified session specifications: names are taken verbatim and current directory is default;
wenzelm
parents:
48737
diff
changeset
|
53 |
spec: @{syntax name} groups? dir? |
48579 | 54 |
; |
55 |
groups: '(' (@{syntax name} +) ')' |
|
56 |
; |
|
57 |
dir: @'in' @{syntax name} |
|
58 |
; |
|
59 |
description: @'description' @{syntax text} |
|
60 |
; |
|
61 |
options: @'options' opts |
|
62 |
; |
|
48605
e777363440d6
allow negative int values as well, according to real = int | float;
wenzelm
parents:
48604
diff
changeset
|
63 |
opts: '[' ( (@{syntax name} '=' value | @{syntax name}) + ',' ) ']' |
e777363440d6
allow negative int values as well, according to real = int | float;
wenzelm
parents:
48604
diff
changeset
|
64 |
; |
e777363440d6
allow negative int values as well, according to real = int | float;
wenzelm
parents:
48604
diff
changeset
|
65 |
value: @{syntax name} | @{syntax real} |
48579 | 66 |
; |
48739 | 67 |
theories: @'theories' opts? ( @{syntax name} * ) |
48579 | 68 |
; |
69 |
files: @'files' ( @{syntax name} + ) |
|
70 |
"} |
|
71 |
||
72 |
\begin{description} |
|
73 |
||
74 |
\item \isakeyword{session}~@{text "A = B + body"} defines a new |
|
75 |
session @{text "A"} based on parent session @{text "B"}, with its |
|
76 |
content given in @{text body} (theories and auxiliary source files). |
|
77 |
Note that a parent (like @{text "HOL"}) is mandatory in practical |
|
78 |
applications: only Isabelle/Pure can bootstrap itself from nothing. |
|
79 |
||
80 |
All such session specifications together describe a hierarchy (tree) |
|
48738
f8c1a5b9488f
simplified session specifications: names are taken verbatim and current directory is default;
wenzelm
parents:
48737
diff
changeset
|
81 |
of sessions, with globally unique names. The new session name |
f8c1a5b9488f
simplified session specifications: names are taken verbatim and current directory is default;
wenzelm
parents:
48737
diff
changeset
|
82 |
@{text "A"} should be sufficiently long to stand on its own in a |
f8c1a5b9488f
simplified session specifications: names are taken verbatim and current directory is default;
wenzelm
parents:
48737
diff
changeset
|
83 |
potentially large library. |
48579 | 84 |
|
85 |
\item \isakeyword{session}~@{text "A (groups)"} indicates a |
|
86 |
collection of groups where the new session is a member. Group names |
|
87 |
are uninterpreted and merely follow certain conventions. For |
|
88 |
example, the Isabelle distribution tags some important sessions by |
|
48604 | 89 |
the group name called ``@{text "main"}''. Other projects may invent |
90 |
their own conventions, but this requires some care to avoid clashes |
|
91 |
within this unchecked name space. |
|
48579 | 92 |
|
93 |
\item \isakeyword{session}~@{text "A"}~\isakeyword{in}~@{text "dir"} |
|
48738
f8c1a5b9488f
simplified session specifications: names are taken verbatim and current directory is default;
wenzelm
parents:
48737
diff
changeset
|
94 |
specifies an explicit directory for this session; by default this is |
f8c1a5b9488f
simplified session specifications: names are taken verbatim and current directory is default;
wenzelm
parents:
48737
diff
changeset
|
95 |
the current directory of the @{verbatim ROOT} file. |
48579 | 96 |
|
97 |
All theories and auxiliary source files are located relatively to |
|
98 |
the session directory. The prover process is run within the same as |
|
99 |
its current working directory. |
|
100 |
||
101 |
\item \isakeyword{description}~@{text "text"} is a free-form |
|
102 |
annotation for this session. |
|
103 |
||
104 |
\item \isakeyword{options}~@{text "[x = a, y = b, z]"} defines |
|
48604 | 105 |
separate options (\secref{sec:system-options}) that are used when |
106 |
processing this session, but \emph{without} propagation to child |
|
107 |
sessions. Note that @{text "z"} abbreviates @{text "z = true"} for |
|
108 |
Boolean options. |
|
48579 | 109 |
|
110 |
\item \isakeyword{theories}~@{text "options names"} specifies a |
|
111 |
block of theories that are processed within an environment that is |
|
48604 | 112 |
augmented by the given options, in addition to the global session |
113 |
options given before. Any number of blocks of \isakeyword{theories} |
|
114 |
may be given. Options are only active for each |
|
115 |
\isakeyword{theories} block separately. |
|
48579 | 116 |
|
117 |
\item \isakeyword{files}~@{text "files"} lists additional source |
|
48604 | 118 |
files that are involved in the processing of this session. This |
119 |
should cover anything outside the formal content of the theory |
|
48579 | 120 |
sources, say some auxiliary {\TeX} files that are required for |
121 |
document processing. In contrast, files that are specified in |
|
122 |
formal theory headers as @{keyword "uses"} need not be declared |
|
123 |
again. |
|
124 |
||
125 |
\end{description} |
|
48580 | 126 |
*} |
48579 | 127 |
|
48580 | 128 |
subsubsection {* Examples *} |
129 |
||
130 |
text {* See @{file "~~/src/HOL/ROOT"} for a diversity of practically |
|
48738
f8c1a5b9488f
simplified session specifications: names are taken verbatim and current directory is default;
wenzelm
parents:
48737
diff
changeset
|
131 |
relevant situations, but it uses relatively complex quasi-hierarchic |
f8c1a5b9488f
simplified session specifications: names are taken verbatim and current directory is default;
wenzelm
parents:
48737
diff
changeset
|
132 |
naming conventions like @{text "HOL\<dash>SPARK"}, @{text |
f8c1a5b9488f
simplified session specifications: names are taken verbatim and current directory is default;
wenzelm
parents:
48737
diff
changeset
|
133 |
"HOL\<dash>SPARK\<dash>Examples"}. An alternative is to use |
f8c1a5b9488f
simplified session specifications: names are taken verbatim and current directory is default;
wenzelm
parents:
48737
diff
changeset
|
134 |
unqualified names that are relatively long and descriptive, as in |
f8c1a5b9488f
simplified session specifications: names are taken verbatim and current directory is default;
wenzelm
parents:
48737
diff
changeset
|
135 |
the Archive of Formal Proofs (\url{http://afp.sf.net}), for |
f8c1a5b9488f
simplified session specifications: names are taken verbatim and current directory is default;
wenzelm
parents:
48737
diff
changeset
|
136 |
example. *} |
48578 | 137 |
|
138 |
||
139 |
section {* System build options \label{sec:system-options} *} |
|
140 |
||
48580 | 141 |
text {* See @{file "~~/etc/options"} for the main defaults provided by |
48582 | 142 |
the Isabelle distribution. Isabelle/jEdit (\secref{sec:tool-jedit}) |
143 |
includes a simple editing mode @{verbatim "isabelle-options"} for |
|
144 |
this file-format. |
|
48693
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48684
diff
changeset
|
145 |
|
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48684
diff
changeset
|
146 |
The @{tool_def options} tool prints Isabelle system options. Its |
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48684
diff
changeset
|
147 |
command-line usage is: |
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48684
diff
changeset
|
148 |
\begin{ttbox} |
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48684
diff
changeset
|
149 |
Usage: isabelle options [OPTIONS] [MORE_OPTIONS ...] |
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48684
diff
changeset
|
150 |
|
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48684
diff
changeset
|
151 |
Options are: |
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48684
diff
changeset
|
152 |
-b include $ISABELLE_BUILD_OPTIONS |
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48684
diff
changeset
|
153 |
-x FILE export to FILE in YXML format |
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48684
diff
changeset
|
154 |
|
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48684
diff
changeset
|
155 |
Print Isabelle system options, augmented by MORE_OPTIONS given as |
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48684
diff
changeset
|
156 |
arguments NAME=VAL or NAME. |
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48684
diff
changeset
|
157 |
\end{ttbox} |
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48684
diff
changeset
|
158 |
|
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48684
diff
changeset
|
159 |
The command line arguments provide additional system options of the |
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48684
diff
changeset
|
160 |
form @{text "name"}@{verbatim "="}@{text "value"} or @{text name} |
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48684
diff
changeset
|
161 |
for Boolean options. |
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48684
diff
changeset
|
162 |
|
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48684
diff
changeset
|
163 |
Option @{verbatim "-b"} augments the implicit environment of system |
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48684
diff
changeset
|
164 |
options by the ones of @{setting ISABELLE_BUILD_OPTIONS}, cf.\ |
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48684
diff
changeset
|
165 |
\secref{sec:tool-build}. |
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48684
diff
changeset
|
166 |
|
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48684
diff
changeset
|
167 |
Option @{verbatim "-x"} specifies a file to export the result in |
ceeea46bdeba
"isabelle options" prints Isabelle system options;
wenzelm
parents:
48684
diff
changeset
|
168 |
YXML format, instead of printing it in human-readable form. |
48580 | 169 |
*} |
48578 | 170 |
|
171 |
||
172 |
section {* Invoking the build process \label{sec:tool-build} *} |
|
173 |
||
48602 | 174 |
text {* The @{tool_def build} tool invokes the build process for |
48578 | 175 |
Isabelle sessions. It manages dependencies between sessions, |
176 |
related sources of theories and auxiliary files, and target heap |
|
177 |
images. Accordingly, it runs instances of the prover process with |
|
178 |
optional document preparation. Its command-line usage |
|
179 |
is:\footnote{Isabelle/Scala provides the same functionality via |
|
180 |
\texttt{isabelle.Build.build}.} |
|
48602 | 181 |
\begin{ttbox} |
182 |
Usage: isabelle build [OPTIONS] [SESSIONS ...] |
|
48578 | 183 |
|
184 |
Options are: |
|
48737
f3bbb9ca57d6
added build option -D: include session directory and select its sessions;
wenzelm
parents:
48693
diff
changeset
|
185 |
-D DIR include session directory and select its sessions |
49131 | 186 |
-R operate on requirements of selected sessions |
48578 | 187 |
-a select all sessions |
188 |
-b build heap images |
|
48595 | 189 |
-c clean build |
48737
f3bbb9ca57d6
added build option -D: include session directory and select its sessions;
wenzelm
parents:
48693
diff
changeset
|
190 |
-d DIR include session directory |
48578 | 191 |
-g NAME select session group NAME |
192 |
-j INT maximum number of parallel jobs (default 1) |
|
48903 | 193 |
-l list session source files |
48578 | 194 |
-n no build -- test dependencies only |
195 |
-o OPTION override session configuration OPTION |
|
196 |
(via NAME=VAL or NAME) |
|
197 |
-s system build mode: produce output in ISABELLE_HOME |
|
198 |
-v verbose |
|
199 |
||
200 |
Build and manage Isabelle sessions, depending on implicit |
|
201 |
ISABELLE_BUILD_OPTIONS="..." |
|
202 |
||
203 |
ML_PLATFORM="..." |
|
204 |
ML_HOME="..." |
|
205 |
ML_SYSTEM="..." |
|
206 |
ML_OPTIONS="..." |
|
207 |
\end{ttbox} |
|
208 |
||
209 |
\medskip Isabelle sessions are defined via session ROOT files as |
|
210 |
described in (\secref{sec:session-root}). The totality of sessions |
|
211 |
is determined by collecting such specifications from all Isabelle |
|
212 |
component directories (\secref{sec:components}), augmented by more |
|
213 |
directories given via options @{verbatim "-d"}~@{text "DIR"} on the |
|
214 |
command line. Each such directory may contain a session |
|
48650 | 215 |
\texttt{ROOT} file with several session specifications. |
48578 | 216 |
|
48684
9170e10c651e
re-introduced ROOTS catalog files (cf. 47330b712f8f) which help to organize AFP or make -d options persistent;
wenzelm
parents:
48683
diff
changeset
|
217 |
Any session root directory may refer recursively to further |
9170e10c651e
re-introduced ROOTS catalog files (cf. 47330b712f8f) which help to organize AFP or make -d options persistent;
wenzelm
parents:
48683
diff
changeset
|
218 |
directories of the same kind, by listing them in a catalog file |
9170e10c651e
re-introduced ROOTS catalog files (cf. 47330b712f8f) which help to organize AFP or make -d options persistent;
wenzelm
parents:
48683
diff
changeset
|
219 |
@{verbatim "ROOTS"} line-by-line. This helps to organize large |
9170e10c651e
re-introduced ROOTS catalog files (cf. 47330b712f8f) which help to organize AFP or make -d options persistent;
wenzelm
parents:
48683
diff
changeset
|
220 |
collections of session specifications, or to make @{verbatim "-d"} |
9170e10c651e
re-introduced ROOTS catalog files (cf. 47330b712f8f) which help to organize AFP or make -d options persistent;
wenzelm
parents:
48683
diff
changeset
|
221 |
command line options persistent (say within @{verbatim |
9170e10c651e
re-introduced ROOTS catalog files (cf. 47330b712f8f) which help to organize AFP or make -d options persistent;
wenzelm
parents:
48683
diff
changeset
|
222 |
"$ISABELLE_HOME_USER/ROOTS"}). |
9170e10c651e
re-introduced ROOTS catalog files (cf. 47330b712f8f) which help to organize AFP or make -d options persistent;
wenzelm
parents:
48683
diff
changeset
|
223 |
|
48604 | 224 |
\medskip The subset of sessions to be managed is determined via |
48578 | 225 |
individual @{text "SESSIONS"} given as command-line arguments, or |
48604 | 226 |
session groups that are given via one or more options @{verbatim |
48578 | 227 |
"-g"}~@{text "NAME"}. Option @{verbatim "-a"} selects all sessions. |
48604 | 228 |
The build tool takes session dependencies into account: the set of |
229 |
selected sessions is completed by including all ancestors. |
|
48578 | 230 |
|
49131 | 231 |
\medskip Option @{verbatim "-R"} reverses the selection in the sense |
232 |
that it refers to its requirements: all ancestor sessions excluding |
|
233 |
the original selection. This allows to prepare the stage for some |
|
234 |
build process with different options, before running the main build |
|
235 |
itself (without option @{verbatim "-R"}). |
|
236 |
||
48737
f3bbb9ca57d6
added build option -D: include session directory and select its sessions;
wenzelm
parents:
48693
diff
changeset
|
237 |
\medskip Option @{verbatim "-D"} is similar to @{verbatim "-d"}, but |
f3bbb9ca57d6
added build option -D: include session directory and select its sessions;
wenzelm
parents:
48693
diff
changeset
|
238 |
selects all sessions that are defined in the given directories. |
f3bbb9ca57d6
added build option -D: include session directory and select its sessions;
wenzelm
parents:
48693
diff
changeset
|
239 |
|
48604 | 240 |
\medskip The build process depends on additional options |
241 |
(\secref{sec:system-options}) that are passed to the prover |
|
242 |
eventually. The settings variable @{setting_ref |
|
243 |
ISABELLE_BUILD_OPTIONS} allows to provide additional defaults, e.g.\ |
|
244 |
\texttt{ISABELLE_BUILD_OPTIONS="document=pdf threads=4"}. Moreover, |
|
245 |
the environment of system build options may be augmented on the |
|
246 |
command line via @{verbatim "-o"}~@{text "name"}@{verbatim |
|
247 |
"="}@{text "value"} or @{verbatim "-o"}~@{text "name"}, which |
|
248 |
abbreviates @{verbatim "-o"}~@{text "name"}@{verbatim"=true"} for |
|
249 |
Boolean options. Multiple occurrences of @{verbatim "-o"} on the |
|
250 |
command-line are applied in the given order. |
|
48578 | 251 |
|
252 |
\medskip Option @{verbatim "-b"} ensures that heap images are |
|
253 |
produced for all selected sessions. By default, images are only |
|
254 |
saved for inner nodes of the hierarchy of sessions, as required for |
|
255 |
other sessions to continue later on. |
|
256 |
||
48595 | 257 |
\medskip Option @{verbatim "-c"} cleans all descendants of the |
258 |
selected sessions before performing the specified build operation. |
|
259 |
||
260 |
\medskip Option @{verbatim "-n"} omits the actual build process |
|
261 |
after the preparatory stage (including optional cleanup). Note that |
|
262 |
the return code always indicates the status of the set of selected |
|
263 |
sessions. |
|
264 |
||
48578 | 265 |
\medskip Option @{verbatim "-j"} specifies the maximum number of |
48604 | 266 |
parallel build jobs (prover processes). Each prover process is |
267 |
subject to a separate limit of parallel worker threads, cf.\ system |
|
268 |
option @{system_option_ref threads}. |
|
48578 | 269 |
|
270 |
\medskip Option @{verbatim "-s"} enables \emph{system mode}, which |
|
271 |
means that resulting heap images and log files are stored in |
|
272 |
@{verbatim "$ISABELLE_HOME/heaps"} instead of the default location |
|
273 |
@{setting ISABELLE_OUTPUT} (which is normally in @{setting |
|
274 |
ISABELLE_HOME_USER}, i.e.\ the user's home directory). |
|
275 |
||
48903 | 276 |
\medskip Option @{verbatim "-v"} increases the general level of |
277 |
verbosity. Option @{verbatim "-l"} lists the source files that |
|
278 |
contribute to a session. |
|
48578 | 279 |
*} |
280 |
||
281 |
subsubsection {* Examples *} |
|
282 |
||
283 |
text {* |
|
284 |
Build a specific logic image: |
|
285 |
\begin{ttbox} |
|
286 |
isabelle build -b HOLCF |
|
287 |
\end{ttbox} |
|
288 |
||
48604 | 289 |
\smallskip Build the main group of logic images: |
48578 | 290 |
\begin{ttbox} |
291 |
isabelle build -b -g main |
|
292 |
\end{ttbox} |
|
293 |
||
48595 | 294 |
\smallskip Provide a general overview of the status of all Isabelle |
295 |
sessions, without building anything: |
|
48578 | 296 |
\begin{ttbox} |
297 |
isabelle build -a -n -v |
|
298 |
\end{ttbox} |
|
299 |
||
48595 | 300 |
\smallskip Build all sessions with HTML browser info and PDF |
301 |
document preparation: |
|
48578 | 302 |
\begin{ttbox} |
303 |
isabelle build -a -o browser_info -o document=pdf |
|
304 |
\end{ttbox} |
|
305 |
||
48604 | 306 |
\smallskip Build all sessions with a maximum of 8 parallel prover |
307 |
processes and 4 worker threads each (on a machine with many cores): |
|
48578 | 308 |
\begin{ttbox} |
309 |
isabelle build -a -j8 -o threads=4 |
|
310 |
\end{ttbox} |
|
48595 | 311 |
|
312 |
\smallskip Build some session images with cleanup of their |
|
313 |
descendants, while retaining their ancestry: |
|
314 |
\begin{ttbox} |
|
315 |
isabelle build -b -c HOL-Boogie HOL-SPARK |
|
316 |
\end{ttbox} |
|
317 |
||
318 |
\smallskip Clean all sessions without building anything: |
|
319 |
\begin{ttbox} |
|
320 |
isabelle build -a -n -c |
|
321 |
\end{ttbox} |
|
48737
f3bbb9ca57d6
added build option -D: include session directory and select its sessions;
wenzelm
parents:
48693
diff
changeset
|
322 |
|
f3bbb9ca57d6
added build option -D: include session directory and select its sessions;
wenzelm
parents:
48693
diff
changeset
|
323 |
\smallskip Build all sessions from some other directory hierarchy, |
f3bbb9ca57d6
added build option -D: include session directory and select its sessions;
wenzelm
parents:
48693
diff
changeset
|
324 |
according to the settings variable @{verbatim "AFP"} that happens to |
f3bbb9ca57d6
added build option -D: include session directory and select its sessions;
wenzelm
parents:
48693
diff
changeset
|
325 |
be defined inside the Isabelle environment: |
f3bbb9ca57d6
added build option -D: include session directory and select its sessions;
wenzelm
parents:
48693
diff
changeset
|
326 |
\begin{ttbox} |
f3bbb9ca57d6
added build option -D: include session directory and select its sessions;
wenzelm
parents:
48693
diff
changeset
|
327 |
isabelle build -D '$AFP' |
f3bbb9ca57d6
added build option -D: include session directory and select its sessions;
wenzelm
parents:
48693
diff
changeset
|
328 |
\end{ttbox} |
49131 | 329 |
|
330 |
\smallskip Inform about the status of all sessions required for AFP, |
|
331 |
without building anything yet: |
|
332 |
\begin{ttbox} |
|
333 |
isabelle build -D '$AFP' -R -v -n |
|
334 |
\end{ttbox} |
|
48578 | 335 |
*} |
336 |
||
337 |
end |