138 user: String = "", |
138 user: String = "", |
139 port: Int = 0, |
139 port: Int = 0, |
140 historic: Boolean = false, |
140 historic: Boolean = false, |
141 history: Int = 0, |
141 history: Int = 0, |
142 history_base: String = "build_history_base", |
142 history_base: String = "build_history_base", |
|
143 components_base: String = Components.dynamic_components_base, |
143 clean_components: Boolean = false, |
144 clean_components: Boolean = false, |
144 java_heap: String = "", |
145 java_heap: String = "", |
145 options: String = "", |
146 options: String = "", |
146 args: String = "", |
147 args: String = "", |
147 afp: Boolean = false, |
148 afp: Boolean = false, |
348 Remote_Build("macOS 12 Monterey", "monterey", user = "makarius", |
349 Remote_Build("macOS 12 Monterey", "monterey", user = "makarius", |
349 options = "-m32 -M4 -e ISABELLE_GHC_SETUP=true -p pide_session=false", |
350 options = "-m32 -M4 -e ISABELLE_GHC_SETUP=true -p pide_session=false", |
350 args = "-a -d '~~/src/Benchmarks'")), |
351 args = "-a -d '~~/src/Benchmarks'")), |
351 List( |
352 List( |
352 Remote_Build("Windows", "vmnipkow9", historic = true, history = 90, |
353 Remote_Build("Windows", "vmnipkow9", historic = true, history = 90, |
|
354 components_base = "/cygdrive/d/isatest/contrib", |
353 options = "-m32 -M4" + |
355 options = "-m32 -M4" + |
354 " -C /cygdrive/d/isatest/contrib" + |
|
355 " -e ISABELLE_OCAML=ocaml -e ISABELLE_OCAMLC=ocamlc -e ISABELLE_OCAML_SETUP=true" + |
356 " -e ISABELLE_OCAML=ocaml -e ISABELLE_OCAMLC=ocamlc -e ISABELLE_OCAML_SETUP=true" + |
356 " -e ISABELLE_GHC_SETUP=true" + |
357 " -e ISABELLE_GHC_SETUP=true" + |
357 " -e ISABELLE_SMLNJ=/usr/local/smlnj-110.81/bin/sml", |
358 " -e ISABELLE_SMLNJ=/usr/local/smlnj-110.81/bin/sml", |
358 args = "-a", |
359 args = "-a", |
359 detect = |
360 detect = |
360 Build_Log.Settings.ML_PLATFORM.toString + " = " + SQL.string("x86-windows") + " OR " + |
361 Build_Log.Settings.ML_PLATFORM.toString + " = " + SQL.string("x86-windows") + " OR " + |
361 Build_Log.Settings.ML_PLATFORM + " = " + SQL.string("x86_64_32-windows")), |
362 Build_Log.Settings.ML_PLATFORM + " = " + SQL.string("x86_64_32-windows")), |
362 Remote_Build("Windows", "vmnipkow9", historic = true, history = 90, |
363 Remote_Build("Windows", "vmnipkow9", historic = true, history = 90, |
|
364 components_base = "/cygdrive/d/isatest/contrib", |
363 options = "-m64 -M4" + |
365 options = "-m64 -M4" + |
364 " -C /cygdrive/d/isatest/contrib" + |
366 " -C /cygdrive/d/isatest/contrib" + |
365 " -e ISABELLE_OCAML=ocaml -e ISABELLE_OCAMLC=ocamlc -e ISABELLE_OCAML_SETUP=true" + |
367 " -e ISABELLE_OCAML=ocaml -e ISABELLE_OCAMLC=ocamlc -e ISABELLE_OCAML_SETUP=true" + |
366 " -e ISABELLE_GHC_SETUP=true" + |
368 " -e ISABELLE_GHC_SETUP=true" + |
367 " -e ISABELLE_SMLNJ=/usr/local/smlnj-110.81/bin/sml", |
369 " -e ISABELLE_SMLNJ=/usr/local/smlnj-110.81/bin/sml", |
403 val results = |
405 val results = |
404 Build_History.remote_build(ssh, |
406 Build_History.remote_build(ssh, |
405 isabelle_repos, |
407 isabelle_repos, |
406 isabelle_repos.ext(r.host), |
408 isabelle_repos.ext(r.host), |
407 isabelle_identifier = "cronjob_build_history", |
409 isabelle_identifier = "cronjob_build_history", |
|
410 components_base = r.components_base, |
408 clean_platform = r.clean_components, |
411 clean_platform = r.clean_components, |
409 clean_archives = r.clean_components, |
412 clean_archives = r.clean_components, |
410 rev = rev, |
413 rev = rev, |
411 afp_repos = if (afp_rev.isDefined) Some(afp_repos) else None, |
414 afp_repos = if (afp_rev.isDefined) Some(afp_repos) else None, |
412 afp_rev = afp_rev.getOrElse(""), |
415 afp_rev = afp_rev.getOrElse(""), |
413 options = |
416 options = |
414 " -N " + Bash.string(task_name) + (if (i < 0) "" else "_" + (i + 1).toString) + |
417 " -N " + Bash.string(task_name) + (if (i < 0) "" else "_" + (i + 1).toString) + |
415 " -R " + Bash.string(Components.static_component_repository) + |
|
416 " -f " + r.build_history_options, |
418 " -f " + r.build_history_options, |
417 args = "-o timeout=10800 " + r.args) |
419 args = "-o timeout=10800 " + r.args) |
418 |
420 |
419 for ((log_name, bytes) <- results) { |
421 for ((log_name, bytes) <- results) { |
420 logger.log(Date.now(), log_name) |
422 logger.log(Date.now(), log_name) |