more robust batch-build;
authorwenzelm
Sat, 05 Dec 2020 15:27:55 +0100
changeset 72825 a44c30d08bb0
parent 72824 eb526f6c92b7
child 72826 fa5d8f486380
more robust batch-build;
src/Pure/ML/ml_compiler.ML
--- a/src/Pure/ML/ml_compiler.ML	Sat Dec 05 14:36:41 2020 +0100
+++ b/src/Pure/ML/ml_compiler.ML	Sat Dec 05 15:27:55 2020 +0100
@@ -117,7 +117,8 @@
       |> map (fn (pos, markup, text) => Position.reported_text pos (markup ()) (text ()))
       |> Output.report;
     val _ =
-      if not (null persistent_reports) andalso redirect andalso Future.enabled ()
+      if not (null persistent_reports) andalso redirect andalso
+        not (Options.default_bool "build_pide_reports") andalso Future.enabled ()
       then
         Execution.print
           {name = "ML_Compiler.report", pos = Position.thread_data (), pri = Task_Queue.urgent_pri}