From 874ed52e3be164eccad088f536dcadbc5cec4d32 Mon Sep 17 00:00:00 2001 From: Andreas Wagner Date: Thu, 6 Oct 2022 17:41:01 +0300 Subject: [PATCH] add more architectures for linux build process (#243) * add more architectures for linux build process equivalent to https://github.com/restic/restic/blob/7d665fa1f4bc8714ffb11da9cf568b4861ab1478/helpers/build-release-binaries/main.go * add solaris and s390x Co-authored-by: Nicco --- build/build.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build/build.go b/build/build.go index 81eaecb..8bf4fd6 100644 --- a/build/build.go +++ b/build/build.go @@ -17,11 +17,14 @@ import ( var DIR, _ = filepath.Abs("./dist") var targets = map[string][]string{ + // "aix": {"ppc64"}, // Not supported by fsnotify "darwin": {"amd64", "arm64"}, "freebsd": {"386", "amd64", "arm"}, - "linux": {"386", "amd64", "arm", "arm64"}, + "linux": {"386", "amd64", "arm", "arm64", "ppc64le", "mips", "mipsle", "mips64", "mips64le", "s390x"}, "netbsd": {"386", "amd64"}, "openbsd": {"386", "amd64"}, + // "windows": {"386", "amd64"}, // Not supported by autorestic + "solaris": {"amd64"}, } type buildOptions struct {