equal
deleted
inserted
replaced
920 |
920 |
921 /* previous results via build log */ |
921 /* previous results via build log */ |
922 |
922 |
923 private val timing_data: Timing_Data = { |
923 private val timing_data: Timing_Data = { |
924 val cluster_hosts: List[Build_Cluster.Host] = |
924 val cluster_hosts: List[Build_Cluster.Host] = |
925 if (build_context.max_jobs == 0) build_context.build_hosts |
925 if (build_context.jobs == 0) build_context.build_hosts |
926 else { |
926 else { |
927 val local_build_host = |
927 val local_build_host = |
928 Build_Cluster.Host( |
928 Build_Cluster.Host( |
929 hostname, jobs = build_context.max_jobs, numa = build_context.numa_shuffling) |
929 hostname, jobs = build_context.jobs, numa = build_context.numa_shuffling) |
930 local_build_host :: build_context.build_hosts |
930 local_build_host :: build_context.build_hosts |
931 } |
931 } |
932 |
932 |
933 val host_infos = Host_Infos.load(cluster_hosts, _host_database) |
933 val host_infos = Host_Infos.load(cluster_hosts, _host_database) |
934 Timing_Data.load(host_infos, _log_database) |
934 Timing_Data.load(host_infos, _log_database) |
1035 } |
1035 } |
1036 |
1036 |
1037 override def run(): Build.Results = { |
1037 override def run(): Build.Results = { |
1038 Benchmark.benchmark_requirements(build_options) |
1038 Benchmark.benchmark_requirements(build_options) |
1039 |
1039 |
1040 if (build_context.max_jobs > 0) { |
1040 if (build_context.jobs > 0) { |
1041 val benchmark_options = build_options.string("build_hostname") = hostname |
1041 val benchmark_options = build_options.string("build_hostname") = hostname |
1042 Benchmark.benchmark(benchmark_options, progress) |
1042 Benchmark.benchmark(benchmark_options, progress) |
1043 } |
1043 } |
1044 _build_cluster.benchmark() |
1044 _build_cluster.benchmark() |
1045 |
1045 |
1304 inlined_files = true).check_errors |
1304 inlined_files = true).check_errors |
1305 |
1305 |
1306 val build_context = |
1306 val build_context = |
1307 Build.Context(store, build_engine, build_deps, afp_root = afp_root, |
1307 Build.Context(store, build_engine, build_deps, afp_root = afp_root, |
1308 build_hosts = build_hosts, hostname = Build.hostname(build_options), |
1308 build_hosts = build_hosts, hostname = Build.hostname(build_options), |
1309 numa_shuffling = numa_shuffling, max_jobs = 0, session_setup = session_setup, |
1309 numa_shuffling = numa_shuffling, max_jobs = Some(0), session_setup = session_setup, |
1310 master = true) |
1310 master = true) |
1311 |
1311 |
1312 val cluster_hosts = build_context.build_hosts |
1312 val cluster_hosts = build_context.build_hosts |
1313 |
1313 |
1314 val hosts_current = |
1314 val hosts_current = |