add ppc64le as a build target
This commit is contained in:
parent
9173eeaa56
commit
339d768420
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue