Skip to content

Commit

Permalink
add more architectures for linux build process (cupcakearmy#243)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
whysthatso and cupcakearmy authored Oct 6, 2022
1 parent 4d9a2b8 commit 874ed52
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 874ed52

Please sign in to comment.