add ppc64le as a build target

This commit is contained in:
Matthew Hooker 2017-09-25 15:38:32 -07:00
parent 9173eeaa56
commit 339d768420
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1
2 changed files with 4 additions and 4 deletions

View File

@ -47,7 +47,7 @@ $GIT_COMMIT = $(git.exe rev-parse HEAD)
git.exe status --porcelain | Out-Null
if ($LastExitCode -eq 0) {
$GIT_DIRTY = "+CHANGES"
}
}
# If its dev mode, only build for ourself
if (Test-Path env:PACKER_DEV) {
@ -55,8 +55,8 @@ if (Test-Path env:PACKER_DEV) {
$XC_ARCH=$(go.exe env GOARCH)
}
elseif (-not (Test-Path env:XC_ARCH)) {
$XC_ARCH="386 amd64 arm"
$XC_OS="linux darwin windows freebsd openbsd"
$XC_ARCH="386 amd64 arm arm64 ppc64le"
$XC_OS="linux darwin windows freebsd openbsd solaris"
}
# Delete the old dir

View File

@ -12,7 +12,7 @@ DIR="$( cd -P "$( dirname "$SOURCE" )/.." && pwd )"
cd $DIR
# Determine the arch/os combos we're building for
XC_ARCH=${XC_ARCH:-"386 amd64 arm arm64"}
XC_ARCH=${XC_ARCH:-"386 amd64 arm arm64 ppc64le"}
XC_OS=${XC_OS:-linux darwin windows freebsd openbsd solaris}
# Delete the old dir