| author | desharna | 
| Mon, 31 Mar 2025 19:17:51 +0200 | |
| changeset 82387 | 667c67b1e8f1 | 
| parent 82138 | b840b9f5d687 | 
| child 82677 | c603d41dc183 | 
| permissions | -rw-r--r-- | 
| 48367 | 1 | (* :mode=isabelle-options: *) | 
| 2 | ||
| 49295 | 3 | section "Document Preparation" | 
| 49270 | 4 | |
| 77603 | 5 | option browser_info : bool = false for build | 
| 48580 | 6 | -- "generate theory browser information" | 
| 48367 | 7 | |
| 82138 
b840b9f5d687
add document options to build_sync, since Sessions.Info is read from export database for document generation (amending 6e5397fcc41b);
 Fabian Huch <huch@in.tum.de> parents: 
82043diff
changeset | 8 | option document : string = "" (standard "true") for build build_sync | 
| 73827 | 9 | -- "build PDF document (enabled for \"pdf\" or \"true\", disabled for \"\" or \"false\")" | 
| 82138 
b840b9f5d687
add document options to build_sync, since Sessions.Info is read from export database for document generation (amending 6e5397fcc41b);
 Fabian Huch <huch@in.tum.de> parents: 
82043diff
changeset | 10 | option document_output : string = "" (standard "output") for build build_sync | 
| 72578 
3e8395f9093a
clarified build_doc, based on Present.build_documents;
 wenzelm parents: 
72300diff
changeset | 11 | -- "document output directory" | 
| 82138 
b840b9f5d687
add document options to build_sync, since Sessions.Info is read from export database for document generation (amending 6e5397fcc41b);
 Fabian Huch <huch@in.tum.de> parents: 
82043diff
changeset | 12 | option document_echo : bool = false for build build_sync | 
| 74732 
015282fb3e31
clarified messages, depending on option "document_echo";
 wenzelm parents: 
74147diff
changeset | 13 | -- "inform about document file names during session presentation" | 
| 82138 
b840b9f5d687
add document options to build_sync, since Sessions.Info is read from export database for document generation (amending 6e5397fcc41b);
 Fabian Huch <huch@in.tum.de> parents: 
82043diff
changeset | 14 | option document_variants : string = "document" for build document build_sync | 
| 67137 | 15 | -- "alternative document variants (separated by colons)" | 
| 82138 
b840b9f5d687
add document options to build_sync, since Sessions.Info is read from export database for document generation (amending 6e5397fcc41b);
 Fabian Huch <huch@in.tum.de> parents: 
82043diff
changeset | 16 | option document_tags : string = "" for document build_sync | 
| 67138 | 17 | -- "default command tags (separated by commas)" | 
| 82138 
b840b9f5d687
add document options to build_sync, since Sessions.Info is read from export database for document generation (amending 6e5397fcc41b);
 Fabian Huch <huch@in.tum.de> parents: 
82043diff
changeset | 18 | option document_bibliography : bool = false for document build_sync | 
| 73743 | 19 | -- "explicitly enable use of bibtex (default: according to presence of root.bib)" | 
| 82138 
b840b9f5d687
add document options to build_sync, since Sessions.Info is read from export database for document generation (amending 6e5397fcc41b);
 Fabian Huch <huch@in.tum.de> parents: 
82043diff
changeset | 20 | option document_build : string = "lualatex" (standard "build") for document build_sync | 
| 74827 
c1b5d6e6ff74
clarified system option standard values: avoid oddities like "isabelle build -o document_output" producing directories named "true";
 wenzelm parents: 
74824diff
changeset | 21 | -- "document build engine (e.g. build, lualatex, pdflatex)" | 
| 82138 
b840b9f5d687
add document options to build_sync, since Sessions.Info is read from export database for document generation (amending 6e5397fcc41b);
 Fabian Huch <huch@in.tum.de> parents: 
82043diff
changeset | 22 | option document_logo : string = "" (standard "_") for document build_sync | 
| 73723 | 23 | -- "generate named instance of Isabelle logo (underscore means unnamed variant)" | 
| 82138 
b840b9f5d687
add document options to build_sync, since Sessions.Info is read from export database for document generation (amending 6e5397fcc41b);
 Fabian Huch <huch@in.tum.de> parents: 
82043diff
changeset | 24 | option document_heading_prefix : string = "isamarkup" (standard) for document build_sync | 
| 74824 
6424f74fd9d4
Latex.Output.latex_heading depends on option document_heading_prefix, e.g. relevant for Dagstuhl LIPIcs which prefers unaliased \section etc.;
 wenzelm parents: 
74733diff
changeset | 25 | -- "prefix for LaTeX macros generated from 'chapter', 'section' etc." | 
| 82138 
b840b9f5d687
add document options to build_sync, since Sessions.Info is read from export database for document generation (amending 6e5397fcc41b);
 Fabian Huch <huch@in.tum.de> parents: 
82043diff
changeset | 26 | option document_comment_latex : bool = false for document build_sync | 
| 74840 
4faf0ec33cbf
option document_comment_latex supports e.g. Dagstuhl LIPIcs;
 wenzelm parents: 
74827diff
changeset | 27 | -- "use regular LaTeX version of comment.sty, instead of historic plain TeX version" | 
| 82138 
b840b9f5d687
add document options to build_sync, since Sessions.Info is read from export database for document generation (amending 6e5397fcc41b);
 Fabian Huch <huch@in.tum.de> parents: 
82043diff
changeset | 28 | option document_cite_commands : string = "cite,nocite,citet,citep" for document build_sync | 
| 76986 | 29 | -- "antiquotation commands to determine the structure of bibliography" | 
| 48367 | 30 | |
| 77603 | 31 | option thy_output_display : bool = false for content | 
| 48580 | 32 | -- "indicate output as multi-line display-style material" | 
| 77603 | 33 | option thy_output_break : bool = false for content | 
| 48580 | 34 | -- "control line breaks in non-display material" | 
| 77603 | 35 | option thy_output_cartouche : bool = false for content | 
| 70121 | 36 | -- "indicate if the output should be delimited as cartouche" | 
| 77603 | 37 | option thy_output_quotes : bool = false for content | 
| 70121 | 38 | -- "indicate if the output should be delimited via double quotes" | 
| 77603 | 39 | option thy_output_margin : int = 76 for content | 
| 59175 
bf465f335e85
system option "pretty_margin" is superseded by "thy_output_margin";
 wenzelm parents: 
58849diff
changeset | 40 | -- "right margin / page width for printing of display material" | 
| 77603 | 41 | option thy_output_indent : int = 0 for content | 
| 48580 | 42 | -- "indentation for pretty printing of display material" | 
| 77603 | 43 | option thy_output_source : bool = false for content | 
| 48580 | 44 | -- "print original source text rather than internal representation" | 
| 77603 | 45 | option thy_output_source_cartouche : bool = false for content | 
| 70122 
a0b21b4b7a4a
strip cartouches from arguments of "embedded" document antiquotations, corresponding to automated update via "isabelle update -u control_cartouches" -- e.g. relevant for documents with thy_output_source (e.g. doc "isar-ref", "jedit", "system");
 wenzelm parents: 
70121diff
changeset | 46 | -- "print original source text rather than internal representation, preserve cartouches" | 
| 77603 | 47 | option thy_output_modes : string = "" for content | 
| 52042 | 48 | -- "additional print modes for document output (separated by commas)" | 
| 49270 | 49 | |
| 52043 
286629271d65
more system options as context-sensitive config options;
 wenzelm parents: 
52042diff
changeset | 50 | |
| 
286629271d65
more system options as context-sensitive config options;
 wenzelm parents: 
52042diff
changeset | 51 | section "Prover Output" | 
| 
286629271d65
more system options as context-sensitive config options;
 wenzelm parents: 
52042diff
changeset | 52 | |
| 77674 | 53 | option pide_reports : bool = true for content | 
| 54 | -- "enable reports of PIDE markup" | |
| 55 | ||
| 77603 | 56 | option show_types : bool = false for content | 
| 52043 
286629271d65
more system options as context-sensitive config options;
 wenzelm parents: 
52042diff
changeset | 57 | -- "show type constraints when printing terms" | 
| 77603 | 58 | option show_sorts : bool = false for content | 
| 52043 
286629271d65
more system options as context-sensitive config options;
 wenzelm parents: 
52042diff
changeset | 59 | -- "show sort constraints when printing types" | 
| 77603 | 60 | option show_brackets : bool = false for content | 
| 52043 
286629271d65
more system options as context-sensitive config options;
 wenzelm parents: 
52042diff
changeset | 61 | -- "show extra brackets when printing terms/types" | 
| 77603 | 62 | option show_question_marks : bool = true for content | 
| 52043 
286629271d65
more system options as context-sensitive config options;
 wenzelm parents: 
52042diff
changeset | 63 | -- "show leading question mark of schematic variables" | 
| 
286629271d65
more system options as context-sensitive config options;
 wenzelm parents: 
52042diff
changeset | 64 | |
| 77603 | 65 | option show_consts : bool = false for content | 
| 52043 
286629271d65
more system options as context-sensitive config options;
 wenzelm parents: 
52042diff
changeset | 66 | -- "show constants with types when printing proof state" | 
| 77603 | 67 | option show_main_goal : bool = false for content | 
| 52043 
286629271d65
more system options as context-sensitive config options;
 wenzelm parents: 
52042diff
changeset | 68 | -- "show main goal when printing proof state" | 
| 77603 | 69 | option goals_limit : int = 10 for content | 
| 52043 
286629271d65
more system options as context-sensitive config options;
 wenzelm parents: 
52042diff
changeset | 70 | -- "maximum number of subgoals to be printed" | 
| 
286629271d65
more system options as context-sensitive config options;
 wenzelm parents: 
52042diff
changeset | 71 | |
| 77603 | 72 | option show_states : bool = false for content | 
| 76073 
951abf9db857
option "show_states" for more verbosity of batch-builds;
 wenzelm parents: 
76068diff
changeset | 73 | -- "show toplevel states even if outside of interactive mode" | 
| 
951abf9db857
option "show_states" for more verbosity of batch-builds;
 wenzelm parents: 
76068diff
changeset | 74 | |
| 
951abf9db857
option "show_states" for more verbosity of batch-builds;
 wenzelm parents: 
76068diff
changeset | 75 | |
| 77603 | 76 | option names_long : bool = false for content | 
| 52043 
286629271d65
more system options as context-sensitive config options;
 wenzelm parents: 
52042diff
changeset | 77 | -- "show fully qualified names" | 
| 77603 | 78 | option names_short : bool = false for content | 
| 52043 
286629271d65
more system options as context-sensitive config options;
 wenzelm parents: 
52042diff
changeset | 79 | -- "show base names only" | 
| 77603 | 80 | option names_unique : bool = true for content | 
| 52043 
286629271d65
more system options as context-sensitive config options;
 wenzelm parents: 
52042diff
changeset | 81 | -- "show partially qualified names, as required for unique name resolution" | 
| 
286629271d65
more system options as context-sensitive config options;
 wenzelm parents: 
52042diff
changeset | 82 | |
| 77603 | 83 | option eta_contract : bool = true for content | 
| 52043 
286629271d65
more system options as context-sensitive config options;
 wenzelm parents: 
52042diff
changeset | 84 | -- "print terms in eta-contracted form" | 
| 
286629271d65
more system options as context-sensitive config options;
 wenzelm parents: 
52042diff
changeset | 85 | |
| 77603 | 86 | option print_mode : string = "" for content | 
| 49270 | 87 | -- "additional print modes for prover output (separated by commas)" | 
| 88 | ||
| 89 | ||
| 73387 | 90 | section "Parallel Processing and Timing" | 
| 49270 | 91 | |
| 77603 | 92 | public option threads : int = 0 for build | 
| 79652 | 93 | -- "maximum number of worker threads for prover process (0 = guess from hardware)" | 
| 56734 
6ca87a061740
suppress potential dangerous option (see 1baa5d19ac44);
 wenzelm parents: 
56613diff
changeset | 94 | option threads_trace : int = 0 | 
| 49270 | 95 | -- "level of tracing information for multithreading" | 
| 59468 
fe6651760643
explicit threads_stack_limit (for recent Poly/ML SVN versions), which leads to soft interrupt instead of exhaustion of virtual memory, which is particularly relevant for the bigger address space of x86_64;
 wenzelm parents: 
59446diff
changeset | 96 | option threads_stack_limit : real = 0.25 | 
| 
fe6651760643
explicit threads_stack_limit (for recent Poly/ML SVN versions), which leads to soft interrupt instead of exhaustion of virtual memory, which is particularly relevant for the bigger address space of x86_64;
 wenzelm parents: 
59446diff
changeset | 97 | -- "maximum stack size for worker threads (in giga words, 0 = unlimited)" | 
| 62790 | 98 | |
| 77603 | 99 | public option parallel_limit : int = 0 for build | 
| 68130 
6fb85346cb79
clarified future scheduling parameters, with support for parallel_limit;
 wenzelm parents: 
67743diff
changeset | 100 | -- "approximative limit for parallel tasks (0 = unlimited)" | 
| 77603 | 101 | public option parallel_print : bool = true for build | 
| 56875 
f6259d6fb565
explicit option parallel_print to downgrade parallel scheduling, which might occasionally help for big and heavy "scripts";
 wenzelm parents: 
56734diff
changeset | 102 | -- "parallel and asynchronous printing of results" | 
| 77603 | 103 | public option parallel_proofs : int = 1 for build | 
| 49270 | 104 | -- "level of parallel proof checking: 0, 1, 2" | 
| 77603 | 105 | option parallel_subproofs_threshold : real = 0.01 for build | 
| 51423 
e5f9a6d9ca82
clarified parallel_subproofs_saturation (blind guess) vs. parallel_subproofs_threshold (precient timing estimate);
 wenzelm parents: 
51230diff
changeset | 106 | -- "lower bound of timing estimate for forked nested proofs (seconds)" | 
| 49270 | 107 | |
| 77603 | 108 | option command_timing_threshold : real = 0.1 for build | 
| 62793 
f235646b1b73
less bulky timing information, e.g. HOL 56913 ~> 672;
 wenzelm parents: 
62790diff
changeset | 109 | -- "default threshold for persistent command timing (seconds)" | 
| 
f235646b1b73
less bulky timing information, e.g. HOL 56913 ~> 672;
 wenzelm parents: 
62790diff
changeset | 110 | |
| 77603 | 111 | public option timeout_scale : real = 1.0 for build | 
| 73387 | 112 | -- "scale factor for timeout in Isabelle/ML and session build" | 
| 113 | ||
| 78018 
dfa44d85d751
proper system options to control context tracing/timing;
 wenzelm parents: 
77715diff
changeset | 114 | option context_data_timing : bool = false for build | 
| 
dfa44d85d751
proper system options to control context tracing/timing;
 wenzelm parents: 
77715diff
changeset | 115 | -- "timing for context data operations" | 
| 
dfa44d85d751
proper system options to control context tracing/timing;
 wenzelm parents: 
77715diff
changeset | 116 | |
| 
dfa44d85d751
proper system options to control context tracing/timing;
 wenzelm parents: 
77715diff
changeset | 117 | option context_theory_tracing : bool = false for build | 
| 
dfa44d85d751
proper system options to control context tracing/timing;
 wenzelm parents: 
77715diff
changeset | 118 | -- "tracing of persistent theory values within ML heap" | 
| 
dfa44d85d751
proper system options to control context tracing/timing;
 wenzelm parents: 
77715diff
changeset | 119 | |
| 
dfa44d85d751
proper system options to control context tracing/timing;
 wenzelm parents: 
77715diff
changeset | 120 | option context_proof_tracing : bool = false for build | 
| 
dfa44d85d751
proper system options to control context tracing/timing;
 wenzelm parents: 
77715diff
changeset | 121 | -- "tracing of persistent Proof.context values within ML heap" | 
| 
dfa44d85d751
proper system options to control context tracing/timing;
 wenzelm parents: 
77715diff
changeset | 122 | |
| 49270 | 123 | |
| 52490 | 124 | section "Detail of Proof Checking" | 
| 49270 | 125 | |
| 77603 | 126 | option record_proofs : int = -1 for content | 
| 65448 
9bc3b57c1fa7
added system option record_proofs, which allows to build HOL-Proofs without special Proofs.thy;
 wenzelm parents: 
65264diff
changeset | 127 | -- "set level of proofterm recording: 0, 1, 2, negative means unchanged" | 
| 77603 | 128 | option quick_and_dirty : bool = false for content | 
| 49270 | 129 | -- "if true then some tools will OMIT some proofs" | 
| 77603 | 130 | option skip_proofs : bool = false for content | 
| 51553 
63327f679cff
more ambitious Goal.skip_proofs: covers Goal.prove forms as well, and do not insist in quick_and_dirty (for the sake of Isabelle/jEdit);
 wenzelm parents: 
51423diff
changeset | 131 | -- "skip over proofs (implicit 'sorry')" | 
| 77603 | 132 | option strict_facts : bool = false for content | 
| 68661 | 133 | -- "force lazy facts when defined in context" | 
| 49270 | 134 | |
| 135 | ||
| 49295 | 136 | section "Global Session Parameters" | 
| 49270 | 137 | |
| 78431 | 138 | option context : string = "" for content | 
| 139 | -- "free-form information for session content (to be interpreted in Isabelle/ML)" | |
| 140 | ||
| 77603 | 141 | option condition : string = "" for content | 
| 49270 | 142 | -- "required environment variables for subsequent theories (separated by commas)" | 
| 143 | ||
| 77603 | 144 | option timeout : real = 0 for build | 
| 48661 | 145 | -- "timeout for session build job (seconds > 0)" | 
| 146 | ||
| 79894 
3acbfeec4a95
more synced options (following 6e5397fcc41b);
 Fabian Huch <huch@in.tum.de> parents: 
79886diff
changeset | 147 | option timeout_build : bool = true for build build_sync | 
| 73701 | 148 | -- "observe timeout for session build" | 
| 149 | ||
| 77483 | 150 | option process_policy : string = "" | 
| 151 | -- "command prefix for underlying process, notably ML with NUMA policy" | |
| 152 | ||
| 77603 | 153 | option process_output_tail : int = 40 for build | 
| 62409 
e391528eff3b
proper option process_output_tail, more generous default;
 wenzelm parents: 
62115diff
changeset | 154 | -- "build process output tail shown to user (in lines, 0 = unlimited)" | 
| 51962 
016cb7d8f297
limit build process output, to avoid bombing Isabelle/Scala process by ill-behaved jobs (e.g. Containers in AFP/9025435b29cf);
 wenzelm parents: 
51960diff
changeset | 155 | |
| 77603 | 156 | option profiling : string = "" (standard "time") for build | 
| 76041 | 157 | -- "ML profiling (possible values: time, time_thread, allocations)" | 
| 64308 | 158 | |
| 77603 | 159 | option system_log : string = "" (standard "-") for build | 
| 74827 
c1b5d6e6ff74
clarified system option standard values: avoid oddities like "isabelle build -o document_output" producing directories named "true";
 wenzelm parents: 
74824diff
changeset | 160 | -- "output for system messages (log file or \"-\" for console progress)" | 
| 73777 
52e43a93d51f
clarified system_log: make this work independently of the particular "isabelle build" command-line (e.g. "isabelle mirabelle");
 wenzelm parents: 
73743diff
changeset | 161 | |
| 77603 | 162 | option system_heaps : bool = false for build | 
| 69854 
cc0b3e177b49
system option "system_heaps" supersedes various command-line options for "system build mode";
 wenzelm parents: 
69755diff
changeset | 163 | -- "store session heaps in $ISABELLE_HEAPS_SYSTEM, not $ISABELLE_HEAPS" | 
| 
cc0b3e177b49
system option "system_heaps" supersedes various command-line options for "system build mode";
 wenzelm parents: 
69755diff
changeset | 164 | |
| 56279 
b4d874f6c6be
clarified options ML_source_trace and ML_exception_trace (NB: the latter needs to be a system option, since the context is sometimes not available, e.g. for 'theory' command);
 wenzelm parents: 
56265diff
changeset | 165 | |
| 
b4d874f6c6be
clarified options ML_source_trace and ML_exception_trace (NB: the latter needs to be a system option, since the context is sometimes not available, e.g. for 'theory' command);
 wenzelm parents: 
56265diff
changeset | 166 | section "ML System" | 
| 
b4d874f6c6be
clarified options ML_source_trace and ML_exception_trace (NB: the latter needs to be a system option, since the context is sometimes not available, e.g. for 'theory' command);
 wenzelm parents: 
56265diff
changeset | 167 | |
| 77603 | 168 | option ML_print_depth : int = 20 for content | 
| 62711 | 169 | -- "ML print depth for toplevel pretty-printing" | 
| 170 | ||
| 56279 
b4d874f6c6be
clarified options ML_source_trace and ML_exception_trace (NB: the latter needs to be a system option, since the context is sometimes not available, e.g. for 'theory' command);
 wenzelm parents: 
56265diff
changeset | 171 | public option ML_exception_trace : bool = false | 
| 
b4d874f6c6be
clarified options ML_source_trace and ML_exception_trace (NB: the latter needs to be a system option, since the context is sometimes not available, e.g. for 'theory' command);
 wenzelm parents: 
56265diff
changeset | 172 | -- "ML exception trace for toplevel command execution" | 
| 56265 
785569927666
discontinued Toplevel.debug in favour of system option "exception_trace";
 wenzelm parents: 
55672diff
changeset | 173 | |
| 62498 | 174 | public option ML_exception_debugger : bool = false | 
| 175 | -- "ML debugger exception trace for toplevel command execution" | |
| 176 | ||
| 60730 | 177 | public option ML_debugger : bool = false | 
| 178 | -- "ML debugger instrumentation for newly compiled code" | |
| 179 | ||
| 79526 
6e5397fcc41b
add build_sync tag to sync certain options (e.g., build_engine) across build processes;
 Fabian Huch <huch@in.tum.de> parents: 
79487diff
changeset | 180 | public option ML_system_64 : bool = false for build build_sync | 
| 76276 | 181 | -- "prefer native 64bit platform (change requires restart)" | 
| 61158 
ea6a4c8bc722
convenient change of ML system architecture via system option ML_preference_64, which is grepped off-line from stored preferences during bootstrap;
 wenzelm parents: 
60889diff
changeset | 182 | |
| 78309 
fc6246225283
revert ineffective b04ac8a017b2: etc/settings of polyml components needs to be changed as well;
 wenzelm parents: 
78306diff
changeset | 183 | public option ML_system_apple : bool = true for build | 
| 76275 
b446004b2464
support for system option ML_system_apple: emulated x86_64 Poly/ML is sometimes more stable than native ARM64;
 wenzelm parents: 
76212diff
changeset | 184 | -- "prefer native Apple/ARM64 platform (change requires restart)" | 
| 
b446004b2464
support for system option ML_system_apple: emulated x86_64 Poly/ML is sometimes more stable than native ARM64;
 wenzelm parents: 
76212diff
changeset | 185 | |
| 49288 | 186 | |
| 77330 
47eb96592aa2
support alternative build engines, via system option "build_engine";
 wenzelm parents: 
77149diff
changeset | 187 | section "Build Process" | 
| 71675 | 188 | |
| 77675 
9e5f8f6e58a0
more thorough treatment of build prefs, guarded by system option "build_through": avoid accidental rebuild of HOL etc.;
 wenzelm parents: 
77674diff
changeset | 189 | option build_thorough : bool = false | 
| 
9e5f8f6e58a0
more thorough treatment of build prefs, guarded by system option "build_through": avoid accidental rebuild of HOL etc.;
 wenzelm parents: 
77674diff
changeset | 190 | -- "observe dependencies on options with tag 'content' or 'document'" | 
| 
9e5f8f6e58a0
more thorough treatment of build prefs, guarded by system option "build_through": avoid accidental rebuild of HOL etc.;
 wenzelm parents: 
77674diff
changeset | 191 | |
| 77384 
ef6673859c38
option build_hostname allows to change hostname easily;
 wenzelm parents: 
77372diff
changeset | 192 | option build_hostname : string = "" | 
| 
ef6673859c38
option build_hostname allows to change hostname easily;
 wenzelm parents: 
77372diff
changeset | 193 | -- "alternative hostname for build process (default $ISABELLE_HOSTNAME)" | 
| 
ef6673859c38
option build_hostname allows to change hostname easily;
 wenzelm parents: 
77372diff
changeset | 194 | |
| 79526 
6e5397fcc41b
add build_sync tag to sync certain options (e.g., build_engine) across build processes;
 Fabian Huch <huch@in.tum.de> parents: 
79487diff
changeset | 195 | option build_engine : string = "" for build_sync | 
| 77330 
47eb96592aa2
support alternative build engines, via system option "build_engine";
 wenzelm parents: 
77149diff
changeset | 196 | -- "alternative session build engine" | 
| 
47eb96592aa2
support alternative build engines, via system option "build_engine";
 wenzelm parents: 
77149diff
changeset | 197 | |
| 79526 
6e5397fcc41b
add build_sync tag to sync certain options (e.g., build_engine) across build processes;
 Fabian Huch <huch@in.tum.de> parents: 
79487diff
changeset | 198 | option build_database : bool = false for build_sync | 
| 77372 | 199 | -- "expose state of build process via central database" | 
| 200 | ||
| 79894 
3acbfeec4a95
more synced options (following 6e5397fcc41b);
 Fabian Huch <huch@in.tum.de> parents: 
79886diff
changeset | 201 | option build_database_slice : real = 300 for build_sync | 
| 78188 | 202 | -- "slice size in MiB for ML heap stored within database" | 
| 203 | ||
| 78406 
2ece6509ad6f
clarified options: accommodate potentially slow database connection;
 wenzelm parents: 
78404diff
changeset | 204 | option build_delay : real = 0.2 | 
| 78409 | 205 | -- "delay build process main loop (local)" | 
| 78364 | 206 | |
| 79886 
7ae25372ab04
database performance tuning: prefer light-weight IPC over heavy-duty transactions, following bf377e10ff3b;
 wenzelm parents: 
79883diff
changeset | 207 | option build_delay_master : real = 1.0 | 
| 
7ae25372ab04
database performance tuning: prefer light-weight IPC over heavy-duty transactions, following bf377e10ff3b;
 wenzelm parents: 
79883diff
changeset | 208 | -- "delay build process main loop (cluster master)" | 
| 
7ae25372ab04
database performance tuning: prefer light-weight IPC over heavy-duty transactions, following bf377e10ff3b;
 wenzelm parents: 
79883diff
changeset | 209 | |
| 
7ae25372ab04
database performance tuning: prefer light-weight IPC over heavy-duty transactions, following bf377e10ff3b;
 wenzelm parents: 
79883diff
changeset | 210 | option build_delay_worker : real = 0.5 | 
| 
7ae25372ab04
database performance tuning: prefer light-weight IPC over heavy-duty transactions, following bf377e10ff3b;
 wenzelm parents: 
79883diff
changeset | 211 | -- "delay build process main loop (cluster worker)" | 
| 78406 
2ece6509ad6f
clarified options: accommodate potentially slow database connection;
 wenzelm parents: 
78404diff
changeset | 212 | |
| 79883 
6fa259b24deb
proper system option, instead of hardwired default;
 wenzelm parents: 
79814diff
changeset | 213 | option build_cluster_expire : int = 50 | 
| 
6fa259b24deb
proper system option, instead of hardwired default;
 wenzelm parents: 
79814diff
changeset | 214 | -- "enforce database synchronization after given number of delay loops" | 
| 
6fa259b24deb
proper system option, instead of hardwired default;
 wenzelm parents: 
79814diff
changeset | 215 | |
| 78440 
126a12483c67
support for Build_Cluster.Session.init (rsync + Admin/init);
 wenzelm parents: 
78431diff
changeset | 216 | option build_cluster_root : string = "$USER_HOME/.isabelle/build_cluster" | 
| 
126a12483c67
support for Build_Cluster.Session.init (rsync + Admin/init);
 wenzelm parents: 
78431diff
changeset | 217 | -- "root directory for remote build cluster sessions" | 
| 
126a12483c67
support for Build_Cluster.Session.init (rsync + Admin/init);
 wenzelm parents: 
78431diff
changeset | 218 | |
| 
126a12483c67
support for Build_Cluster.Session.init (rsync + Admin/init);
 wenzelm parents: 
78431diff
changeset | 219 | option build_cluster_identifier : string = "build_cluster" | 
| 
126a12483c67
support for Build_Cluster.Session.init (rsync + Admin/init);
 wenzelm parents: 
78431diff
changeset | 220 | -- "ISABELLE_IDENTIFIER for remote build cluster sessions" | 
| 
126a12483c67
support for Build_Cluster.Session.init (rsync + Admin/init);
 wenzelm parents: 
78431diff
changeset | 221 | |
| 79948 
8fe1ed4b5705
option for benchmark session;
 Fabian Huch <huch@in.tum.de> parents: 
79928diff
changeset | 222 | option build_benchmark_session : string = "FOLP-ex" | 
| 
8fe1ed4b5705
option for benchmark session;
 Fabian Huch <huch@in.tum.de> parents: 
79928diff
changeset | 223 | -- "representative benchmark session with short build time and requirements" | 
| 
8fe1ed4b5705
option for benchmark session;
 Fabian Huch <huch@in.tum.de> parents: 
79928diff
changeset | 224 | |
| 79915 
40d2f9ce29fc
allow read/write of schedule in build (read via option, write from tool);
 Fabian Huch <huch@in.tum.de> parents: 
79912diff
changeset | 225 | option build_schedule : string = "" | 
| 
40d2f9ce29fc
allow read/write of schedule in build (read via option, write from tool);
 Fabian Huch <huch@in.tum.de> parents: 
79912diff
changeset | 226 | -- "path to pre-computed schedule" | 
| 
40d2f9ce29fc
allow read/write of schedule in build (read via option, write from tool);
 Fabian Huch <huch@in.tum.de> parents: 
79912diff
changeset | 227 | |
| 79928 
cdc87eed26c7
allow specifying initial schedule;
 Fabian Huch <huch@in.tum.de> parents: 
79915diff
changeset | 228 | option build_schedule_initial : string = "" | 
| 
cdc87eed26c7
allow specifying initial schedule;
 Fabian Huch <huch@in.tum.de> parents: 
79915diff
changeset | 229 | -- "path to initial pre-computed schedule (may be overwritten during build)" | 
| 
cdc87eed26c7
allow specifying initial schedule;
 Fabian Huch <huch@in.tum.de> parents: 
79915diff
changeset | 230 | |
| 79289 
7c1faa16554b
add delay and limit options for when schedule is considered outdated;
 Fabian Huch <huch@in.tum.de> parents: 
79067diff
changeset | 231 | option build_schedule_outdated_delay : real = 300.0 | 
| 
7c1faa16554b
add delay and limit options for when schedule is considered outdated;
 Fabian Huch <huch@in.tum.de> parents: 
79067diff
changeset | 232 | -- "delay schedule generation loop" | 
| 
7c1faa16554b
add delay and limit options for when schedule is considered outdated;
 Fabian Huch <huch@in.tum.de> parents: 
79067diff
changeset | 233 | |
| 80471 
12901c03b416
remove inactive (e.g., crashed) hosts from scheduling;
 Fabian Huch <huch@in.tum.de> parents: 
80470diff
changeset | 234 | option build_schedule_inactive_delay : real = 300.0 | 
| 
12901c03b416
remove inactive (e.g., crashed) hosts from scheduling;
 Fabian Huch <huch@in.tum.de> parents: 
80470diff
changeset | 235 | -- "delay removing inactive hosts" | 
| 
12901c03b416
remove inactive (e.g., crashed) hosts from scheduling;
 Fabian Huch <huch@in.tum.de> parents: 
80470diff
changeset | 236 | |
| 81820 
11c3f6d4e7e6
build schedule: limit history length;
 Fabian Huch <huch@in.tum.de> parents: 
81715diff
changeset | 237 | option build_schedule_history : int = 150 | 
| 
11c3f6d4e7e6
build schedule: limit history length;
 Fabian Huch <huch@in.tum.de> parents: 
81715diff
changeset | 238 | -- "length of history relevant for scheduling (in days)" | 
| 
11c3f6d4e7e6
build schedule: limit history length;
 Fabian Huch <huch@in.tum.de> parents: 
81715diff
changeset | 239 | |
| 71675 | 240 | |
| 80246 | 241 | section "Build Manager" | 
| 242 | ||
| 82042 | 243 | option build_manager_group : string = "isabelle" | 
| 244 | -- "common group for users on build manager system" | |
| 245 | ||
| 80246 | 246 | option build_manager_dir : string = "/srv/build" | 
| 247 | -- "directory for submissions on build server" | |
| 248 | ||
| 82043 
65ac068f9d17
use ssh host for default address;
 Fabian Huch <huch@in.tum.de> parents: 
82042diff
changeset | 249 | option build_manager_address : string = "" | 
| 
65ac068f9d17
use ssh host for default address;
 Fabian Huch <huch@in.tum.de> parents: 
82042diff
changeset | 250 | -- "explicit web address for build server" | 
| 80246 | 251 | |
| 252 | option build_manager_identifier : string = "build_manager" | |
| 253 | -- "isabelle identifier for build manager processes" | |
| 254 | ||
| 80281 
17d2f775907a
add cluster/hosts configurations to build manager: allows running jobs in parallel on distinct hardware;
 Fabian Huch <huch@in.tum.de> parents: 
80253diff
changeset | 255 | option build_manager_cluster : string = "cluster.default" | 
| 80470 | 256 | -- "cluster for user-submitted tasks" | 
| 80281 
17d2f775907a
add cluster/hosts configurations to build manager: allows running jobs in parallel on distinct hardware;
 Fabian Huch <huch@in.tum.de> parents: 
80253diff
changeset | 257 | |
| 80469 
a3bae6dd7344
add timeout to build manager tasks/jobs (e.g. for cluster builds that don't terminate after error on host);
 Fabian Huch <huch@in.tum.de> parents: 
80459diff
changeset | 258 | option build_manager_timeout : real = 28800 | 
| 
a3bae6dd7344
add timeout to build manager tasks/jobs (e.g. for cluster builds that don't terminate after error on host);
 Fabian Huch <huch@in.tum.de> parents: 
80459diff
changeset | 259 | -- "timeout for user-submitted tasks (seconds > 0)" | 
| 
a3bae6dd7344
add timeout to build manager tasks/jobs (e.g. for cluster builds that don't terminate after error on host);
 Fabian Huch <huch@in.tum.de> parents: 
80459diff
changeset | 260 | |
| 80645 
a1dce0cc6c26
build_manager: terminate processes if cancelling does not work;
 Fabian Huch <huch@in.tum.de> parents: 
80471diff
changeset | 261 | option build_manager_cancel_timeout : real = 180.0 | 
| 
a1dce0cc6c26
build_manager: terminate processes if cancelling does not work;
 Fabian Huch <huch@in.tum.de> parents: 
80471diff
changeset | 262 | -- "timeout for graceful cancelling (seconds > 0)" | 
| 
a1dce0cc6c26
build_manager: terminate processes if cancelling does not work;
 Fabian Huch <huch@in.tum.de> parents: 
80471diff
changeset | 263 | |
| 80246 | 264 | option build_manager_delay : real = 1.0 | 
| 265 | -- "delay build manager loop" | |
| 266 | ||
| 267 | option build_manager_poll_delay : real = 60.0 | |
| 268 | -- "delay build manager poll loop" | |
| 269 | ||
| 80406 
d85ad13d8cf3
extra timer delay, to limit db transactions;
 Fabian Huch <huch@in.tum.de> parents: 
80281diff
changeset | 270 | option build_manager_timer_delay : real = 10.0 | 
| 
d85ad13d8cf3
extra timer delay, to limit db transactions;
 Fabian Huch <huch@in.tum.de> parents: 
80281diff
changeset | 271 | -- "delay build manager timer loop" | 
| 
d85ad13d8cf3
extra timer delay, to limit db transactions;
 Fabian Huch <huch@in.tum.de> parents: 
80281diff
changeset | 272 | |
| 80246 | 273 | option build_manager_ci_jobs : string = "benchmark" | 
| 274 | -- "ci jobs that should be executed on repository changes" | |
| 275 | ||
| 276 | ||
| 69520 | 277 | section "Editor Session" | 
| 49288 | 278 | |
| 52065 
78f2475aa126
explicit notion of public options, which are shown in the editor options dialog;
 wenzelm parents: 
52043diff
changeset | 279 | public option editor_load_delay : real = 0.5 | 
| 49288 | 280 | -- "delay for file load operations (new buffers etc.)" | 
| 281 | ||
| 72933 | 282 | public option editor_input_delay : real = 0.2 | 
| 49288 | 283 | -- "delay for user input (text edits, cursor movement etc.)" | 
| 284 | ||
| 64524 
e6a3c55b929b
explicit option editor_generated_input_delay, which is more aggressive by default;
 wenzelm parents: 
64325diff
changeset | 285 | public option editor_generated_input_delay : real = 1.0 | 
| 
e6a3c55b929b
explicit option editor_generated_input_delay, which is more aggressive by default;
 wenzelm parents: 
64325diff
changeset | 286 | -- "delay for machine-generated input that may outperform user edits" | 
| 
e6a3c55b929b
explicit option editor_generated_input_delay, which is more aggressive by default;
 wenzelm parents: 
64325diff
changeset | 287 | |
| 52065 
78f2475aa126
explicit notion of public options, which are shown in the editor options dialog;
 wenzelm parents: 
52043diff
changeset | 288 | public option editor_output_delay : real = 0.1 | 
| 49288 | 289 | -- "delay for prover output (markup, common messages etc.)" | 
| 290 | ||
| 76474 | 291 | public option editor_consolidate_delay : real = 1.0 | 
| 66379 
6392766f3c25
maintain "consolidated" status of theory nodes, which means all evals are finished (but not necessarily prints nor imports);
 wenzelm parents: 
66160diff
changeset | 292 | -- "delay to consolidate status of command evaluation (execution forks)" | 
| 
6392766f3c25
maintain "consolidated" status of theory nodes, which means all evals are finished (but not necessarily prints nor imports);
 wenzelm parents: 
66160diff
changeset | 293 | |
| 62115 
57895801cb57
prune old versions more often, to reduce overall heap requirements;
 wenzelm parents: 
61873diff
changeset | 294 | public option editor_prune_delay : real = 15 | 
| 57867 
abae8aff6262
added system option editor_output_delay: lower value might help big sessions under low-memory situations;
 wenzelm parents: 
56875diff
changeset | 295 | -- "delay to prune history (delete old versions)" | 
| 
abae8aff6262
added system option editor_output_delay: lower value might help big sessions under low-memory situations;
 wenzelm parents: 
56875diff
changeset | 296 | |
| 65264 
7e6ecd04b5fe
dynamic session_options for tuning parameters and initial prover options;
 wenzelm parents: 
65141diff
changeset | 297 | option editor_prune_size : int = 0 | 
| 
7e6ecd04b5fe
dynamic session_options for tuning parameters and initial prover options;
 wenzelm parents: 
65141diff
changeset | 298 | -- "retained size of pruned history (delete old versions)" | 
| 
7e6ecd04b5fe
dynamic session_options for tuning parameters and initial prover options;
 wenzelm parents: 
65141diff
changeset | 299 | |
| 52065 
78f2475aa126
explicit notion of public options, which are shown in the editor options dialog;
 wenzelm parents: 
52043diff
changeset | 300 | public option editor_update_delay : real = 0.5 | 
| 49288 | 301 | -- "delay for physical GUI updates" | 
| 302 | ||
| 52065 
78f2475aa126
explicit notion of public options, which are shown in the editor options dialog;
 wenzelm parents: 
52043diff
changeset | 303 | public option editor_reparse_limit : int = 10000 | 
| 49524 
68796a77c42b
Thy_Syntax.consolidate_spans is subject to editor_reparse_limit, for improved experience of unbalanced comments etc.;
 wenzelm parents: 
49295diff
changeset | 304 | -- "maximum amount of reparsed text outside perspective" | 
| 50119 
5c370a036de7
more generous tracing_limit, with explicit system option;
 wenzelm parents: 
49524diff
changeset | 305 | |
| 52065 
78f2475aa126
explicit notion of public options, which are shown in the editor options dialog;
 wenzelm parents: 
52043diff
changeset | 306 | public option editor_tracing_messages : int = 1000 | 
| 69103 
814a1ab42d70
unbounded tracing for proper termination, e.g. relevant for theory Sequents.Hard_Quantifiers;
 wenzelm parents: 
68661diff
changeset | 307 | -- "initial number of tracing messages for each command transaction (0: unbounded)" | 
| 50697 
82e9178e6a98
improved Monitor_Dockable, based on ML_Statistics operations;
 wenzelm parents: 
50505diff
changeset | 308 | |
| 52065 
78f2475aa126
explicit notion of public options, which are shown in the editor options dialog;
 wenzelm parents: 
52043diff
changeset | 309 | public option editor_chart_delay : real = 3.0 | 
| 50697 
82e9178e6a98
improved Monitor_Dockable, based on ML_Statistics operations;
 wenzelm parents: 
50505diff
changeset | 310 | -- "delay for chart repainting" | 
| 52702 | 311 | |
| 52807 
b859a180936b
simplified flag for continuous checking: avoid GUI complexity and slow checking of all theories (including prints);
 wenzelm parents: 
52798diff
changeset | 312 | public option editor_continuous_checking : bool = true | 
| 
b859a180936b
simplified flag for continuous checking: avoid GUI complexity and slow checking of all theories (including prints);
 wenzelm parents: 
52798diff
changeset | 313 | -- "continuous checking of proof document (visible and required parts)" | 
| 
b859a180936b
simplified flag for continuous checking: avoid GUI complexity and slow checking of all theories (including prints);
 wenzelm parents: 
52798diff
changeset | 314 | |
| 61604 | 315 | public option editor_output_state : bool = false | 
| 61213 | 316 | -- "implicit output of proof state" | 
| 317 | ||
| 81296 
59994f7feace
GUI option "editor_auto_hovering" for Output panel;
 wenzelm parents: 
81224diff
changeset | 318 | public option editor_auto_hovering : bool = true | 
| 
59994f7feace
GUI option "editor_auto_hovering" for Output panel;
 wenzelm parents: 
81224diff
changeset | 319 | -- "automatic mouse hovering without keyboard modifier" | 
| 
59994f7feace
GUI option "editor_auto_hovering" for Output panel;
 wenzelm parents: 
81224diff
changeset | 320 | |
| 76578 
06b001094ddb
more uniform session selectors, with persistent options;
 wenzelm parents: 
76474diff
changeset | 321 | public option editor_document_session : string = "" | 
| 
06b001094ddb
more uniform session selectors, with persistent options;
 wenzelm parents: 
76474diff
changeset | 322 | -- "session for interactive document preparation" | 
| 
06b001094ddb
more uniform session selectors, with persistent options;
 wenzelm parents: 
76474diff
changeset | 323 | |
| 77149 
3991a35cd740
automatically build document when selected theories are finished;
 wenzelm parents: 
76986diff
changeset | 324 | public option editor_document_auto : bool = false | 
| 
3991a35cd740
automatically build document when selected theories are finished;
 wenzelm parents: 
76986diff
changeset | 325 | -- "automatically build document when selected theories are finished" | 
| 
3991a35cd740
automatically build document when selected theories are finished;
 wenzelm parents: 
76986diff
changeset | 326 | |
| 
3991a35cd740
automatically build document when selected theories are finished;
 wenzelm parents: 
76986diff
changeset | 327 | public option editor_document_delay : real = 2.0 | 
| 
3991a35cd740
automatically build document when selected theories are finished;
 wenzelm parents: 
76986diff
changeset | 328 | -- "delay for document auto build" | 
| 
3991a35cd740
automatically build document when selected theories are finished;
 wenzelm parents: 
76986diff
changeset | 329 | |
| 52798 
9d3c9862d1dd
recovered delay for Document.start_execution (see also 627fb639a2d9), which potentially improves throughput when many consecutive edits arrive;
 wenzelm parents: 
52779diff
changeset | 330 | option editor_execution_delay : real = 0.02 | 
| 
9d3c9862d1dd
recovered delay for Document.start_execution (see also 627fb639a2d9), which potentially improves throughput when many consecutive edits arrive;
 wenzelm parents: 
52779diff
changeset | 331 | -- "delay for start of execution process after document update (seconds)" | 
| 
9d3c9862d1dd
recovered delay for Document.start_execution (see also 627fb639a2d9), which potentially improves throughput when many consecutive edits arrive;
 wenzelm parents: 
52779diff
changeset | 332 | |
| 57974 | 333 | option editor_syslog_limit : int = 100 | 
| 334 | -- "maximum amount of buffered syslog messages" | |
| 335 | ||
| 52702 | 336 | |
| 69520 | 337 | section "Headless Session" | 
| 338 | ||
| 79067 
212c94edae2b
more reactive headless server, in contrast to 15656ad28691 (when "isabelle dump" was important to export AFP content);
 wenzelm parents: 
78914diff
changeset | 339 | option headless_consolidate_delay : real = 2.0 | 
| 70787 | 340 | -- "delay to consolidate status of command evaluation (execution forks)" | 
| 341 | ||
| 79067 
212c94edae2b
more reactive headless server, in contrast to 15656ad28691 (when "isabelle dump" was important to export AFP content);
 wenzelm parents: 
78914diff
changeset | 342 | option headless_prune_delay : real = 30 | 
| 70787 | 343 | -- "delay to prune history (delete old versions)" | 
| 344 | ||
| 69520 | 345 | option headless_check_delay : real = 0.5 | 
| 346 | -- "delay for theory status check during PIDE processing (seconds)" | |
| 347 | ||
| 348 | option headless_check_limit : int = 0 | |
| 349 | -- "maximum number of theory status checks (0 = unlimited)" | |
| 350 | ||
| 351 | option headless_nodes_status_delay : real = -1 | |
| 352 | -- "delay for overall nodes status check during PIDE processing (seconds, disabled for < 0)" | |
| 353 | ||
| 354 | option headless_watchdog_timeout : real = 600 | |
| 355 | -- "watchdog timeout for PIDE processing of broken theories (seconds, 0 = disabled)" | |
| 356 | ||
| 357 | option headless_commit_cleanup_delay : real = 60 | |
| 358 | -- "delay for cleanup of already imported theories (seconds, 0 = disabled)" | |
| 359 | ||
| 70801 | 360 | option headless_load_limit : real = 5.0 | 
| 77709 | 361 | -- "limit in MiB for loaded theory files (0 = unlimited)" | 
| 70772 
030a6baa5cb2
support headless_load_limit for more scalable load process;
 wenzelm parents: 
70634diff
changeset | 362 | |
| 69520 | 363 | |
| 52702 | 364 | section "Miscellaneous Tools" | 
| 365 | ||
| 366 | public option find_theorems_limit : int = 40 | |
| 367 | -- "limit of displayed results" | |
| 368 | ||
| 56613 | 369 | public option find_theorems_tactic_limit : int = 5 | 
| 52702 | 370 | -- "limit of tactic search for 'solves' criterion" | 
| 371 | ||
| 55672 
5e25cc741ab9
support for completion within the formal context;
 wenzelm parents: 
53189diff
changeset | 372 | |
| 
5e25cc741ab9
support for completion within the formal context;
 wenzelm parents: 
53189diff
changeset | 373 | section "Completion" | 
| 
5e25cc741ab9
support for completion within the formal context;
 wenzelm parents: 
53189diff
changeset | 374 | |
| 
5e25cc741ab9
support for completion within the formal context;
 wenzelm parents: 
53189diff
changeset | 375 | public option completion_limit : int = 40 | 
| 
5e25cc741ab9
support for completion within the formal context;
 wenzelm parents: 
53189diff
changeset | 376 | -- "limit for completion within the formal context" | 
| 64130 | 377 | |
| 66158 | 378 | public option completion_path_ignore : string = "*~:*.marks:*.orig:*.rej:.DS_Store" | 
| 379 | -- "glob patterns to ignore in file-system path completion (separated by colons)" | |
| 380 | ||
| 64130 | 381 | |
| 65141 | 382 | section "Spell Checker" | 
| 383 | ||
| 77606 | 384 | public option spell_checker : bool = true | 
| 65141 | 385 | -- "enable spell-checker for prose words within document text, comments etc." | 
| 386 | ||
| 77606 | 387 | public option spell_checker_dictionary : string = "en" | 
| 65141 | 388 | -- "spell-checker dictionary name" | 
| 389 | ||
| 77606 | 390 | public option spell_checker_include : string = "words,comment,comment1,comment2,comment3,ML_comment,SML_comment" | 
| 67395 
b39d596b77ce
more accurate spell-checking for nested quotations / antiquotations, notably in formal comments;
 wenzelm parents: 
67273diff
changeset | 391 | -- "included markup elements for spell-checker (separated by commas)" | 
| 
b39d596b77ce
more accurate spell-checking for nested quotations / antiquotations, notably in formal comments;
 wenzelm parents: 
67273diff
changeset | 392 | |
| 77606 | 393 | public option spell_checker_exclude : string = "document_marker,antiquoted,raw_text" | 
| 67395 
b39d596b77ce
more accurate spell-checking for nested quotations / antiquotations, notably in formal comments;
 wenzelm parents: 
67273diff
changeset | 394 | -- "excluded markup elements for spell-checker (separated by commas)" | 
| 65141 | 395 | |
| 396 | ||
| 76190 | 397 | section "Secure Shell (OpenSSH)" | 
| 64130 | 398 | |
| 76190 | 399 | public option ssh_batch_mode : bool = true | 
| 76168 | 400 | -- "enable SSH batch mode (no user interaction)" | 
| 401 | ||
| 76190 | 402 | public option ssh_multiplexing : bool = true | 
| 76148 
769ebb139a32
support port forwarding without multiplexing (for the sake of Windows);
 wenzelm parents: 
76126diff
changeset | 403 | -- "enable multiplexing of SSH sessions (ignored on Windows)" | 
| 
769ebb139a32
support port forwarding without multiplexing (for the sake of Windows);
 wenzelm parents: 
76126diff
changeset | 404 | |
| 76190 | 405 | public option ssh_compression : bool = true | 
| 64130 | 406 | -- "enable SSH compression" | 
| 407 | ||
| 76190 | 408 | public option ssh_alive_interval : real = 30 | 
| 76167 | 409 | -- "time interval to keep SSH server connection alive (seconds, ignore value < 0)" | 
| 65595 | 410 | |
| 76190 | 411 | public option ssh_alive_count_max : int = 3 | 
| 76167 | 412 | -- "maximum number of messages to keep SSH server connection alive (ignore value < 0)" | 
| 67273 
c573cfb2c407
more robust connection: prefer ServerAliveCountMax=3 (ssh default) instead of 1 (jsch default);
 wenzelm parents: 
67194diff
changeset | 413 | |
| 65595 | 414 | |
| 80459 | 415 | section "Phabricator / Phorge" | 
| 71422 
5d5be87330b5
allow to override repository versions at runtime;
 wenzelm parents: 
71068diff
changeset | 416 | |
| 81715 | 417 | option phabricator_version_arcanist : string = "04e3e250f7da6a55c908d373a0df9949eeea6d7b" | 
| 71422 
5d5be87330b5
allow to override repository versions at runtime;
 wenzelm parents: 
71068diff
changeset | 418 | -- "repository version for arcanist" | 
| 
5d5be87330b5
allow to override repository versions at runtime;
 wenzelm parents: 
71068diff
changeset | 419 | |
| 81715 | 420 | option phabricator_version_phabricator : string = "b02615bd5027ee51ac68d48a0a64306b75285789" | 
| 71422 
5d5be87330b5
allow to override repository versions at runtime;
 wenzelm parents: 
71068diff
changeset | 421 | -- "repository version for phabricator" | 
| 
5d5be87330b5
allow to override repository versions at runtime;
 wenzelm parents: 
71068diff
changeset | 422 | |
| 
5d5be87330b5
allow to override repository versions at runtime;
 wenzelm parents: 
71068diff
changeset | 423 | |
| 68221 | 424 | section "Theory Export" | 
| 68154 | 425 | |
| 77603 | 426 | option export_theory : bool = false for content | 
| 70396 | 427 | -- "export theory content to Isabelle/Scala" | 
| 428 | ||
| 77603 | 429 | option export_standard_proofs : bool = false for content | 
| 70914 
05c4c6a99b3f
option to export standardized proof terms (not scalable);
 wenzelm parents: 
70801diff
changeset | 430 | -- "export standardized proof terms to Isabelle/Scala (not scalable)" | 
| 
05c4c6a99b3f
option to export standardized proof terms (not scalable);
 wenzelm parents: 
70801diff
changeset | 431 | |
| 77603 | 432 | option export_proofs : bool = false for content | 
| 70396 | 433 | -- "export proof terms to Isabelle/Scala" | 
| 434 | ||
| 77603 | 435 | option prune_proofs : bool = false for content | 
| 70396 | 436 | -- "prune proof terms after export (do not store in Isabelle/ML)" | 
| 68154 | 437 | |
| 438 | ||
| 69586 
9171d1ce5a35
support for "isabelle update -u mixfix_cartouches";
 wenzelm parents: 
69572diff
changeset | 439 | section "Theory update" | 
| 
9171d1ce5a35
support for "isabelle update -u mixfix_cartouches";
 wenzelm parents: 
69572diff
changeset | 440 | |
| 77603 | 441 | option update_inner_syntax_cartouches : bool = false for content update | 
| 69589 
e15f053a42d8
support for isabelle update -u inner_syntax_cartouches;
 wenzelm parents: 
69586diff
changeset | 442 | -- "update inner syntax (types, terms, etc.) to use cartouches" | 
| 
e15f053a42d8
support for isabelle update -u inner_syntax_cartouches;
 wenzelm parents: 
69586diff
changeset | 443 | |
| 77603 | 444 | option update_mixfix_cartouches : bool = false for content update | 
| 69586 
9171d1ce5a35
support for "isabelle update -u mixfix_cartouches";
 wenzelm parents: 
69572diff
changeset | 445 | -- "update mixfix templates to use cartouches instead of double quotes" | 
| 
9171d1ce5a35
support for "isabelle update -u mixfix_cartouches";
 wenzelm parents: 
69572diff
changeset | 446 | |
| 77603 | 447 | option update_control_cartouches : bool = false for content update | 
| 69592 
a80d8ec6c998
support for isabelle update -u control_cartouches;
 wenzelm parents: 
69589diff
changeset | 448 | -- "update antiquotations to use control symbol with cartouche argument" | 
| 
a80d8ec6c998
support for isabelle update -u control_cartouches;
 wenzelm parents: 
69589diff
changeset | 449 | |
| 77603 | 450 | option update_path_cartouches : bool = false for content update | 
| 69603 | 451 | -- "update file-system paths to use cartouches" | 
| 452 | ||
| 77603 | 453 | option update_cite : bool = false for content update | 
| 76972 | 454 | -- "update cite commands and antiquotations" | 
| 455 | ||
| 69586 
9171d1ce5a35
support for "isabelle update -u mixfix_cartouches";
 wenzelm parents: 
69572diff
changeset | 456 | |
| 68221 | 457 | section "Build Database" | 
| 458 | ||
| 79526 
6e5397fcc41b
add build_sync tag to sync certain options (e.g., build_engine) across build processes;
 Fabian Huch <huch@in.tum.de> parents: 
79487diff
changeset | 459 | option build_database_server : bool = false for connection build_sync | 
| 77603 | 460 | option build_database_user : string = "" for connection | 
| 461 | option build_database_password : string = "" for connection | |
| 462 | option build_database_name : string = "" for connection | |
| 463 | option build_database_host : string = "" for connection | |
| 464 | option build_database_port : int = 0 for connection | |
| 465 | option build_database_ssh_host : string = "" for connection | |
| 466 | option build_database_ssh_user : string = "" for connection | |
| 467 | option build_database_ssh_port : int = 0 for connection | |
| 68221 | 468 | |
| 469 | ||
| 65595 | 470 | section "Build Log Database" | 
| 471 | ||
| 77603 | 472 | option build_log_database_user : string = "" for connection | 
| 473 | option build_log_database_password : string = "" for connection | |
| 474 | option build_log_database_name : string = "" for connection | |
| 475 | option build_log_database_host : string = "" for connection | |
| 476 | option build_log_database_port : int = 0 for connection | |
| 477 | option build_log_ssh_host : string = "" for connection | |
| 478 | option build_log_ssh_user : string = "" for connection | |
| 479 | option build_log_ssh_port : int = 0 for connection | |
| 79813 | 480 | |
| 481 | option build_log_history : int = 30 | |
| 482 | -- "length of relevant history (in days)" | |
| 69572 
09a6a7c04b45
more robust system channel via options that are private to the user;
 wenzelm parents: 
69520diff
changeset | 483 | |
| 79814 | 484 | option build_log_verbose : bool = false for build_sync | 
| 485 | -- "extra verbosity for build log database" | |
| 486 | ||
| 69572 
09a6a7c04b45
more robust system channel via options that are private to the user;
 wenzelm parents: 
69520diff
changeset | 487 | |
| 80246 | 488 | section "Build Manager SSH" | 
| 489 | ||
| 490 | option build_manager_ssh_host : string = "build.proof.cit.tum.de" for connection | |
| 82042 | 491 | option build_manager_ssh_port : int = 0 for connection | 
| 80246 | 492 | option build_manager_ssh_user : string = "" for connection | 
| 493 | -- "ssh user to access build manager system" | |
| 80252 
96543177ab7e
build manager: manage directories/permissions, to minimize local administration;
 Fabian Huch <huch@in.tum.de> parents: 
80246diff
changeset | 494 | |
| 82040 
0dc7b3253aaa
clarified options: extra ssh connection to cluster of build_manager;
 Fabian Huch <huch@in.tum.de> parents: 
81820diff
changeset | 495 | option build_manager_cluster_ssh_host : string = "localhost" for connection | 
| 
0dc7b3253aaa
clarified options: extra ssh connection to cluster of build_manager;
 Fabian Huch <huch@in.tum.de> parents: 
81820diff
changeset | 496 | option build_manager_cluster_ssh_user : string = "" for connection | 
| 
0dc7b3253aaa
clarified options: extra ssh connection to cluster of build_manager;
 Fabian Huch <huch@in.tum.de> parents: 
81820diff
changeset | 497 | option build_manager_cluster_ssh_port : int = 0 for connection | 
| 
0dc7b3253aaa
clarified options: extra ssh connection to cluster of build_manager;
 Fabian Huch <huch@in.tum.de> parents: 
81820diff
changeset | 498 | |
| 80246 | 499 | |
| 500 | section "Build Manager Database" | |
| 501 | ||
| 502 | option build_manager_database_user : string = "isabelle" for connection | |
| 503 | option build_manager_database_password : string = "" for connection | |
| 504 | option build_manager_database_name : string = "isabelle_build_manager" for connection | |
| 505 | option build_manager_database_host : string = "localhost" for connection | |
| 506 | option build_manager_database_port : int = 5432 for connection | |
| 507 | option build_manager_database_ssh_host : string = "" for connection | |
| 508 | option build_manager_database_ssh_user : string = "" for connection | |
| 509 | option build_manager_database_ssh_port : int = 0 for connection | |
| 510 | ||
| 511 | ||
| 69572 
09a6a7c04b45
more robust system channel via options that are private to the user;
 wenzelm parents: 
69520diff
changeset | 512 | section "Isabelle/Scala/ML system channel" | 
| 
09a6a7c04b45
more robust system channel via options that are private to the user;
 wenzelm parents: 
69520diff
changeset | 513 | |
| 77603 | 514 | option system_channel_address : string = "" for connection | 
| 515 | option system_channel_password : string = "" for connection | |
| 74147 
d030b988d470
provide bash_process server for Isabelle/ML and other external programs;
 wenzelm parents: 
74138diff
changeset | 516 | |
| 
d030b988d470
provide bash_process server for Isabelle/ML and other external programs;
 wenzelm parents: 
74138diff
changeset | 517 | |
| 
d030b988d470
provide bash_process server for Isabelle/ML and other external programs;
 wenzelm parents: 
74138diff
changeset | 518 | section "Bash process execution server" | 
| 
d030b988d470
provide bash_process server for Isabelle/ML and other external programs;
 wenzelm parents: 
74138diff
changeset | 519 | |
| 77603 | 520 | option bash_process_debugging : bool = false for connection | 
| 521 | option bash_process_address : string = "" for connection | |
| 522 | option bash_process_password : string = "" for connection | |
| 78821 
4c5aadf1cb48
prefer Isabelle options for CI mail settings over ci.properties;
 Fabian Huch <huch@in.tum.de> parents: 
78511diff
changeset | 523 | |
| 
4c5aadf1cb48
prefer Isabelle options for CI mail settings over ci.properties;
 Fabian Huch <huch@in.tum.de> parents: 
78511diff
changeset | 524 | |
| 
4c5aadf1cb48
prefer Isabelle options for CI mail settings over ci.properties;
 Fabian Huch <huch@in.tum.de> parents: 
78511diff
changeset | 525 | section "Continuous integration" | 
| 
4c5aadf1cb48
prefer Isabelle options for CI mail settings over ci.properties;
 Fabian Huch <huch@in.tum.de> parents: 
78511diff
changeset | 526 | |
| 
4c5aadf1cb48
prefer Isabelle options for CI mail settings over ci.properties;
 Fabian Huch <huch@in.tum.de> parents: 
78511diff
changeset | 527 | option ci_mail_user : string = "" for connection | 
| 
4c5aadf1cb48
prefer Isabelle options for CI mail settings over ci.properties;
 Fabian Huch <huch@in.tum.de> parents: 
78511diff
changeset | 528 | option ci_mail_password : string = "" for connection | 
| 81288 | 529 | option ci_mail_sender : string = "ci@proof.cit.tum.de" for connection | 
| 530 | option ci_mail_smtp_host : string = "mail.cit.tum.de" for connection | |
| 531 | option ci_mail_smtp_port : int = 465 for connection | |
| 80411 
a9fce67fb8b2
overhauled ci_build: clarified, removed unused, removed implicit Jenkins assumptions;
 Fabian Huch <huch@in.tum.de> parents: 
80406diff
changeset | 532 | |
| 81224 | 533 | option ci_mail_from : string = "ci@proof.cit.tum.de" | 
| 80411 
a9fce67fb8b2
overhauled ci_build: clarified, removed unused, removed implicit Jenkins assumptions;
 Fabian Huch <huch@in.tum.de> parents: 
80406diff
changeset | 534 | -- "mail address for build failure notifications" | 
| 81224 | 535 | |
| 81288 | 536 | option ci_mail_to : string = "isabelle-ci@mailman46.in.tum.de" | 
| 80411 
a9fce67fb8b2
overhauled ci_build: clarified, removed unused, removed implicit Jenkins assumptions;
 Fabian Huch <huch@in.tum.de> parents: 
80406diff
changeset | 537 | -- "recipient address for build failure notifications" |