src/Pure/Admin/isabelle_cronjob.scala
changeset 69253 8bfa615ddde4
parent 69245 3e9f812c308c
child 69304 1f4afcde3334
equal deleted inserted replaced
69249:27423819534c 69253:8bfa615ddde4
   157     proxy_port: Int = 0,
   157     proxy_port: Int = 0,
   158     self_update: Boolean = false,
   158     self_update: Boolean = false,
   159     historic: Boolean = false,
   159     historic: Boolean = false,
   160     history: Int = 0,
   160     history: Int = 0,
   161     history_base: String = "build_history_base",
   161     history_base: String = "build_history_base",
   162     ghc_setup: Boolean = false,
       
   163     ocaml_setup: Boolean = false,
       
   164     options: String = "",
   162     options: String = "",
   165     args: String = "",
   163     args: String = "",
   166     afp: Boolean = false,
   164     afp: Boolean = false,
   167     slow: Boolean = false,
   165     slow: Boolean = false,
   168     more_hosts: List[String] = Nil,
   166     more_hosts: List[String] = Nil,
   286       List(
   284       List(
   287         Remote_Build("Mac OS X 10.12 Sierra", "macbroy30", options = "-m32 -M2", args = "-a",
   285         Remote_Build("Mac OS X 10.12 Sierra", "macbroy30", options = "-m32 -M2", args = "-a",
   288           detect = Build_Log.Prop.build_start + " > date '2017-03-03'")),
   286           detect = Build_Log.Prop.build_start + " > date '2017-03-03'")),
   289       List(Remote_Build("Mac OS X 10.10 Yosemite", "macbroy31", options = "-m32 -M2", args = "-a")),
   287       List(Remote_Build("Mac OS X 10.10 Yosemite", "macbroy31", options = "-m32 -M2", args = "-a")),
   290       List(Remote_Build("Mac OS X 10.14 Mojave", "lapnipkow3", self_update = true,
   288       List(Remote_Build("Mac OS X 10.14 Mojave", "lapnipkow3", self_update = true,
   291         ghc_setup = true, ocaml_setup = true,
   289         options = "-m32 -M1,2 -e ISABELLE_GHC_SETUP=true -e ISABELLE_OCAML_SETUP=true",
   292         options = "-m32 -M1,2", args = "-a -d '~~/src/Benchmarks'")),
   290         args = "-a -d '~~/src/Benchmarks'")),
   293       List(
   291       List(
   294         Remote_Build("Windows", "vmnipkow9", historic = true, history = 90, self_update = true,
   292         Remote_Build("Windows", "vmnipkow9", historic = true, history = 90, self_update = true,
   295           options = "-m32 -M4" +
   293           options = "-m32 -M4" +
   296             " -e ISABELLE_OCAML=ocaml -e ISABELLE_OCAMLC=ocamlc" +
   294             " -e ISABELLE_OCAML=ocaml -e ISABELLE_OCAMLC=ocamlc" +
   297             " -e ISABELLE_GHC=/usr/local/ghc-8.0.2/bin/ghc" +
   295             " -e ISABELLE_GHC=/usr/local/ghc-8.0.2/bin/ghc" +
   348                 isabelle_repos.ext(r.host),
   346                 isabelle_repos.ext(r.host),
   349                 isabelle_identifier = "cronjob_build_history",
   347                 isabelle_identifier = "cronjob_build_history",
   350                 self_update = r.self_update,
   348                 self_update = r.self_update,
   351                 rev = rev,
   349                 rev = rev,
   352                 afp_rev = afp_rev,
   350                 afp_rev = afp_rev,
   353                 ghc_setup = r.ghc_setup,
       
   354                 ocaml_setup = r.ocaml_setup,
       
   355                 options =
   351                 options =
   356                   " -N " + Bash.string(task_name) + (if (i < 0) "" else "_" + (i + 1).toString) +
   352                   " -N " + Bash.string(task_name) + (if (i < 0) "" else "_" + (i + 1).toString) +
   357                   " -f " + r.options,
   353                   " -f " + r.options,
   358                 args = "-o timeout=10800 " + r.args)
   354                 args = "-o timeout=10800 " + r.args)
   359 
   355