src/Pure/Tools/build.scala
changeset 65432 d938705819bb
parent 65431 4a3e6cda3b94
child 65441 9425e4d8bdb6
equal deleted inserted replaced
65431:4a3e6cda3b94 65432:d938705819bb
   195 
   195 
   196     private val future_result: Future[Process_Result] =
   196     private val future_result: Future[Process_Result] =
   197       Future.thread("build") {
   197       Future.thread("build") {
   198         val parent = info.parent.getOrElse("")
   198         val parent = info.parent.getOrElse("")
   199 
   199 
   200         val known_theories =
       
   201           for ((theory, node_name) <- deps(name).known_theories.toList)
       
   202             yield (theory, node_name.node)
       
   203 
       
   204         val args_yxml =
   200         val args_yxml =
   205           YXML.string_of_body(
   201           YXML.string_of_body(
   206             {
   202             {
   207               import XML.Encode._
   203               import XML.Encode._
   208               pair(list(pair(string, int)), pair(list(properties), pair(bool, pair(bool,
   204               pair(list(pair(string, int)), pair(list(properties), pair(bool, pair(bool,
   212                 list(pair(string, string))))))))))))))(
   208                 list(pair(string, string))))))))))))))(
   213               (Symbol.codes, (command_timings, (do_output, (verbose,
   209               (Symbol.codes, (command_timings, (do_output, (verbose,
   214                 (store.browser_info, (info.document_files, (File.standard_path(graph_file),
   210                 (store.browser_info, (info.document_files, (File.standard_path(graph_file),
   215                 (parent, (info.chapter, (name, (Path.current,
   211                 (parent, (info.chapter, (name, (Path.current,
   216                 (info.theories,
   212                 (info.theories,
   217                 known_theories)))))))))))))
   213                 deps(name).dest_known_theories)))))))))))))
   218             })
   214             })
   219 
   215 
   220         val env =
   216         val env =
   221           Isabelle_System.settings() +
   217           Isabelle_System.settings() +
   222             ("ISABELLE_ML_DEBUGGER" -> options.bool("ML_debugger").toString)
   218             ("ISABELLE_ML_DEBUGGER" -> options.bool("ML_debugger").toString)