src/Pure/Admin/components.scala
changeset 73090 9db6072eb711
parent 72763 3cc73d00553c
child 73172 fc828f64da5b
equal deleted inserted replaced
73089:af54129abd9e 73090:9db6072eb711
    76   }
    76   }
    77 
    77 
    78   def purge(dir: Path, platform: Platform.Family.Value)
    78   def purge(dir: Path, platform: Platform.Family.Value)
    79   {
    79   {
    80     def purge_platforms(platforms: String*): Set[String] =
    80     def purge_platforms(platforms: String*): Set[String] =
    81       platforms.flatMap(name => List("x86-" + name, "x86_64_32-" + name, "x86_64-" + name)).toSet +
    81       platforms.flatMap(name =>
       
    82         List("arm64-" + name, "x86-" + name, "x86_64_32-" + name, "x86_64-" + name)).toSet +
    82       "ppc-darwin" + "arm64-linux"
    83       "ppc-darwin" + "arm64-linux"
    83     val purge_set =
    84     val purge_set =
    84       platform match {
    85       platform match {
    85         case Platform.Family.linux => purge_platforms("darwin", "cygwin", "windows")
    86         case Platform.Family.linux => purge_platforms("darwin", "cygwin", "windows")
    86         case Platform.Family.macos => purge_platforms("linux", "cygwin", "windows")
    87         case Platform.Family.macos => purge_platforms("linux", "cygwin", "windows")