src/Pure/Admin/build_polyml.scala
changeset 72763 3cc73d00553c
parent 72474 0a868098fcc0
child 73317 df49ca5da9d0
equal deleted inserted replaced
72762:d9a54c4c9da9 72763:3cc73d00553c
   202 
   202 
   203 
   203 
   204   /** Isabelle tool wrappers **/
   204   /** Isabelle tool wrappers **/
   205 
   205 
   206   val isabelle_tool1 =
   206   val isabelle_tool1 =
   207     Isabelle_Tool("build_polyml", "build Poly/ML from sources", args =>
   207     Isabelle_Tool("build_polyml", "build Poly/ML from sources", Scala_Project.here, args =>
   208     {
   208     {
   209       var mingw = MinGW.none
   209       var mingw = MinGW.none
   210       var arch_64 = Isabelle_Platform.self.is_arm
   210       var arch_64 = Isabelle_Platform.self.is_arm
   211       var sha1_root: Option[Path] = None
   211       var sha1_root: Option[Path] = None
   212 
   212 
   240       build_polyml(root, sha1_root = sha1_root, progress = new Console_Progress,
   240       build_polyml(root, sha1_root = sha1_root, progress = new Console_Progress,
   241         arch_64 = arch_64, options = options, mingw = mingw)
   241         arch_64 = arch_64, options = options, mingw = mingw)
   242     })
   242     })
   243 
   243 
   244   val isabelle_tool2 =
   244   val isabelle_tool2 =
   245     Isabelle_Tool("build_polyml_component", "make skeleton for Poly/ML component", args =>
   245     Isabelle_Tool("build_polyml_component", "make skeleton for Poly/ML component",
       
   246       Scala_Project.here, args =>
   246     {
   247     {
   247       var sha1_root: Option[Path] = None
   248       var sha1_root: Option[Path] = None
   248 
   249 
   249       val getopts = Getopts("""
   250       val getopts = Getopts("""
   250 Usage: isabelle build_polyml_component [OPTIONS] SOURCE_ARCHIVE COMPONENT_DIR
   251 Usage: isabelle build_polyml_component [OPTIONS] SOURCE_ARCHIVE COMPONENT_DIR