src/Pure/Admin/isabelle_cronjob.scala
changeset 64338 20c543b9fa80
parent 64332 76a3e0f894fd
child 64346 5f49765a25ec
equal deleted inserted replaced
64337:e3b57c8046cb 64338:20c543b9fa80
    97     host: String,
    97     host: String,
    98     user: String = "",
    98     user: String = "",
    99     port: Int = SSH.default_port,
    99     port: Int = SSH.default_port,
   100     shared_home: Boolean = true,
   100     shared_home: Boolean = true,
   101     options: String = "",
   101     options: String = "",
   102     args: String = "-o timeout=10800 -a")
   102     args: String = "-a")
   103 
   103 
   104   private val remote_builds =
   104   private val remote_builds =
   105     List(
   105     List(
   106       Remote_Build("lxbroy10", options = "-m32 -M4 -N"),
   106       Remote_Build("lxbroy10", options = "-m32 -B -M1x4,2,4,6 -N", args = "-g timing"),
   107       Remote_Build("macbroy2", options = "-m32 -M4"),
   107       Remote_Build("macbroy2", options = "-m32 -M4"),
   108       Remote_Build("macbroy30", options = "-m32 -M2"),
   108       Remote_Build("macbroy30", options = "-m32 -M2"),
   109       Remote_Build("macbroy31", options = "-m32 -M2"),
   109       Remote_Build("macbroy31", options = "-m32 -M2"),
   110       Remote_Build("vmnipkow9", options = "-m32 -M4", shared_home = false))
   110       Remote_Build("vmnipkow9", options = "-m32 -M4", shared_home = false))
   111 
   111 
   123                   isabelle_repos.ext(r.host),
   123                   isabelle_repos.ext(r.host),
   124                   isabelle_repos_source = isabelle_dev_source,
   124                   isabelle_repos_source = isabelle_dev_source,
   125                   self_update = !r.shared_home,
   125                   self_update = !r.shared_home,
   126                   options =
   126                   options =
   127                     r.options + " -f -r " + Bash.string(rev) + " -N " + Bash.string(task_name),
   127                     r.options + " -f -r " + Bash.string(rev) + " -N " + Bash.string(task_name),
   128                   args = r.args)
   128                   args = "-o timeout=10800 " + r.args)
   129               for ((log, bytes) <- results)
   129               for ((log, bytes) <- results)
   130                 Bytes.write(logger.log_dir + Path.explode(log), bytes)
   130                 Bytes.write(logger.log_dir + Path.explode(log), bytes)
   131             })
   131             })
   132       })
   132       })
   133   }
   133   }