equal
deleted
inserted
replaced
192 |
192 |
193 val log_path = |
193 val log_path = |
194 other_isabelle.isabelle_home_user + |
194 other_isabelle.isabelle_home_user + |
195 Build_Log.log_subdir(build_history_date) + |
195 Build_Log.log_subdir(build_history_date) + |
196 Build_Log.log_filename( |
196 Build_Log.log_filename( |
197 BUILD_HISTORY, build_history_date, build_host, ml_platform, "M" + threads).ext("gz") |
197 BUILD_HISTORY, build_history_date, build_host, ml_platform, "M" + threads) |
198 |
198 |
199 val build_info = Build_Log.Log_File(log_path.base.implode, res.out_lines).parse_build_info() |
199 val build_info = Build_Log.Log_File(log_path.base.implode, res.out_lines).parse_build_info() |
200 |
200 |
201 val meta_info = |
201 val meta_info = |
202 List(Build_Log.Field.build_engine -> BUILD_HISTORY, |
202 List(Build_Log.Field.build_engine -> BUILD_HISTORY, |
224 Some("Heap " + session_name + " (" + Value.Long(heap.file.length) + " bytes)") |
224 Some("Heap " + session_name + " (" + Value.Long(heap.file.length) + " bytes)") |
225 else None |
225 else None |
226 }) |
226 }) |
227 |
227 |
228 Isabelle_System.mkdirs(log_path.dir) |
228 Isabelle_System.mkdirs(log_path.dir) |
229 File.write_gzip(log_path, |
229 File.write_xz(log_path.ext("xz"), |
230 terminate_lines( |
230 terminate_lines( |
231 Build_Log.Log_File.print_props(META_INFO_MARKER, meta_info) :: res.out_lines ::: |
231 Build_Log.Log_File.print_props(META_INFO_MARKER, meta_info) :: res.out_lines ::: |
232 ml_statistics.map(Build_Log.Log_File.print_props(Build_Log.ML_STATISTICS_MARKER, _)) ::: |
232 ml_statistics.map(Build_Log.Log_File.print_props(Build_Log.ML_STATISTICS_MARKER, _)) ::: |
233 heap_sizes)) |
233 heap_sizes), XZ.options(6)) |
234 |
234 |
235 |
235 |
236 /* next build */ |
236 /* next build */ |
237 |
237 |
238 if (multicore_base && first_build && isabelle_output_log.is_dir) |
238 if (multicore_base && first_build && isabelle_output_log.is_dir) |