src/Pure/Admin/build_history.scala
changeset 71630 50425e4c3910
parent 71620 5a4ccef7f310
child 71632 c1bc38327bc2
equal deleted inserted replaced
71629:2e8f861d21d4 71630:50425e4c3910
   279               using(SQLite.open_database(database))(db =>
   279               using(SQLite.open_database(database))(db =>
   280               {
   280               {
   281                 val theory_timings =
   281                 val theory_timings =
   282                   try {
   282                   try {
   283                     store.read_theory_timings(db, session_name).map(ps =>
   283                     store.read_theory_timings(db, session_name).map(ps =>
   284                       Build_Log.Theory_Timing_Marker((Build_Log.SESSION_NAME, session_name) :: ps))
   284                       Protocol.Theory_Timing_Marker((Build_Log.SESSION_NAME, session_name) :: ps))
   285                   }
   285                   }
   286                   catch { case ERROR(_) => Nil }
   286                   catch { case ERROR(_) => Nil }
   287 
   287 
   288                 val session_sources =
   288                 val session_sources =
   289                   store.read_build(db, session_name).map(_.sources) match {
   289                   store.read_build(db, session_name).map(_.sources) match {
   353           })
   353           })
   354 
   354 
   355       build_out_progress.echo("Writing log file " + log_path.ext("xz") + " ...")
   355       build_out_progress.echo("Writing log file " + log_path.ext("xz") + " ...")
   356       File.write_xz(log_path.ext("xz"),
   356       File.write_xz(log_path.ext("xz"),
   357         terminate_lines(
   357         terminate_lines(
   358           Build_Log.Meta_Info_Marker(meta_info) :: build_result.out_lines :::
   358           Protocol.Meta_Info_Marker(meta_info) :: build_result.out_lines :::
   359           session_build_info :::
   359           session_build_info :::
   360           ml_statistics.map(Build_Log.ML_Statistics_Marker.apply) :::
   360           ml_statistics.map(Protocol.ML_Statistics_Marker.apply) :::
   361           session_errors.map(Build_Log.Error_Message_Marker.apply) :::
   361           session_errors.map(Protocol.Error_Message_Marker.apply) :::
   362           heap_sizes), XZ.options(6))
   362           heap_sizes), XZ.options(6))
   363 
   363 
   364 
   364 
   365       /* next build */
   365       /* next build */
   366 
   366