diff --git a/internal/rosa/llvm.go b/internal/rosa/llvm.go index bfd75b2..e147572 100644 --- a/internal/rosa/llvm.go +++ b/internal/rosa/llvm.go @@ -208,6 +208,8 @@ func (t Toolchain) newLLVM() (musl, compilerRT, runtimes, clang pkg.Artifact) { switch runtime.GOARCH { case "386", "amd64": target = "X86" + case "arm64": + target = "AArch64" default: panic("unsupported target " + runtime.GOARCH) diff --git a/internal/rosa/rosa.go b/internal/rosa/rosa.go index 5c3b030..f90626a 100644 --- a/internal/rosa/rosa.go +++ b/internal/rosa/rosa.go @@ -49,6 +49,8 @@ func linuxArch() string { switch runtime.GOARCH { case "amd64": return "x86_64" + case "arm64": + return "aarch64" default: panic("unsupported target " + runtime.GOARCH)