--- a/Admin/jenkins/build/ci_build_benchmark.scala Fri Sep 16 16:48:59 2016 +0200
+++ b/Admin/jenkins/build/ci_build_benchmark.scala Fri Sep 16 16:49:13 2016 +0200
@@ -3,6 +3,7 @@
import isabelle._
+ override def documents = false
def threads = 6
def jobs = 1
def include = Nil
--- a/src/Pure/Tools/ci_profile.scala Fri Sep 16 16:48:59 2016 +0200
+++ b/src/Pure/Tools/ci_profile.scala Fri Sep 16 16:49:13 2016 +0200
@@ -59,6 +59,17 @@
(Timing.zero /: timings)(_ + _)
}
+ private def with_documents(options: Options): Options =
+ {
+ if (documents)
+ options
+ .bool.update("browser_info", true)
+ .string.update("document", "pdf")
+ .string.update("document_variants", "document:outline=/proof,/ML")
+ else
+ options
+ }
+
final def hg_id(path: Path): String =
Isabelle_System.hg("id -i", path.file).out
@@ -80,10 +91,7 @@
System.getProperties().putAll(props)
val options =
- Options.init()
- .bool.update("browser_info", true)
- .string.update("document", "pdf")
- .string.update("document_variants", "document:outline=/proof,/ML")
+ with_documents(Options.init())
.int.update("parallel_proofs", 2)
.int.update("threads", threads)
@@ -127,6 +135,8 @@
/* profile */
+ def documents: Boolean = true
+
def threads: Int
def jobs: Int
def include: List[Path]