File tree 1 file changed +7
-0
lines changed
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 =
59
59
def cs : T [String ] = T .persistent {
60
60
61
61
val arch = sys.props.getOrElse(" os.arch" , " " ).toLowerCase(Locale .ROOT )
62
+ println(s " arch: $arch" )
62
63
val ext = if (Properties .isWin) " .exe" else " "
63
64
val csVersion = if (arch == " aarch64" && Properties .isMac) buildCsM1Version else buildCsVersion
64
65
val dest = T .dest / s " cs- $csVersion$ext"
@@ -79,6 +80,12 @@ def cs: T[String] = T.persistent {
79
80
s " https://github.com/coursier/coursier/releases/download/v $csVersion/cs-x86_64-pc-linux.gz "
80
81
)
81
82
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
82
89
case " aarch64" =>
83
90
if (Properties .isLinux)
84
91
Some (
You can’t perform that action at this time.
0 commit comments