From 3d33c30540ee974fd1401bbd98937887a337ae9d Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Tue, 6 Oct 2015 15:31:24 +1100 Subject: [PATCH] container/intsets: build correctly on App Engine App Engine is amd64 but it doesn't support uploading assembly files. Use the explicit build tag so that it selects the generic implementation on App Engine. This is required to deploy golang.org. Change-Id: I7374c91961c53d59f6fdcc9ac98b8a9cec755b2c Reviewed-on: https://go-review.googlesource.com/15246 Reviewed-by: Andrew Gerrand --- container/intsets/popcnt_amd64.go | 2 +- container/intsets/popcnt_generic.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/container/intsets/popcnt_amd64.go b/container/intsets/popcnt_amd64.go index 858431cc..7297f310 100644 --- a/container/intsets/popcnt_amd64.go +++ b/container/intsets/popcnt_amd64.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build amd64 +// +build amd64,!appengine package intsets diff --git a/container/intsets/popcnt_generic.go b/container/intsets/popcnt_generic.go index 0dc1d719..cf1305cf 100644 --- a/container/intsets/popcnt_generic.go +++ b/container/intsets/popcnt_generic.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build !amd64 +// +build !amd64 appengine package intsets