Add support for ppc64le

This commit adds support for cross-compiling Restic for ppc64le
as part of the release process.

Add a new file:   changelog/unreleased/issue-2277
Modifies:   helpers/build-release-binaries/main.go
Modifies:   run_integration_tests.go
This commit is contained in:
Rafael Peria de Sene 2019-07-16 15:37:38 -03:00 committed by Rafael Peria de Sene
parent 1e9eefa066
commit ec91b80f09
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

@ -251,7 +251,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

@ -218,6 +218,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" {