diff options
| -rw-r--r-- | cmd/dist/VERSION | 2 | ||||
| -rw-r--r-- | cmd/dist/main.go | 12 | ||||
| -rw-r--r-- | internal/rosa/package/hakurei.az | 4 |
3 files changed, 10 insertions, 8 deletions
diff --git a/cmd/dist/VERSION b/cmd/dist/VERSION index 4ea4ea46..6017c3d3 100644 --- a/cmd/dist/VERSION +++ b/cmd/dist/VERSION @@ -1 +1 @@ -v0.4.9 +v0.4.10 diff --git a/cmd/dist/main.go b/cmd/dist/main.go index df586bbf..b147ade5 100644 --- a/cmd/dist/main.go +++ b/cmd/dist/main.go @@ -47,15 +47,17 @@ func mustRun(ctx context.Context, env []string, name string, arg ...string) { } } -// mustLinuxArch returns the architecture name used by linux corresponding to arch. -func mustLinuxArch(arch string) string { +// mustLLVMArch returns the LLVM target-triple-specific name corresponding to arch. +func mustLLVMArch(arch string) string { switch arch { case "amd64": return "x86_64" case "arm64": return "aarch64" + case "ppc64le": + return "powerpc64le" case "riscv64": - return "riscv64" + return arch default: log.Fatalf("unsupported target %s", arch) @@ -81,8 +83,8 @@ func main() { prefix := getenv("PREFIX", "/usr/local") destdir := getenv("DESTDIR", "dist") - linuxArch := mustLinuxArch(arch) - target := linuxArch + "-rosa-linux-musl" + llvmArch := mustLLVMArch(arch) + target := llvmArch + "-rosa-linux-musl" if verbose { log.Println() diff --git a/internal/rosa/package/hakurei.az b/internal/rosa/package/hakurei.az index 90fe016b..acb356f4 100644 --- a/internal/rosa/package/hakurei.az +++ b/internal/rosa/package/hakurei.az @@ -2,11 +2,11 @@ package hakurei-source { description = "hakurei source tree"; exclude = true; - version# = "0.4.9"; + version# = "0.4.10"; output = remoteGit { url = "https://src.rosa.moe/hakurei"; tag = "v"+version; - checksum = "t2npzwCAnjAGtRvJC7VGiLTVGAStT21xoqweaKtDgP0Ro0ZtS53G9TF4vGKC72y0"; + checksum = "SZdto_lQCgwebCqUHJREQcHwwO1pHn3euOwFvXYEri0G-46zUhx0hX4buFt2XvkS"; }; } |
