Completed a ppc64le build for testing.

Ran into this missing target on ppc64le.  Consul had no issue.
This commit is contained in:
JohnnyB 2020-03-03 12:25:21 +00:00 committed by GitHub
parent 8eb62fccb8
commit 9a27fab8b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -123,6 +123,14 @@ pkg/windows_amd64/nomad: $(SOURCE_FILES) ## Build Nomad for windows/amd64
-tags "$(GO_TAGS)" \
-o "$@.exe"
pkg/linux_ppc64le/nomad: $(SOURCE_FILES) ## Build Nomad for linux/arm64
@echo "==> Building $@ with tags $(GO_TAGS)..."
@CGO_ENABLED=1 GOOS=linux \
go build \
-ldflags $(GO_LDFLAGS) \
-tags "$(GO_TAGS)" \
-o "$@"
# Define package targets for each of the build targets we actually have on this system
define makePackageTarget