From 339d768420e6b83dad34c8d4d8ee6c105c7491e0 Mon Sep 17 00:00:00 2001 From: Matthew Hooker Date: Mon, 25 Sep 2017 15:38:32 -0700 Subject: [PATCH] add ppc64le as a build target --- scripts/build.ps1 | 6 +++--- scripts/build.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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