Merge pull request #2342 from rpsene/master

Add support for ppc64le
This commit is contained in:
Matt Holt 2019-12-16 11:50:52 -07:00 committed by GitHub
commit 1c3812a6f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,5 @@
Enhancement: Add support for ppc64le
Adds support for ppc64le, the processor architecture from IBM.
https://github.com/restic/restic/issues/2277

View file

@ -226,7 +226,7 @@ func buildTargets(sourceDir, outputDir string, targets map[string][]string) {
var defaultBuildTargets = map[string][]string{
"darwin": []string{"386", "amd64"},
"freebsd": []string{"386", "amd64", "arm"},
"linux": []string{"386", "amd64", "arm", "arm64"},
"linux": []string{"386", "amd64", "arm", "arm64", "ppc64le"},
"openbsd": []string{"386", "amd64"},
"windows": []string{"386", "amd64"},
}

View file

@ -230,6 +230,7 @@ func (env *TravisEnvironment) Prepare() error {
"openbsd/386", "openbsd/amd64",
"netbsd/386", "netbsd/amd64",
"linux/arm", "freebsd/arm",
"linux/ppc64le",
}
if os.Getenv("RESTIC_BUILD_SOLARIS") == "0" {