diff --git a/scripts/build.ps1 b/scripts/build.ps1 index 5287704aa..5603ea078 100644 --- a/scripts/build.ps1 +++ b/scripts/build.ps1 @@ -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 diff --git a/scripts/build.sh b/scripts/build.sh index 635fbca59..84bd7f67d 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -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