File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ def fromPath(name: String): String =
5959def cs : T [String ] = T .persistent {
6060
6161 val arch = sys.props.getOrElse(" os.arch" , " " ).toLowerCase(Locale .ROOT )
62+ println(s " arch: $arch" )
6263 val ext = if (Properties .isWin) " .exe" else " "
6364 val csVersion = if (arch == " aarch64" && Properties .isMac) buildCsM1Version else buildCsVersion
6465 val dest = T .dest / s " cs- $csVersion$ext"
@@ -79,6 +80,12 @@ def cs: T[String] = T.persistent {
7980 s " https://github.com/coursier/coursier/releases/download/v $csVersion/cs-x86_64-pc-linux.gz "
8081 )
8182 else None
83+ case " arm64" =>
84+ if (Properties .isLinux)
85+ Some (
86+ s " https://github.com/VirtusLab/coursier-m1/releases/download/v $csVersion/cs-aarch64-pc-linux.gz "
87+ )
88+ else None
8289 case " aarch64" =>
8390 if (Properties .isLinux)
8491 Some (
You can’t perform that action at this time.
0 commit comments