--- a/etc/options Thu Jun 18 09:07:54 2020 +0000
+++ b/etc/options Fri Jun 19 16:12:32 2020 +0200
@@ -153,6 +153,9 @@
option pide_session : bool = true
-- "build session heaps via PIDE"
+option pide_exports : bool = true
+ -- "store PIDE export artifacts"
+
option pide_reports : bool = true
-- "report PIDE markup"
--- a/src/Pure/PIDE/session.scala Thu Jun 18 09:07:54 2020 +0000
+++ b/src/Pure/PIDE/session.scala Fri Jun 19 16:12:32 2020 +0200
@@ -501,9 +501,11 @@
case Protocol.Export(args)
if args.id.isDefined && Value.Long.unapply(args.id.get).isDefined =>
- val id = Value.Long.unapply(args.id.get).get
- val export = Export.make_entry("", args, msg.bytes, cache = xz_cache)
- change_command(_.add_export(id, (args.serial, export)))
+ if (session_options.bool("pide_exports")) {
+ val id = Value.Long.unapply(args.id.get).get
+ val export = Export.make_entry("", args, msg.bytes, cache = xz_cache)
+ change_command(_.add_export(id, (args.serial, export)))
+ }
case List(Markup.Commands_Accepted.PROPERTY) =>
msg.text match {
--- a/src/Pure/Tools/build.scala Thu Jun 18 09:07:54 2020 +0000
+++ b/src/Pure/Tools/build.scala Fri Jun 19 16:12:32 2020 +0200
@@ -492,6 +492,7 @@
"ML_statistics" +
"completion_limit=0" +
"editor_tracing_messages=0" +
+ "pide_exports=false" +
"pide_reports=false"
val store = Sessions.store(build_options)