src/Pure/Admin/build_vampire.scala
changeset 75394 42267c650205
parent 75393 87ebf5a50283
child 76518 b30b8e23383c
equal deleted inserted replaced
75393:87ebf5a50283 75394:42267c650205
    25     progress: Progress = new Progress,
    25     progress: Progress = new Progress,
    26     target_dir: Path = Path.current
    26     target_dir: Path = Path.current
    27   ): Unit = {
    27   ): Unit = {
    28     Isabelle_System.require_command("cmake")
    28     Isabelle_System.require_command("cmake")
    29 
    29 
    30     Isabelle_System.with_tmp_dir("build")(tmp_dir => {
    30     Isabelle_System.with_tmp_dir("build") { tmp_dir =>
    31       /* component */
    31       /* component */
    32 
    32 
    33       val Archive_Name = """^.*?([^/]+)$""".r
    33       val Archive_Name = """^.*?([^/]+)$""".r
    34       val Version = """^v?([0-9.]+)\.tar.gz$""".r
    34       val Version = """^v?([0-9.]+)\.tar.gz$""".r
    35 
    35 
   116 The executables have been built via "cmake . && make"
   116 The executables have been built via "cmake . && make"
   117 
   117 
   118 
   118 
   119         Makarius
   119         Makarius
   120         """ + Date.Format.date(Date.now()) + "\n")
   120         """ + Date.Format.date(Date.now()) + "\n")
   121     })
   121     }
   122   }
   122   }
   123 
   123 
   124 
   124 
   125   /* Isabelle tool wrapper */
   125   /* Isabelle tool wrapper */
   126 
   126 
   127   val isabelle_tool =
   127   val isabelle_tool =
   128     Isabelle_Tool("build_vampire", "build prover component from official download",
   128     Isabelle_Tool("build_vampire", "build prover component from official download",
   129     Scala_Project.here, args => {
   129     Scala_Project.here,
       
   130     { args =>
   130       var target_dir = Path.current
   131       var target_dir = Path.current
   131       var download_url = default_download_url
   132       var download_url = default_download_url
   132       var jobs = default_jobs
   133       var jobs = default_jobs
   133       var component_name = ""
   134       var component_name = ""
   134       var verbose = false
   135       var verbose = false